[INFO] cloning repository https://github.com/Caballo-loko/LokoSwap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Caballo-loko/LokoSwap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaballo-loko%2FLokoSwap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaballo-loko%2FLokoSwap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdc14709bd133b96eea1dbb7187e7d448a7981b6 [INFO] testing Caballo-loko/LokoSwap against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaballo-loko%2FLokoSwap" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Caballo-loko/LokoSwap [INFO] finished tweaking git repo https://github.com/Caballo-loko/LokoSwap [INFO] tweaked toml for git repo https://github.com/Caballo-loko/LokoSwap written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Caballo-loko/LokoSwap on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Caballo-loko/LokoSwap 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/deanmlittle/constant-product-curve.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sha256-hasher v2.3.0 [INFO] [stderr] Downloaded spl-type-length-value v0.8.0 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.10.0 [INFO] [stderr] Downloaded spl-pod v0.5.1 [INFO] [stderr] Downloaded solana-hash v2.3.0 [INFO] [stderr] Downloaded solana-instruction v2.3.0 [INFO] [stderr] Downloaded solana-signer v2.2.1 [INFO] [stderr] Downloaded anchor-attribute-constant v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-error v0.31.1 [INFO] [stderr] Downloaded solana-pubkey v2.4.0 [INFO] [stderr] Downloaded anchor-attribute-account v0.31.1 [INFO] [stderr] Downloaded spl-discriminator-derive v0.2.0 [INFO] [stderr] Downloaded anchor-attribute-program v0.31.1 [INFO] [stderr] Downloaded anchor-derive-accounts v0.31.1 [INFO] [stderr] Downloaded zerocopy v0.8.26 [INFO] [stderr] Downloaded aes v0.8.4 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded spl-token-2022 v6.0.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.31.1 [INFO] [stderr] Downloaded spl-token-confidential-transfer-proof-extraction v0.2.1 [INFO] [stderr] Downloaded solana-sysvar v2.2.2 [INFO] [stderr] Downloaded mpl-token-metadata v5.1.0 [INFO] [stderr] Downloaded blake3 v1.8.2 [INFO] [stderr] Downloaded zerocopy-derive v0.8.26 [INFO] [stderr] Downloaded indexmap v2.10.0 [INFO] [stderr] Downloaded winnow v0.7.12 [INFO] [stderr] Downloaded borsh v1.5.7 [INFO] [stderr] Downloaded hashbrown v0.15.4 [INFO] [stderr] Downloaded toml_edit v0.22.27 [INFO] [stderr] Downloaded anchor-derive-serde v0.31.1 [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded anchor-lang v0.31.1 [INFO] [stderr] Downloaded num_enum v0.7.4 [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-vote-interface v2.2.6 [INFO] [stderr] Downloaded solana-program-memory v2.3.1 [INFO] [stderr] Downloaded aes-gcm-siv v0.11.1 [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded anchor-syn v0.31.1 [INFO] [stderr] Downloaded anchor-derive-space v0.31.1 [INFO] [stderr] Downloaded spl-associated-token-account-client v2.0.0 [INFO] [stderr] Downloaded spl-associated-token-account v6.0.0 [INFO] [stderr] Downloaded spl-elgamal-registry v0.1.1 [INFO] [stderr] Downloaded spl-memo v6.0.0 [INFO] [stderr] Downloaded num_enum_derive v0.7.4 [INFO] [stderr] Downloaded spl-token v7.0.0 [INFO] [stderr] Downloaded spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1 [INFO] [stderr] Downloaded solana-curve25519 v2.3.6 [INFO] [stderr] Downloaded spl-program-error-derive v0.4.1 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.9.0 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.9.0 [INFO] [stderr] Downloaded spl-token-group-interface v0.5.0 [INFO] [stderr] Downloaded spl-type-length-value v0.7.0 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.6.0 [INFO] [stderr] Downloaded anchor-spl v0.31.1 [INFO] [stderr] Downloaded solana-feature-gate-interface v2.2.2 [INFO] [stderr] Downloaded solana-loader-v3-interface v5.0.0 [INFO] [stderr] Downloaded solana-message v2.4.0 [INFO] [stderr] Downloaded solana-native-token v2.3.0 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded solana-instructions-sysvar v2.2.2 [INFO] [stderr] Downloaded solana-program-entrypoint v2.3.0 [INFO] [stderr] Downloaded solana-clock v2.2.2 [INFO] [stderr] Downloaded solana-serde-varint v2.2.2 [INFO] [stderr] Downloaded solana-program v2.3.0 [INFO] [stderr] Downloaded spl-program-error-derive v0.5.0 [INFO] [stderr] Downloaded spl-program-error v0.7.0 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.10.0 [INFO] [stderr] Downloaded solana-account-info v2.3.0 [INFO] [stderr] Downloaded spl-discriminator-syn v0.2.0 [INFO] [stderr] Downloaded spl-discriminator v0.4.1 [INFO] [stderr] Downloaded solana-program-error v2.2.2 [INFO] [stderr] Downloaded aead v0.5.2 [INFO] [stderr] Downloaded inout v0.1.4 [INFO] [stderr] Downloaded cipher v0.4.4 [INFO] [stderr] Downloaded ctr v0.9.2 [INFO] [stderr] Downloaded universal-hash v0.5.1 [INFO] [stderr] Downloaded solana-derivation-path v2.2.1 [INFO] [stderr] Downloaded solana-seed-derivable v2.2.1 [INFO] [stderr] Downloaded solana-seed-phrase v2.2.1 [INFO] [stderr] Downloaded solana-signature v2.3.0 [INFO] [stderr] Downloaded ahash v0.8.12 [INFO] [stderr] Downloaded wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded sha2 v0.10.9 [INFO] [stderr] Downloaded solana-define-syscall v2.3.0 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [INFO] [stderr] Downloaded toml_write v0.1.2 [INFO] [stderr] Downloaded borsh-derive v1.5.7 [INFO] [stderr] Downloaded bytemuck v1.23.1 [INFO] [stderr] Downloaded bytemuck_derive v1.10.0 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded lock_api v0.4.13 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded parking_lot_core v0.9.11 [INFO] [stderr] Downloaded parking_lot v0.12.4 [INFO] [stderr] Downloaded solana-zk-sdk v2.3.6 [INFO] [stderr] Downloaded polyval v0.6.2 [INFO] [stderr] Downloaded solana-decode-error v2.3.0 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] [stderr] Downloaded five8 v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44509bf1792ba9b3f2c399b2d92e6e60b08766ddb84b0cce203a399861178ec7 [INFO] running `Command { std: "docker" "start" "-a" "44509bf1792ba9b3f2c399b2d92e6e60b08766ddb84b0cce203a399861178ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44509bf1792ba9b3f2c399b2d92e6e60b08766ddb84b0cce203a399861178ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44509bf1792ba9b3f2c399b2d92e6e60b08766ddb84b0cce203a399861178ec7", kill_on_drop: false }` [INFO] [stdout] 44509bf1792ba9b3f2c399b2d92e6e60b08766ddb84b0cce203a399861178ec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 830ae80bab8c77bccefdb9cda70c9814d09975c8f3dd198aa4aedea2e4ee6eff [INFO] running `Command { std: "docker" "start" "-a" "830ae80bab8c77bccefdb9cda70c9814d09975c8f3dd198aa4aedea2e4ee6eff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling solana-signature v2.3.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling solana-derivation-path v2.2.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling solana-seed-derivable v2.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling constant-product-curve v0.1.0 (https://github.com/deanmlittle/constant-product-curve.git#2a723a0f) [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [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 anchor-derive-space v0.31.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.10.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling spl-program-error-derive v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling solana-sha256-hasher v2.3.0 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling solana-curve25519 v2.3.6 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-program-error v2.2.2 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling solana-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling solana-signer v2.2.1 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling spl-associated-token-account-client v2.0.0 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling spl-discriminator v0.4.1 [INFO] [stderr] Compiling spl-program-error v0.7.0 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling solana-vote-interface v2.2.6 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-zk-sdk v2.3.6 [INFO] [stderr] Compiling spl-memo v6.0.0 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling solana-sysvar v2.2.2 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling anchor-attribute-error 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-event v0.31.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-derive-serde 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 solana-program v2.3.0 [INFO] [stderr] Compiling spl-program-error v0.6.0 [INFO] [stderr] Compiling spl-token v7.0.0 [INFO] [stderr] Compiling mpl-token-metadata v5.1.0 [INFO] [stderr] Compiling anchor-lang v0.31.1 [INFO] [stderr] Compiling spl-pod v0.5.1 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-generation v0.2.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1 [INFO] [stderr] Compiling spl-type-length-value v0.7.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-extraction v0.2.1 [INFO] [stderr] Compiling spl-token-group-interface v0.5.0 [INFO] [stderr] Compiling spl-type-length-value v0.8.0 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.10.0 [INFO] [stderr] Compiling spl-elgamal-registry v0.1.1 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.9.0 [INFO] [stderr] Compiling spl-token-metadata-interface v0.6.0 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.9.0 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.10.0 [INFO] [stderr] Compiling spl-token-2022 v6.0.0 [INFO] [stderr] Compiling spl-associated-token-account v6.0.0 [INFO] [stderr] Compiling anchor-spl v0.31.1 [INFO] [stderr] Compiling loko_swap v0.1.0 (/opt/rustwide/workdir/programs/loko_swap) [INFO] [stderr] Compiling dynamic_fee_hook v0.1.0 (/opt/rustwide/workdir/programs/dynamic_fee_hook) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stdout] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[interface(spl_transfer_hook_interface::execute)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stdout] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[interface(spl_transfer_hook_interface::initialize_extra_account_meta_list)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | #[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/dynamic_fee_hook/src/lib.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | #[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: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/loko_swap/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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: fields `base_fee_basis_points` and `recent_transfers` are never read [INFO] [stdout] --> programs/loko_swap/src/instructions/swap.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 418 | struct DynamicFeeStatsView { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 419 | pub current_fee_basis_points: u16, [INFO] [stdout] 420 | pub base_fee_basis_points: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 421 | pub recent_transfers: [u64; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DynamicFeeStatsView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "830ae80bab8c77bccefdb9cda70c9814d09975c8f3dd198aa4aedea2e4ee6eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830ae80bab8c77bccefdb9cda70c9814d09975c8f3dd198aa4aedea2e4ee6eff", kill_on_drop: false }` [INFO] [stdout] 830ae80bab8c77bccefdb9cda70c9814d09975c8f3dd198aa4aedea2e4ee6eff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aff182aaddc427d30639d87ec2c564cf6c6dac1963753df3658a5e11c8e8df7 [INFO] running `Command { std: "docker" "start" "-a" "8aff182aaddc427d30639d87ec2c564cf6c6dac1963753df3658a5e11c8e8df7", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/loko_swap/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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: fields `base_fee_basis_points` and `recent_transfers` are never read [INFO] [stdout] --> programs/loko_swap/src/instructions/swap.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 418 | struct DynamicFeeStatsView { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 419 | pub current_fee_basis_points: u16, [INFO] [stdout] 420 | pub base_fee_basis_points: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 421 | pub recent_transfers: [u64; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DynamicFeeStatsView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stdout] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[interface(spl_transfer_hook_interface::execute)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dynamic_fee_hook v0.1.0 (/opt/rustwide/workdir/programs/dynamic_fee_hook) [INFO] [stdout] warning: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stdout] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[interface(spl_transfer_hook_interface::initialize_extra_account_meta_list)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | #[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/dynamic_fee_hook/src/lib.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | #[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] [stderr] Compiling loko_swap v0.1.0 (/opt/rustwide/workdir/programs/loko_swap) [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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: `custom-heap` [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stdout] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[interface(spl_transfer_hook_interface::execute)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stdout] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[interface(spl_transfer_hook_interface::initialize_extra_account_meta_list)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | #[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/dynamic_fee_hook/src/lib.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | #[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: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/loko_swap/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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: fields `base_fee_basis_points` and `recent_transfers` are never read [INFO] [stdout] --> programs/loko_swap/src/instructions/swap.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 418 | struct DynamicFeeStatsView { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 419 | pub current_fee_basis_points: u16, [INFO] [stdout] 420 | pub base_fee_basis_points: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 421 | pub recent_transfers: [u64; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DynamicFeeStatsView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "8aff182aaddc427d30639d87ec2c564cf6c6dac1963753df3658a5e11c8e8df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aff182aaddc427d30639d87ec2c564cf6c6dac1963753df3658a5e11c8e8df7", kill_on_drop: false }` [INFO] [stdout] 8aff182aaddc427d30639d87ec2c564cf6c6dac1963753df3658a5e11c8e8df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef6522608b18459e6c91c9aff48eed45b2d22d9f94594e42475ed780e3c02a1d [INFO] running `Command { std: "docker" "start" "-a" "ef6522608b18459e6c91c9aff48eed45b2d22d9f94594e42475ed780e3c02a1d", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = 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] [stderr] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = 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] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stderr] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:62:7 [INFO] [stderr] | [INFO] [stderr] 62 | #[interface(spl_transfer_hook_interface::execute)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `interface`: Use `#[instruction(discriminator = )]` instead. [INFO] [stderr] See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:46:7 [INFO] [stderr] | [INFO] [stderr] 46 | #[interface(spl_transfer_hook_interface::initialize_extra_account_meta_list)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:204:10 [INFO] [stderr] | [INFO] [stderr] 204 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = 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] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:263:10 [INFO] [stderr] | [INFO] [stderr] 263 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = 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] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stderr] --> programs/dynamic_fee_hook/src/lib.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stderr] --> programs/loko_swap/src/lib.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `base_fee_basis_points` and `recent_transfers` are never read [INFO] [stderr] --> programs/loko_swap/src/instructions/swap.rs:420:9 [INFO] [stderr] | [INFO] [stderr] 418 | struct DynamicFeeStatsView { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 419 | pub current_fee_basis_points: u16, [INFO] [stderr] 420 | pub base_fee_basis_points: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 421 | pub recent_transfers: [u64; 6], [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DynamicFeeStatsView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `dynamic_fee_hook` (lib) generated 16 warnings (5 duplicates) [INFO] [stderr] warning: `loko_swap` (lib) generated 2 warnings [INFO] [stderr] warning: `loko_swap` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `dynamic_fee_hook` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dynamic_fee_hook-ee89c16e058846c6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loko_swap-545af6efd40bc067) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_id ... ok [INFO] [stdout] test utils::token_utils::tests::test_calculate_gross_amount ... ok [INFO] [stdout] test utils::token_utils::tests::test_calculate_transfer_fee ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::token_utils::tests::test_calculate_transfer_fee stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::token_utils::tests::test_calculate_transfer_fee' (29) panicked at programs/loko_swap/src/utils/token_utils.rs:300:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 50 [INFO] [stdout] right: 5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56dab0abff92 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56dab0abff92 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56dab0abff92 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56dab0abff92 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56dab0ad018f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56dab0ad018f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56dab0a8d571 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56dab0a8d571 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56dab0a994d2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56dab0a9e01f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56dab0a9deb1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56dab0a5ccae - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56dab0a5ccae - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56dab0a9e6df - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56dab0a9e6df - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56dab0a9e53a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x56dab0a99609 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56dab0a8181d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x56dab0ad7990 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56dab0ad7833 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x56dab0ad7677 - core::panicking::assert_failed::h8d9f9301d85aa17a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x56dab0a3bca2 - loko_swap::utils::token_utils::tests::test_calculate_transfer_fee::h458ae783ca777db1 [INFO] [stdout] at /opt/rustwide/workdir/programs/loko_swap/src/utils/token_utils.rs:300:9 [INFO] [stdout] 22: 0x56dab0a3bd47 - loko_swap::utils::token_utils::tests::test_calculate_transfer_fee::{{closure}}::h5934584c18a64694 [INFO] [stdout] at /opt/rustwide/workdir/programs/loko_swap/src/utils/token_utils.rs:286:37 [INFO] [stdout] 23: 0x56dab0a3b4b6 - core::ops::function::FnOnce::call_once::he963e5e1afd05f0e [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x56dab0a5ca6b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x56dab0a5ca6b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x56dab0a72555 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x56dab0a72555 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x56dab0a72555 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x56dab0a72555 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x56dab0a72555 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x56dab0a72555 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x56dab0a72555 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x56dab0a48ec4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x56dab0a48ec4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x56dab0a4c86a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x56dab0a4c86a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x56dab0a4c86a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x56dab0a4c86a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x56dab0a4c86a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x56dab0a4c86a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x56dab0a4c86a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x56dab0a9373f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x56dab0a9373f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x70ff00211aa4 - [INFO] [stdout] 45: 0x70ff0029ea34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::token_utils::tests::test_calculate_transfer_fee [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p loko_swap --lib` [INFO] running `Command { std: "docker" "inspect" "ef6522608b18459e6c91c9aff48eed45b2d22d9f94594e42475ed780e3c02a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef6522608b18459e6c91c9aff48eed45b2d22d9f94594e42475ed780e3c02a1d", kill_on_drop: false }` [INFO] [stdout] ef6522608b18459e6c91c9aff48eed45b2d22d9f94594e42475ed780e3c02a1d