[INFO] cloning repository https://github.com/sol-farm/whirlpool-fork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sol-farm/whirlpool-fork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsol-farm%2Fwhirlpool-fork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsol-farm%2Fwhirlpool-fork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d60ee29beb994ed5758b7332b80620d186600c7c [INFO] testing sol-farm/whirlpool-fork against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsol-farm%2Fwhirlpool-fork" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sol-farm/whirlpool-fork on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sol-farm/whirlpool-fork [INFO] finished tweaking git repo https://github.com/sol-farm/whirlpool-fork [INFO] tweaked toml for git repo https://github.com/sol-farm/whirlpool-fork written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sol-farm/whirlpool-fork 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sdk-macro v1.14.29 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.14.29 [INFO] [stderr] Downloaded solana-program v1.14.29 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.26.0 [INFO] [stderr] Downloaded anchor-lang v0.26.0 [INFO] [stderr] Downloaded anchor-spl v0.26.0 [INFO] [stderr] Downloaded mpl-token-vault v0.1.0 [INFO] [stderr] Downloaded shank_macro_impl v0.0.5 [INFO] [stderr] Downloaded mpl-token-metadata v1.3.4 [INFO] [stderr] Downloaded solana-frozen-abi v1.14.29 [INFO] [stderr] Downloaded anyhow v1.0.61 [INFO] [stderr] Downloaded anchor-attribute-account v0.26.0 [INFO] [stderr] Downloaded anchor-attribute-constant v0.26.0 [INFO] [stderr] Downloaded anchor-attribute-error v0.26.0 [INFO] [stderr] Downloaded anchor-syn v0.26.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.26.0 [INFO] [stderr] Downloaded anchor-attribute-interface v0.26.0 [INFO] [stderr] Downloaded solana-logger v1.14.29 [INFO] [stderr] Downloaded solana-sdk v1.14.29 [INFO] [stderr] Downloaded anchor-attribute-program v0.26.0 [INFO] [stderr] Downloaded anchor-attribute-state v0.26.0 [INFO] [stderr] Downloaded anchor-derive-accounts v0.26.0 [INFO] [stderr] Downloaded shank_macro v0.0.5 [INFO] [stderr] Downloaded shank v0.0.5 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.14.29 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0598939a9f3285b5cd7c523a75ea9735d1eaae9453528b4a582a82be9dcbdc2 [INFO] running `Command { std: "docker" "start" "-a" "b0598939a9f3285b5cd7c523a75ea9735d1eaae9453528b4a582a82be9dcbdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0598939a9f3285b5cd7c523a75ea9735d1eaae9453528b4a582a82be9dcbdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0598939a9f3285b5cd7c523a75ea9735d1eaae9453528b4a582a82be9dcbdc2", kill_on_drop: false }` [INFO] [stdout] b0598939a9f3285b5cd7c523a75ea9735d1eaae9453528b4a582a82be9dcbdc2 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8137f04e236337d6f0595adcfcbe87bea2410ea8ecd677d2d4b69a299bd57c90 [INFO] running `Command { std: "docker" "start" "-a" "8137f04e236337d6f0595adcfcbe87bea2410ea8ecd677d2d4b69a299bd57c90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.14.29 [INFO] [stderr] Compiling solana-frozen-abi v1.14.29 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling solana-sdk v1.14.29 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling solana-program v1.14.29 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling solana-logger v1.14.29 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling solana-sdk-macro v1.14.29 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_bytes v0.11.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling shank_macro_impl v0.0.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling shank_macro v0.0.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling anchor-syn v0.26.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling shank v0.0.5 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling anchor-attribute-constant v0.26.0 [INFO] [stderr] Compiling anchor-attribute-state v0.26.0 [INFO] [stderr] Compiling anchor-attribute-event v0.26.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.26.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.26.0 [INFO] [stderr] Compiling anchor-attribute-program v0.26.0 [INFO] [stderr] Compiling anchor-attribute-account v0.26.0 [INFO] [stderr] Compiling anchor-attribute-error v0.26.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.26.0 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling spl-memo v3.0.1 [INFO] [stderr] Compiling anchor-lang v0.26.0 [INFO] [stderr] Compiling mpl-token-vault v0.1.0 [INFO] [stderr] Compiling solana-zk-token-sdk v1.14.29 [INFO] [stderr] Compiling spl-token-2022 v0.6.1 [INFO] [stderr] Compiling spl-associated-token-account v1.1.3 [INFO] [stderr] Compiling mpl-token-metadata v1.3.4 [INFO] [stderr] Compiling anchor-spl v0.26.0 [INFO] [stderr] Compiling whirlpool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see 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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see 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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_constants::*` [INFO] [stdout] --> src/constants/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use test_constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/errors.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{error, error_code}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/close_position.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_fees.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_protocol_fees.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_reward.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/increase_liquidity.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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: unused import: `util::mint_position_token_and_remove_authority` [INFO] [stdout] --> src/instructions/open_position.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{state::*, util::mint_position_token_and_remove_authority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/open_position.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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: unused import: `crate::state::Whirlpool` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::Whirlpool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::mint_position_token_with_metadata_and_remove_authority` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{state::*, util::mint_position_token_with_metadata_and_remove_authority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/swap.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/update_fees_and_rewards.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/initialize_tick_array.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/instructions/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use close_position::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use initialize_tick_array::*; [INFO] [stdout] | ------------------------ but the name `handler` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decrease_liquidity::*` [INFO] [stdout] --> src/instructions/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use decrease_liquidity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramError` [INFO] [stdout] --> src/manager/liquidity_manager.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use anchor_lang::prelude::{AccountLoader, ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/manager/tick_manager.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | ) -> ([u128; NUM_REWARDS]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - ) -> ([u128; NUM_REWARDS]) { [INFO] [stdout] 152 + ) -> [u128; NUM_REWARDS] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramError` [INFO] [stdout] --> src/util/util.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::{AccountInfo, ProgramError, Pubkey, Signer}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhirlpoolBumps` [INFO] [stdout] --> src/lib.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::{OpenPositionBumps, OpenPositionWithMetadataBumps, WhirlpoolBumps}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see 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: `no-log-ix-name` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see 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: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bumps` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | bumps: OpenPositionBumps, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_lower_index` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_upper_index` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bumps` [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | bumps: OpenPositionWithMetadataBumps, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_lower_index` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_upper_index` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_tick_index` [INFO] [stdout] --> src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | start_tick_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_tick_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8137f04e236337d6f0595adcfcbe87bea2410ea8ecd677d2d4b69a299bd57c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8137f04e236337d6f0595adcfcbe87bea2410ea8ecd677d2d4b69a299bd57c90", kill_on_drop: false }` [INFO] [stdout] 8137f04e236337d6f0595adcfcbe87bea2410ea8ecd677d2d4b69a299bd57c90 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6794f71f133311181393a48d8d3290bdd336967978d167d410959841a0112f48 [INFO] running `Command { std: "docker" "start" "-a" "6794f71f133311181393a48d8d3290bdd336967978d167d410959841a0112f48", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see 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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see 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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_constants::*` [INFO] [stdout] --> src/constants/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use test_constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/errors.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{error, error_code}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/close_position.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_fees.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_protocol_fees.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_reward.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/increase_liquidity.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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: unused import: `util::mint_position_token_and_remove_authority` [INFO] [stdout] --> src/instructions/open_position.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{state::*, util::mint_position_token_and_remove_authority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/open_position.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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: unused import: `crate::state::Whirlpool` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::Whirlpool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::mint_position_token_with_metadata_and_remove_authority` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{state::*, util::mint_position_token_with_metadata_and_remove_authority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/swap.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/update_fees_and_rewards.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/initialize_tick_array.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/instructions/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use close_position::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use initialize_tick_array::*; [INFO] [stdout] | ------------------------ but the name `handler` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decrease_liquidity::*` [INFO] [stdout] --> src/instructions/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use decrease_liquidity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramError` [INFO] [stdout] --> src/manager/liquidity_manager.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use anchor_lang::prelude::{AccountLoader, ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/manager/tick_manager.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | ) -> ([u128; NUM_REWARDS]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - ) -> ([u128; NUM_REWARDS]) { [INFO] [stdout] 152 + ) -> [u128; NUM_REWARDS] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramError` [INFO] [stdout] --> src/util/util.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::{AccountInfo, ProgramError, Pubkey, Signer}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhirlpoolBumps` [INFO] [stdout] --> src/lib.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::{OpenPositionBumps, OpenPositionWithMetadataBumps, WhirlpoolBumps}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see 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: `no-log-ix-name` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see 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: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bumps` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | bumps: OpenPositionBumps, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_lower_index` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_upper_index` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bumps` [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | bumps: OpenPositionWithMetadataBumps, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_lower_index` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_upper_index` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_tick_index` [INFO] [stdout] --> src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | start_tick_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_tick_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling whirlpool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see 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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see 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] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/errors.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{error, error_code}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/close_position.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_fees.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_protocol_fees.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/collect_reward.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/increase_liquidity.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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: unused import: `util::mint_position_token_and_remove_authority` [INFO] [stdout] --> src/instructions/open_position.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{state::*, util::mint_position_token_and_remove_authority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/open_position.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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: unused import: `crate::state::Whirlpool` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::Whirlpool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::mint_position_token_with_metadata_and_remove_authority` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{state::*, util::mint_position_token_with_metadata_and_remove_authority}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/instructions/open_position_with_metadata.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/swap.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/update_fees_and_rewards.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see 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] --> src/instructions/initialize_tick_array.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/instructions/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use close_position::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use initialize_tick_array::*; [INFO] [stdout] | ------------------------ but the name `handler` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decrease_liquidity::*` [INFO] [stdout] --> src/instructions/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use decrease_liquidity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramError` [INFO] [stdout] --> src/manager/liquidity_manager.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use anchor_lang::prelude::{AccountLoader, ProgramError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/manager/tick_manager.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | ) -> ([u128; NUM_REWARDS]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - ) -> ([u128; NUM_REWARDS]) { [INFO] [stdout] 152 + ) -> [u128; NUM_REWARDS] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramError` [INFO] [stdout] --> src/util/util.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::{AccountInfo, ProgramError, Pubkey, Signer}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::ErrorCode` [INFO] [stdout] --> src/util/test_utils/swap_test_fixture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::ErrorCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhirlpoolBumps` [INFO] [stdout] --> src/lib.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::{OpenPositionBumps, OpenPositionWithMetadataBumps, WhirlpoolBumps}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see 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: `no-log-ix-name` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see 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: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bumps` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | bumps: OpenPositionBumps, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_lower_index` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_upper_index` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bumps` [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | bumps: OpenPositionWithMetadataBumps, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_lower_index` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick_upper_index` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_tick_index` [INFO] [stdout] --> src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | start_tick_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_tick_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6794f71f133311181393a48d8d3290bdd336967978d167d410959841a0112f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6794f71f133311181393a48d8d3290bdd336967978d167d410959841a0112f48", kill_on_drop: false }` [INFO] [stdout] 6794f71f133311181393a48d8d3290bdd336967978d167d410959841a0112f48 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c28e5a458dc946c3f46f8da3a3beb17301a2304e3d4dddd223b7986825d94695 [INFO] running `Command { std: "docker" "start" "-a" "c28e5a458dc946c3f46f8da3a3beb17301a2304e3d4dddd223b7986825d94695", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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` crate, try updating your dependency with `cargo update -p solana_program` [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] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [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] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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` crate, try updating your dependency with `cargo update -p solana_program` [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] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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` crate, try updating your dependency with `cargo update -p solana_program` [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: unused import: `test_constants::*` [INFO] [stderr] --> src/constants/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use test_constants::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/errors.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use anchor_lang::{error, error_code}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/instructions/close_position.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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] --> src/instructions/collect_fees.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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] --> src/instructions/collect_protocol_fees.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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] --> src/instructions/collect_reward.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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] --> src/instructions/increase_liquidity.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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: unused import: `util::mint_position_token_and_remove_authority` [INFO] [stderr] --> src/instructions/open_position.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{state::*, util::mint_position_token_and_remove_authority}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/instructions/open_position.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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: unused import: `crate::state::Whirlpool` [INFO] [stderr] --> src/instructions/open_position_with_metadata.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::state::Whirlpool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `util::mint_position_token_with_metadata_and_remove_authority` [INFO] [stderr] --> src/instructions/open_position_with_metadata.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{state::*, util::mint_position_token_with_metadata_and_remove_authority}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/instructions/open_position_with_metadata.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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] --> src/instructions/swap.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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] --> src/instructions/update_fees_and_rewards.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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] --> src/instructions/initialize_tick_array.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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: ambiguous glob re-exports [INFO] [stderr] --> src/instructions/mod.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use close_position::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stderr] ... [INFO] [stderr] 23 | pub use initialize_tick_array::*; [INFO] [stderr] | ------------------------ but the name `handler` in the value namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `decrease_liquidity::*` [INFO] [stderr] --> src/instructions/mod.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub use decrease_liquidity::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ProgramError` [INFO] [stderr] --> src/manager/liquidity_manager.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | use anchor_lang::prelude::{AccountLoader, ProgramError}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/manager/tick_manager.rs:152:6 [INFO] [stderr] | [INFO] [stderr] 152 | ) -> ([u128; NUM_REWARDS]) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 152 - ) -> ([u128; NUM_REWARDS]) { [INFO] [stderr] 152 + ) -> [u128; NUM_REWARDS] { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `ProgramError` [INFO] [stderr] --> src/util/util.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | prelude::{AccountInfo, ProgramError, Pubkey, Signer}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WhirlpoolBumps` [INFO] [stderr] --> src/lib.rs:19:70 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::state::{OpenPositionBumps, OpenPositionWithMetadataBumps, WhirlpoolBumps}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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: `no-log-ix-name` [INFO] [stderr] --> src/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [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: unused variable: `ctx` [INFO] [stderr] --> src/lib.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | ctx: Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bumps` [INFO] [stderr] --> src/lib.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | bumps: OpenPositionBumps, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tick_lower_index` [INFO] [stderr] --> src/lib.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | tick_lower_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tick_upper_index` [INFO] [stderr] --> src/lib.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | tick_upper_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/lib.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | ctx: Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bumps` [INFO] [stderr] --> src/lib.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | bumps: OpenPositionWithMetadataBumps, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bumps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tick_lower_index` [INFO] [stderr] --> src/lib.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | tick_lower_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_lower_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tick_upper_index` [INFO] [stderr] --> src/lib.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | tick_upper_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tick_upper_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/lib.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | ctx: Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_tick_index` [INFO] [stderr] --> src/lib.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 197 | start_tick_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_tick_index` [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/errors.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use anchor_lang::{error, error_code}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::errors::ErrorCode` [INFO] [stderr] --> src/util/test_utils/swap_test_fixture.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::errors::ErrorCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `whirlpool` (lib) generated 37 warnings (run `cargo fix --lib -p whirlpool` to apply 10 suggestions) [INFO] [stderr] warning: `whirlpool` (lib test) generated 37 warnings (35 duplicates) (run `cargo fix --lib -p whirlpool --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/whirlpool-b4117b082a16fa4a) [INFO] [stdout] [INFO] [stdout] running 252 tests [INFO] [stdout] test instructions::collect_reward::unit_tests::test_calculate_collect_reward_vault_insufficient_tokens ... ok [INFO] [stdout] test instructions::collect_reward::unit_tests::test_calculate_collect_reward_vault_sufficient_tokens ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_above_checkpoint_above ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_above_checkpoint_below ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_below_checkpoint_below ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_below_checkpoint_inside ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_inside_checkpoint_above ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_above_checkpoint_inside ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::neg_delta_current_tick_above ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::neg_delta_current_tick_below ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::neg_delta_current_tick_inside ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::pos_delta_current_tick_above ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::pos_delta_current_tick_below ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::zero_delta_current_tick_below ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::zero_delta_current_tick_inside ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::ox_position::current_tick_above::neg_delta_current_tick_above_oo_lower_oo_upper ... ok [INFO] [stdout] test instructions::open_position_with_metadata::whirlpool_nft_update_auth::test_id ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::accrued_tokens_ok_closed_position_ticks_remain_initialized ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_inside_checkpoint_below ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::ox_position::current_tick_above::neg_delta_current_tick_above_ox_lower_ox_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_inside_checkpoint_inside ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::fees_and_rewards::global_accumulators_overflow::overflow_below_checkpoint_above ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::ox_position::current_tick_below::neg_delta_current_tick_below_oo_lower_oo_upper_non_zero_checkpoints ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::ox_position::current_tick_below::neg_delta_current_tick_below_ox_lower_ox_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_above::pos_delta_current_tick_above_oo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_above::pos_delta_current_tick_above_oo_lower_oo_upper_non_zero_checkpoints ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_above::pos_delta_current_tick_above_oo_lower_xo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_above::pos_delta_current_tick_above_xo_lower_xo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_above::pos_delta_current_tick_above_xo_lower_oo_upper_underflow_owed_amounts_ok ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_below::pos_delta_current_tick_below_oo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::zero_delta_current_tick_above ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_below::pos_delta_current_tick_below_xo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_inside::pos_delta_current_tick_inside_oo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::ox_position::current_tick_inside::neg_delta_current_tick_inside_oo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_inside::pos_delta_current_tick_inside_oo_lower_xo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::ox_position::current_tick_inside::neg_delta_current_tick_inside_ox_lower_ox_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_above::pos_delta_current_tick_above_xo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_below::pos_delta_current_tick_below_oo_lower_xo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_below::pos_delta_current_tick_below_xo_lower_xo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::ox_position::current_tick_below::neg_delta_current_tick_below_oo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_inside::pos_delta_current_tick_inside_xo_lower_oo_upper ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_inside::pos_delta_current_tick_inside_xo_lower_oo_upper_underflow ... ok [INFO] [stdout] test manager::position_manager::position_manager_unit_tests::ok_negative_liquidity_delta_fee_growth ... ok [INFO] [stdout] test manager::position_manager::position_manager_unit_tests::ok_positive_liquidity_delta_fee_growth ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_below::pos_delta_current_tick_below_xo_lower_oo_upper_underflow ... ok [INFO] [stdout] test manager::position_manager::position_manager_unit_tests::reward_delta_overflow_defaults_zero ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xo_position::current_tick_inside::pos_delta_current_tick_inside_xo_lower_xo_upper ... ok [INFO] [stdout] test manager::position_manager::position_manager_unit_tests::ok_reward_growth ... ok [INFO] [stdout] test manager::position_manager::position_manager_unit_tests::fee_delta_overflow_defaults_zero ... ok [INFO] [stdout] test manager::swap_manager::swap_error_tests::swap_ends_at_sqrt_price_0 ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::oo_position::pos_delta_current_tick_inside ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::next_initialized_tick_in_next_array_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_error_tests::swap_starts_from_sqrt_price_0 ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::next_initialized_tick_in_same_array_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::next_initialized_tick_in_next_array_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::min_l_at_min_sqrt_price_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::next_initialized_tick_in_same_array_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::next_initialized_tick_not_in_adjacent_array_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::no_initialized_tick_range_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::no_initialized_tick_range_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::next_initialized_tick_not_in_adjacent_array_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::traversal_from_last_tick_in_array_to_next_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::traversal_to_last_tick_in_last_array_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::traversal_to_last_tick_in_last_array_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::traversal_from_last_tick_in_array_to_next_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::traversal_to_last_tick_in_next_array_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::zero_l_across_tick_range_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::zero_l_across_tick_range_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::zero_l_after_first_tick_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::zero_l_after_first_tick_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::zero_l_between_init_ticks_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::traversal_to_last_tick_in_next_array_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::zero_l_between_init_ticks_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_at_current_tick_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_at_current_tick_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_at_max_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_at_max_with_last_init_tick_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_at_min_a_to_b ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_over_current_tick_b_to_a ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_over_current_tick_stop_limit_b_to_a ... ok [INFO] [stdout] test manager::position_manager::position_manager_unit_tests::liquidity_underflow - should panic ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xx_position::neg_delta_lower_tick_liquidity_underflow - should panic ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xx_position::neg_delta_position_liquidity_underflow - should panic ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xx_position::neg_delta_upper_tick_liquidity_underflow - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_under_current_tick_a_to_b ... ok [INFO] [stdout] test manager::tick_manager::tick_manager_tests::test_next_fee_growths_inside ... ok [INFO] [stdout] test manager::tick_manager::tick_manager_tests::test_next_reward_growths_inside ... ok [INFO] [stdout] test manager::tick_manager::tick_manager_tests::test_next_tick_cross_update ... ok [INFO] [stdout] test manager::tick_manager::tick_manager_tests::test_next_tick_modify_liquidity_update ... ok [INFO] [stdout] test manager::tick_manager::tick_manager_tests::test_next_tick_modify_liquidity_update_errors ... ok [INFO] [stdout] test manager::whirlpool_manager::whirlpool_manager_tests::test_next_whirlpool_reward_infos_all_initialized_rewards ... ok [INFO] [stdout] test manager::whirlpool_manager::whirlpool_manager_tests::test_next_whirlpool_reward_infos_delta_zero_on_overflow ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_under_current_tick_b_to_a - should panic ... ok [INFO] [stdout] test manager::whirlpool_manager::whirlpool_manager_tests::test_next_whirlpool_reward_infos_invalid_timestamp - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_under_current_tick_stop_limit_a_to_b ... ok [INFO] [stdout] test manager::whirlpool_manager::whirlpool_manager_tests::test_next_whirlpool_reward_infos_no_initialized_rewards ... ok [INFO] [stdout] test manager::whirlpool_manager::whirlpool_manager_tests::test_next_whirlpool_reward_infos_same_timestamp_no_op ... ok [INFO] [stdout] test manager::swap_manager::swap_error_tests::insufficient_tick_array_range_test_a_to_b - should panic ... ok [INFO] [stdout] test manager::position_manager::position_manager_unit_tests::liquidity_overflow - should panic ... ok [INFO] [stdout] test manager::whirlpool_manager::whirlpool_manager_tests::test_next_whirlpool_reward_infos_some_initialized_rewards ... ok [INFO] [stdout] test manager::whirlpool_manager::whirlpool_manager_tests::test_next_whirlpool_reward_infos_zero_liquidity_no_op ... ok [INFO] [stdout] test math::bn::test_u256::test_as_u128_ok ... ok [INFO] [stdout] test math::bn::test_u256::test_into_u128_error ... ok [INFO] [stdout] test math::bn::test_u256::test_as_u64_ok ... ok [INFO] [stdout] test math::bn::test_u256::test_into_u128_ok ... ok [INFO] [stdout] test math::bn::test_u256::test_into_u64_error ... ok [INFO] [stdout] test math::bn::test_u256::test_into_u64_ok ... ok [INFO] [stdout] test math::liquidity_math::liquidity_math_tests::test_invalid_add_liquidity_delta_overflow ... ok [INFO] [stdout] test math::liquidity_math::liquidity_math_tests::test_invalid_add_liquidity_delta_underflow ... ok [INFO] [stdout] test math::bn::test_u256::test_as_u128_panic - should panic ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_input ... ok [INFO] [stdout] test manager::swap_manager::swap_error_tests::swap_does_not_overflow - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_error_tests::insufficient_tick_array_range_test_b_to_a - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::max_l_at_max_tick_b_to_a - should panic ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_input_max ... ok [INFO] [stdout] test manager::swap_manager::swap_error_tests::swap_invalid_timestamp - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::sqrt_price_exceeds_tick_range_a_to_b - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_liquidity_tests::sqrt_price_exceeds_tick_range_b_to_a - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_over_current_tick_a_to_b - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_over_max_tick - should panic ... ok [INFO] [stdout] test manager::swap_manager::swap_sqrt_price_tests::sqrt_price_limit_under_min_tick - should panic ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_input_zero ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_input_max_1pct_fee ... ok [INFO] [stdout] test math::liquidity_math::liquidity_math_tests::test_valid_add_liquidity_delta ... ok [INFO] [stdout] test manager::liquidity_manager::calculate_modify_liquidity_unit_tests::xx_position::zero_delta_on_empty_position_not_allowed - should panic ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_output_max ... ok [INFO] [stdout] test manager::swap_manager::swap_error_tests::swap_zero_tokens - should panic ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_input ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_input_zero ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_output_zero_liq ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_input_max ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_output_zero ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_a_to_b_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_a_to_b_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_input_zero_liq ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_input_zero_liq ... ok [INFO] [stdout] test math::bn::test_u256::test_as_u64_panic - should panic ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_output_zero_liq ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_a_to_b_input ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_a_to_b_input_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_a_to_b_input ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_b_to_a_output_max ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_b_to_a_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_a_to_b_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_b_to_a_input_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_b_to_a_input ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_b_to_a_input ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_b_to_a_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_b_to_a_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_b_to_a_input_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_compute_swap::swap_a_to_b_output_zero ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::discontiguous_multi_tick::swap_b_to_a_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_a_to_b_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::multi_tick::swap_a_to_b_input_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_a_to_b_input ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_a_to_b_input_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_a_to_b_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_a_to_b_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_b_to_a_input ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_b_to_a_input_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_b_to_a_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::protocol_rate::protocol_rate ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_a_to_b_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_a_to_b_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_b_to_a_output_partial ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::no_cross::swap_b_to_a_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_b_to_a_output ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_a_to_b_input ... ok [INFO] [stdout] test math::tick_math::sqrt_price_from_tick_index_tests::test_exact_bit_values ... ok [INFO] [stdout] test math::tick_math::sqrt_price_from_tick_index_tests::test_tick_at_max ... ok [INFO] [stdout] test math::tick_math::sqrt_price_from_tick_index_tests::test_tick_at_min ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_b_to_a_input ... ok [INFO] [stdout] test math::tick_math::sqrt_price_from_tick_index_tests::test_tick_below_min ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_a_to_b_input_partial ... ok [INFO] [stdout] test math::swap_math::fuzz_tests::test_compute_swap_inversion ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::protocol_rate::protocol_rate_zero ... ok [INFO] [stdout] test math::swap_math::unit_tests::test_swap::single_tick::swap_b_to_a_input_partial ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_max ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_max_add_one ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_max_sub_one ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_min ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_min_add_one ... ok [INFO] [stdout] test math::tick_math::sqrt_price_from_tick_index_tests::test_tick_exceed_max - should panic ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_one_sub_one ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_one ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_min_sub_one ... ok [INFO] [stdout] test math::swap_math::fuzz_tests::test_compute_swap ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_checked_shift_word_left_overflow ... ok [INFO] [stdout] test math::tick_math::fuzz_tests::test_tick_index_and_sqrt_price_symmetry ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_get_add_inv ... ok [INFO] [stdout] test math::tick_math::fuzz_tests::test_sqrt_price_from_tick_index_is_sequence ... ok [INFO] [stdout] test math::tick_math::test_tick_index_from_sqrt_price::test_sqrt_price_from_tick_index_at_one_add_one ... ok [INFO] [stdout] test math::tick_math::fuzz_tests::test_tick_index_from_sqrt_price ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_div ... ok [INFO] [stdout] test math::tick_math::fuzz_tests::test_tick_index_to_sqrt_price ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_add ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_eq ... ok [INFO] [stdout] test math::tick_math::fuzz_tests::test_tick_index_from_sqrt_price_is_sequence ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_lt ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_checked_shift_word_left ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_mul_u256 ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_shift_left ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_lte ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_mul ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_gte ... ok [INFO] [stdout] test math::u256_math::test_add::test_add_overflow_0 ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_gt ... ok [INFO] [stdout] test math::u256_math::test_add::test_add_overflow_1 ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_1 ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_2 ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_5 ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_4 ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_3 ... ok [INFO] [stdout] test math::u256_math::test_sub::test_sub_underflow_1 ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_6 ... ok [INFO] [stdout] test state::position::is_position_empty_tests::test_fee_a_non_zero ... ok [INFO] [stdout] test state::position::is_position_empty_tests::test_position_empty ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_overflow_equality ... ok [INFO] [stdout] test state::position::is_position_empty_tests::test_reward_0_non_zero ... ok [INFO] [stdout] test state::position::is_position_empty_tests::test_reward_1_non_zero ... ok [INFO] [stdout] test state::position::is_position_empty_tests::test_reward_2_non_zero ... ok [INFO] [stdout] test state::tick::check_is_out_of_bounds_tests::test_max_tick_index_add_1 ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_7 - should panic ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_min_tick_array_start_tick_is_valid_ts8 ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_min_tick_array_sub_1_start_tick_is_invalid_ts128 ... ok [INFO] [stdout] test state::position::is_position_empty_tests::test_liquidity_non_zero ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_min_tick_array_sub_1_start_tick_is_invalid_ts8 ... ok [INFO] [stdout] test math::u256_math::test_sub::test_sub_underflow_0 ... ok [INFO] [stdout] test state::tick::array_update_tests::update_applies_successfully ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_min_tick_array_start_tick_is_valid_ts128 ... ok [INFO] [stdout] test state::position::is_position_empty_tests::test_fee_b_non_zero ... ok [INFO] [stdout] test state::tick::check_is_out_of_bounds_tests::test_min_tick_index_sub_1 ... ok [INFO] [stdout] test state::tick::check_is_out_of_bounds_tests::test_min_tick_index ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_start_tick_is_valid_negative_ts128 ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_start_tick_is_valid_negative_ts8 ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_start_tick_is_not_valid_ts8 ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_start_tick_is_valid_ts128 ... ok [INFO] [stdout] test state::whirlpool::test_whirlpool_reward_info_initialized ... ok [INFO] [stdout] test state::whirlpool::test_whirlpool_reward_info_not_initialized ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_start_tick_is_zero ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_start_tick_is_valid_ts8 ... ok [INFO] [stdout] test test_id ... ok [INFO] [stdout] test state::tick::check_is_out_of_bounds_tests::test_max_tick_index ... ok [INFO] [stdout] test math::u256_math::test_div::test_div_0 ... ok [INFO] [stdout] test state::tick::check_is_valid_start_tick_tests::test_start_tick_is_not_valid_ts128 ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_shift_right ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_sub ... ok [INFO] [stdout] test math::u256_math::fuzz_tests::test_fmt ... ok [INFO] [stdout] test state::tick::fuzz_tests::test_get_search_and_offset ... ok [INFO] [stdout] test state::tick::fuzz_tests::test_get_offset ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 252 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] Doc-tests whirlpool [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/manager/tick_manager.rs:152:6 [INFO] [stderr] | [INFO] [stderr] 152 | ) -> ([u128; NUM_REWARDS]) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 152 - ) -> ([u128; NUM_REWARDS]) { [INFO] [stderr] 152 + ) -> [u128; NUM_REWARDS] { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c28e5a458dc946c3f46f8da3a3beb17301a2304e3d4dddd223b7986825d94695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28e5a458dc946c3f46f8da3a3beb17301a2304e3d4dddd223b7986825d94695", kill_on_drop: false }` [INFO] [stdout] c28e5a458dc946c3f46f8da3a3beb17301a2304e3d4dddd223b7986825d94695