[INFO] cloning repository https://github.com/timefliez1210/amm-solana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timefliez1210/amm-solana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimefliez1210%2Famm-solana", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimefliez1210%2Famm-solana'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ae5702277d1baae72921d43eb7c3e5a7f8931f0 [INFO] checking timefliez1210/amm-solana against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimefliez1210%2Famm-solana" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timefliez1210/amm-solana [INFO] finished tweaking git repo https://github.com/timefliez1210/amm-solana [INFO] tweaked toml for git repo https://github.com/timefliez1210/amm-solana written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timefliez1210/amm-solana on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timefliez1210/amm-solana 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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-program-memory v2.2.1 [INFO] [stderr] Downloaded solana-define-syscall v2.2.1 [INFO] [stderr] Downloaded solana-decode-error v2.2.1 [INFO] [stderr] Downloaded solana-program-error v2.2.1 [INFO] [stderr] Downloaded solana-account-info v2.2.1 [INFO] [stderr] Downloaded toml_write v0.1.0 [INFO] [stderr] Downloaded solana-sdk v2.2.1 [INFO] [stderr] Downloaded spl-program-error-derive v0.4.1 [INFO] [stderr] Downloaded solana-sysvar v2.2.1 [INFO] [stderr] Downloaded solana-program-runtime v2.2.4 [INFO] [stderr] Downloaded solana-loader-v4-program v2.2.4 [INFO] [stderr] Downloaded solana-compute-budget-instruction v2.2.4 [INFO] [stderr] Downloaded anchor-attribute-account v0.31.1 [INFO] [stderr] Downloaded solana-poseidon v2.2.4 [INFO] [stderr] Downloaded solana-bn254 v2.2.1 [INFO] [stderr] Downloaded solana-zk-token-proof-program v2.2.4 [INFO] [stderr] Downloaded solana-curve25519 v2.2.4 [INFO] [stderr] Downloaded anchor-attribute-error v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-event v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-program v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-constant v0.31.1 [INFO] [stderr] Downloaded anchor-derive-serde v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.31.1 [INFO] [stderr] Downloaded mpl-token-metadata v5.1.0 [INFO] [stderr] Downloaded anchor-lang v0.31.1 [INFO] [stderr] Downloaded spl-token v7.0.0 [INFO] [stderr] Downloaded spl-token-2022 v6.0.0 [INFO] [stderr] Downloaded spl-token-group-interface v0.5.0 [INFO] [stderr] Downloaded solana-stake-program v2.2.4 [INFO] [stderr] Downloaded anchor-syn v0.31.1 [INFO] [stderr] Downloaded anchor-derive-space v0.31.1 [INFO] [stderr] Downloaded anchor-lang-idl v0.1.2 [INFO] [stderr] Downloaded toml v0.8.21 [INFO] [stderr] Downloaded async-compression v0.4.23 [INFO] [stderr] Downloaded solana-bpf-loader-program v2.2.4 [INFO] [stderr] Downloaded spl-elgamal-registry v0.1.1 [INFO] [stderr] Downloaded spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1 [INFO] [stderr] Downloaded spl-token-confidential-transfer-proof-extraction v0.2.1 [INFO] [stderr] Downloaded spl-type-length-value v0.7.0 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.6.0 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.9.0 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.9.0 [INFO] [stderr] Downloaded anchor-derive-accounts v0.31.1 [INFO] [stderr] Downloaded spl-associated-token-account v6.0.0 [INFO] [stderr] Downloaded spl-token-confidential-transfer-proof-generation v0.2.0 [INFO] [stderr] Downloaded spl-program-error v0.6.0 [INFO] [stderr] Downloaded solana-builtins v2.2.4 [INFO] [stderr] Downloaded solana-compute-budget v2.2.4 [INFO] [stderr] Downloaded solana-metrics v2.2.4 [INFO] [stderr] Downloaded litesvm v0.6.1 [INFO] [stderr] Downloaded solana-compute-budget-interface v2.2.1 [INFO] [stderr] Downloaded solana-instructions-sysvar v2.2.1 [INFO] [stderr] Downloaded anchor-spl v0.31.1 [INFO] [stderr] Downloaded solana-zk-elgamal-proof-program v2.2.4 [INFO] [stderr] Downloaded solana-compute-budget-program v2.2.4 [INFO] [stderr] Downloaded solana-system-program v2.2.4 [INFO] [stderr] Downloaded solana-timings v2.2.4 [INFO] [stderr] Downloaded solana-precompiles v2.2.1 [INFO] [stderr] Downloaded solana-program-entrypoint v2.2.1 [INFO] [stderr] Downloaded solana-address-lookup-table-program v2.2.4 [INFO] [stderr] Downloaded solana-builtins-default-costs v2.2.4 [INFO] [stderr] Downloaded solana-config-program v2.2.4 [INFO] [stderr] Downloaded solana-svm-transaction v2.2.4 [INFO] [stderr] Downloaded solana-measure v2.2.4 [INFO] [stderr] Downloaded solana-type-overrides v2.2.4 [INFO] [stderr] Downloaded solana-feature-set v2.2.1 [INFO] [stderr] Downloaded solana-reserved-account-keys v2.2.1 [INFO] [stderr] Downloaded solana-ed25519-program v2.2.1 [INFO] [stderr] Downloaded solana-genesis-config v2.2.1 [INFO] [stderr] Downloaded solana-log-collector v2.2.4 [INFO] [stderr] Downloaded solana-vote-program v2.2.4 [INFO] [stderr] Downloaded solana-vote-interface v2.2.1 [INFO] [stderr] Downloaded solana-native-token v2.2.1 [INFO] [stderr] Downloaded solana-precompile-error v2.2.1 [INFO] [stderr] Downloaded solana-fee v2.2.4 [INFO] [stderr] Downloaded solana-fee-structure v2.2.1 [INFO] [stderr] Downloaded solana-transaction v2.2.1 [INFO] [stderr] Downloaded solana-sbpf v0.10.0 [INFO] [stderr] Downloaded solana-secp256r1-program v2.2.1 [INFO] [stderr] Downloaded toml_edit v0.22.25 [INFO] [stderr] Downloaded solana-zk-sdk v2.2.4 [INFO] [stderr] Downloaded solana-zk-token-sdk v2.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cab9df27defcb5891a34fb0f919c70363051b82f53f6838dfd2579cb4c52f01b [INFO] running `Command { std: "docker" "start" "-a" "cab9df27defcb5891a34fb0f919c70363051b82f53f6838dfd2579cb4c52f01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cab9df27defcb5891a34fb0f919c70363051b82f53f6838dfd2579cb4c52f01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab9df27defcb5891a34fb0f919c70363051b82f53f6838dfd2579cb4c52f01b", kill_on_drop: false }` [INFO] [stdout] cab9df27defcb5891a34fb0f919c70363051b82f53f6838dfd2579cb4c52f01b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ee703126803c77785fbd0ecce0cf9b932a184eb734cde8e9af509bb3cda4e73 [INFO] running `Command { std: "docker" "start" "-a" "1ee703126803c77785fbd0ecce0cf9b932a184eb734cde8e9af509bb3cda4e73", kill_on_drop: false }` [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking solana-sanitize v2.2.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking solana-atomic-u64 v2.2.1 [INFO] [stderr] Checking five8_core v0.1.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking solana-decode-error v2.2.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking five8_const v0.1.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking solana-msg v2.2.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking solana-program-memory v2.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking solana-native-token v2.2.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking solana-seed-phrase v2.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking solana-precompile-error v2.2.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking solana-derivation-path v2.2.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking solana-seed-derivable v2.2.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking solana-time-utils v2.2.1 [INFO] [stderr] Checking solana-program-option v2.2.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking eager v0.1.0 [INFO] [stderr] Checking solana-type-overrides v2.2.4 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking solana-log-collector v2.2.4 [INFO] [stderr] Checking solana-measure v2.2.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking solana-define-syscall v2.2.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking solana-validator-exit v2.2.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking percentage v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking async-compression v0.4.23 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling cfg_eval v0.1.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking solana-logger v2.3.1 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking solana-sbpf v0.10.0 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking solana-hash v2.2.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking solana-short-vec v2.2.1 [INFO] [stderr] Checking solana-fee-calculator v2.2.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking solana-serde-varint v2.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking solana-sha256-hasher v2.2.1 [INFO] [stderr] Checking solana-keccak-hasher v2.2.1 [INFO] [stderr] Checking solana-blake3-hasher v2.2.1 [INFO] [stderr] Checking solana-cluster-type v2.2.1 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking solana-signature v2.2.1 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking solana-hard-forks v2.2.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking solana-inflation v2.2.1 [INFO] [stderr] Checking solana-poh-config v2.2.1 [INFO] [stderr] Checking solana-epoch-info v2.2.1 [INFO] [stderr] Checking solana-reward-info v2.2.1 [INFO] [stderr] Checking solana-shred-version v2.2.1 [INFO] [stderr] Checking solana-commitment-config v2.2.1 [INFO] [stderr] Checking solana-serde v2.2.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking solana-packet v2.2.1 [INFO] [stderr] Checking solana-curve25519 v2.2.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking solana-pubkey v2.2.1 [INFO] [stderr] Checking solana-borsh v2.2.1 [INFO] [stderr] Checking solana-instruction v2.2.1 [INFO] [stderr] Checking solana-sdk-ids v2.2.1 [INFO] [stderr] Checking solana-nonce v2.2.1 [INFO] [stderr] Checking solana-timings v2.2.4 [INFO] [stderr] Checking solana-epoch-rewards-hasher v2.2.1 [INFO] [stderr] Checking solana-rent-debits v2.2.1 [INFO] [stderr] Checking solana-sysvar-id v2.2.1 [INFO] [stderr] Checking solana-transaction-error v2.2.1 [INFO] [stderr] Checking solana-program-error v2.2.1 [INFO] [stderr] Checking solana-system-interface v1.0.0 [INFO] [stderr] Checking solana-epoch-schedule v2.2.1 [INFO] [stderr] Checking solana-clock v2.2.1 [INFO] [stderr] Checking solana-slot-hashes v2.2.1 [INFO] [stderr] Checking solana-bincode v2.2.1 [INFO] [stderr] Checking solana-serialize-utils v2.2.1 [INFO] [stderr] Checking solana-rent v2.2.1 [INFO] [stderr] Checking solana-epoch-rewards v2.2.1 [INFO] [stderr] Checking solana-last-restart-slot v2.2.1 [INFO] [stderr] Checking solana-slot-history v2.2.1 [INFO] [stderr] Checking solana-stable-layout v2.2.1 [INFO] [stderr] Checking solana-feature-set v2.2.1 [INFO] [stderr] Checking solana-account-info v2.2.1 [INFO] [stderr] Checking solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Checking solana-signer v2.2.1 [INFO] [stderr] Checking solana-metrics v2.2.4 [INFO] [stderr] Checking solana-program-pack v2.2.1 [INFO] [stderr] Checking solana-loader-v2-interface v2.2.1 [INFO] [stderr] Checking spl-discriminator v0.4.1 [INFO] [stderr] Checking solana-compute-budget-interface v2.2.1 [INFO] [stderr] Checking solana-message v2.2.1 [INFO] [stderr] Checking solana-program-entrypoint v2.2.1 [INFO] [stderr] Checking solana-cpi v2.2.1 [INFO] [stderr] Checking solana-instructions-sysvar v2.2.1 [INFO] [stderr] Checking solana-loader-v3-interface v3.0.0 [INFO] [stderr] Checking solana-loader-v4-interface v2.2.1 [INFO] [stderr] Checking solana-vote-interface v2.2.1 [INFO] [stderr] Checking solana-zk-sdk v2.2.4 [INFO] [stderr] Checking solana-keypair v2.2.1 [INFO] [stderr] Checking solana-stake-interface v1.2.1 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking spl-memo v6.0.0 [INFO] [stderr] Checking solana-zk-token-sdk v2.2.4 [INFO] [stderr] Checking spl-associated-token-account-client v2.0.0 [INFO] [stderr] Checking solana-offchain-message v2.2.1 [INFO] [stderr] Checking solana-presigner v2.2.1 [INFO] [stderr] Checking solana-quic-definitions v2.2.1 [INFO] [stderr] Checking solana-secp256k1-recover v2.2.1 [INFO] [stderr] Checking solana-ed25519-program v2.2.1 [INFO] [stderr] Checking solana-secp256r1-program v2.2.1 [INFO] [stderr] Checking solana-secp256k1-program v2.2.1 [INFO] [stderr] Checking solana-reserved-account-keys v2.2.1 [INFO] [stderr] Checking solana-fee-structure v2.2.1 [INFO] [stderr] Checking solana-example-mocks v2.2.1 [INFO] [stderr] Checking solana-precompiles v2.2.1 [INFO] [stderr] Checking solana-compute-budget v2.2.4 [INFO] [stderr] Checking solana-sysvar v2.2.1 [INFO] [stderr] Checking solana-transaction v2.2.1 [INFO] [stderr] Checking solana-account v2.2.1 [INFO] [stderr] Checking solana-svm-transaction v2.2.4 [INFO] [stderr] Checking solana-system-transaction v2.2.1 [INFO] [stderr] Checking solana-transaction-context v2.2.1 [INFO] [stderr] Checking solana-feature-gate-interface v2.2.1 [INFO] [stderr] Checking solana-genesis-config v2.2.1 [INFO] [stderr] Checking solana-nonce-account v2.2.1 [INFO] [stderr] Checking solana-client-traits v2.2.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling anchor-attribute-event v0.31.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.31.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.31.1 [INFO] [stderr] Compiling anchor-derive-serde v0.31.1 [INFO] [stderr] Checking spl-pod v0.5.1 [INFO] [stderr] Checking solana-program v2.2.1 [INFO] [stderr] Checking spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1 [INFO] [stderr] Checking spl-token-confidential-transfer-proof-generation v0.2.0 [INFO] [stderr] Checking solana-rent-collector v2.2.1 [INFO] [stderr] Checking solana-program-runtime v2.2.4 [INFO] [stderr] Checking solana-fee v2.2.4 [INFO] [stderr] Checking spl-program-error v0.6.0 [INFO] [stderr] Checking spl-type-length-value v0.7.0 [INFO] [stderr] Checking spl-token-confidential-transfer-proof-extraction v0.2.1 [INFO] [stderr] Checking spl-token-group-interface v0.5.0 [INFO] [stderr] Checking spl-token v7.0.0 [INFO] [stderr] Checking mpl-token-metadata v5.1.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.9.0 [INFO] [stderr] Checking spl-token-metadata-interface v0.6.0 [INFO] [stderr] Checking spl-elgamal-registry v0.1.1 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking solana-config-program v2.2.4 [INFO] [stderr] Checking solana-address-lookup-table-program v2.2.4 [INFO] [stderr] Checking solana-system-program v2.2.4 [INFO] [stderr] Checking solana-compute-budget-program v2.2.4 [INFO] [stderr] Checking solana-vote-program v2.2.4 [INFO] [stderr] Checking solana-zk-token-proof-program v2.2.4 [INFO] [stderr] Checking solana-zk-elgamal-proof-program v2.2.4 [INFO] [stderr] Checking spl-transfer-hook-interface v0.9.0 [INFO] [stderr] Checking anchor-lang v0.31.1 [INFO] [stderr] Checking spl-token-2022 v6.0.0 [INFO] [stderr] Checking solana-stake-program v2.2.4 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking solana-bn254 v2.2.1 [INFO] [stderr] Checking solana-sdk v2.2.1 [INFO] [stderr] Checking solana-poseidon v2.2.4 [INFO] [stderr] Checking solana-bpf-loader-program v2.2.4 [INFO] [stderr] Checking spl-associated-token-account v6.0.0 [INFO] [stderr] Checking solana-loader-v4-program v2.2.4 [INFO] [stderr] Checking anchor-spl v0.31.1 [INFO] [stderr] Checking solana-builtins-default-costs v2.2.4 [INFO] [stderr] Checking solana-builtins v2.2.4 [INFO] [stderr] Checking solana-compute-budget-instruction v2.2.4 [INFO] [stderr] Checking litesvm v0.6.1 [INFO] [stderr] Checking amm v0.1.0 (/opt/rustwide/workdir/programs/amm) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [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: `solana` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [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: `solana` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [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/amm/src/instructions/liquidity_operations.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/instructions/liquidity_operations.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/instructions/swap_operations.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `provide_liquidity` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `provide_liquidity` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `remove_liquidity` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `remove_liquidity` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `swap_exact_in` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `swap_exact_in` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `swap_exact_out` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `swap_exact_out` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | let mut amount_out: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | let lp_fees = (amount_out as u128 * 3).div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | let mut amount_out: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | let lp_fees = (amount_out as u128 * 3).div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | let amount_in_no_fee: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:214:47 [INFO] [stdout] | [INFO] [stdout] 214 | let lp_fees: u64 = fee_numerator_u128.div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:267:47 [INFO] [stdout] | [INFO] [stdout] 267 | let amount_in_no_fee: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:272:47 [INFO] [stdout] | [INFO] [stdout] 272 | let lp_fees: u64 = fee_numerator_u128.div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [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: `solana` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [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: `solana` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::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_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [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/amm/src/instructions/liquidity_operations.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/instructions/liquidity_operations.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/instructions/swap_operations.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `provide_liquidity` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `provide_liquidity` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `remove_liquidity` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `remove_liquidity` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `swap_exact_in` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `swap_exact_in` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/amm/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `swap_exact_out` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ---------- but the name `swap_exact_out` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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/amm/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | let mut amount_out: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | let lp_fees = (amount_out as u128 * 3).div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | let mut amount_out: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | let lp_fees = (amount_out as u128 * 3).div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | let amount_in_no_fee: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:214:47 [INFO] [stdout] | [INFO] [stdout] 214 | let lp_fees: u64 = fee_numerator_u128.div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:267:47 [INFO] [stdout] | [INFO] [stdout] 267 | let amount_in_no_fee: u64 = numerator.div_floor(&denominator) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> programs/amm/src/instructions/swap_operations.rs:272:47 [INFO] [stdout] | [INFO] [stdout] 272 | let lp_fees: u64 = fee_numerator_u128.div_floor(&1000) as u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `num_integer::Integer::div_floor(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(int_roundings)]` to the crate attributes to enable `core::num::::div_floor` [INFO] [stdout] --> programs/amm/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(int_roundings)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `program_pack::Pack`, `rent::Rent`, and `transaction::Transaction` [INFO] [stdout] --> programs/amm/tests/test_liquididty_pool.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | program_pack::Pack, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | rent::Rent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | transaction::Transaction, [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 variable: `token_a_mint` [INFO] [stdout] --> programs/amm/tests/test_liquididty_pool.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let token_a_mint = token_a_kp.pubkey(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_a_mint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_b_mint` [INFO] [stdout] --> programs/amm/tests/test_liquididty_pool.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let token_b_mint = token_b_kp.pubkey(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_mint` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.52s [INFO] running `Command { std: "docker" "inspect" "1ee703126803c77785fbd0ecce0cf9b932a184eb734cde8e9af509bb3cda4e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee703126803c77785fbd0ecce0cf9b932a184eb734cde8e9af509bb3cda4e73", kill_on_drop: false }` [INFO] [stdout] 1ee703126803c77785fbd0ecce0cf9b932a184eb734cde8e9af509bb3cda4e73