[INFO] fetching crate raydium-cp-swap 0.1.170...
[INFO] testing raydium-cp-swap-0.1.170 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate raydium-cp-swap 0.1.170 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate raydium-cp-swap 0.1.170 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate raydium-cp-swap 0.1.170
[INFO] finished tweaking crates.io crate raydium-cp-swap 0.1.170
[INFO] tweaked toml for crates.io crate raydium-cp-swap 0.1.170 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 282 packages to latest compatible versions
[INFO] [stderr]       Adding anchor-lang v0.29.0 (available: v0.30.1)
[INFO] [stderr]       Adding anchor-spl v0.29.0 (available: v0.30.1)
[INFO] [stderr]       Adding blake3 v1.5.1 (available: v1.5.4)
[INFO] [stderr]       Adding quickcheck v0.9.2 (available: v1.0.3)
[INFO] [stderr]       Adding spl-math v0.2.0 (available: v0.3.0)
[INFO] [stderr]       Adding spl-memo v4.0.4 (available: v6.0.0)
[INFO] [stderr]       Adding spl-token v4.0.3 (available: v6.0.0)
[INFO] [stderr]       Adding spl-token-2022 v0.9.0 (available: v5.0.2)
[INFO] [stderr]       Adding subtle v2.4.1 (available: v2.6.1)
[INFO] [stderr]       Adding uint v0.9.5 (available: v0.10.0)
[INFO] [stderr]       Adding zeroize v1.3.0 (available: v1.8.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8998525db0d2fd3515a5fcb16d87dbf355480034c2d1fb9584c6fad5fe430b31
[INFO] running `Command { std: "docker" "start" "-a" "8998525db0d2fd3515a5fcb16d87dbf355480034c2d1fb9584c6fad5fe430b31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8998525db0d2fd3515a5fcb16d87dbf355480034c2d1fb9584c6fad5fe430b31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8998525db0d2fd3515a5fcb16d87dbf355480034c2d1fb9584c6fad5fe430b31", kill_on_drop: false }`
[INFO] [stdout] 8998525db0d2fd3515a5fcb16d87dbf355480034c2d1fb9584c6fad5fe430b31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c18864acc79d94db0299693788d3e70e74ab2e78efcc29b3a601fe9ba5970f34
[INFO] running `Command { std: "docker" "start" "-a" "c18864acc79d94db0299693788d3e70e74ab2e78efcc29b3a601fe9ba5970f34", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.95
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.18.26
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling borsh v1.5.1
[INFO] [stderr]    Compiling solana-frozen-abi v1.18.26
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.95
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling solana-sdk v1.18.26
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling derivation-path v0.2.0
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling uriparse v0.6.4
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling qstring v0.7.2
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling solana-security-txt v1.1.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling blake3 v1.5.1
[INFO] [stderr]    Compiling solana-program v1.18.26
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.95
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.4
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.4
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling syn_derive v0.1.8
[INFO] [stderr]    Compiling bytemuck_derive v1.8.0
[INFO] [stderr]    Compiling solana-sdk-macro v1.18.26
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling num_enum_derive v0.7.3
[INFO] [stderr]    Compiling qualifier_attr v0.2.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ark-serialize-derive v0.4.2
[INFO] [stderr]    Compiling ark-ff-macros v0.4.2
[INFO] [stderr]    Compiling ark-ff-asm v0.4.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.95
[INFO] [stderr]    Compiling borsh-derive v1.5.1
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling solana-logger v1.18.26
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling anchor-derive-space v0.29.0
[INFO] [stderr]    Compiling num_enum v0.7.3
[INFO] [stderr]    Compiling bytemuck v1.19.0
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.95
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v2.3.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ark-std v0.4.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_with v2.3.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[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 aead v0.4.3
[INFO] [stderr]    Compiling pbkdf2 v0.4.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling ark-serialize v0.4.2
[INFO] [stderr]    Compiling tiny-bip39 v0.8.2
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling aes-gcm-siv v0.10.3
[INFO] [stderr]    Compiling ark-ff v0.4.2
[INFO] [stderr]    Compiling spl-discriminator-syn v0.1.2
[INFO] [stderr]    Compiling anchor-syn v0.29.0
[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 borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh-derive v0.10.4
[INFO] [stderr]    Compiling ed25519-dalek-bip32 v0.2.0
[INFO] [stderr]    Compiling spl-program-error-derive v0.3.2
[INFO] [stderr]    Compiling spl-discriminator-derive v0.1.2
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling borsh v0.10.4
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling anchor-attribute-error v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-constant v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.29.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.29.0
[INFO] [stderr]    Compiling anchor-derive-serde v0.29.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.29.0
[INFO] [stderr]    Compiling ark-poly v0.4.2
[INFO] [stderr]    Compiling ark-ec v0.4.2
[INFO] [stderr]    Compiling ark-bn254 v0.4.0
[INFO] [stderr]    Compiling light-poseidon v0.2.0
[INFO] [stderr]    Compiling spl-program-error v0.3.0
[INFO] [stderr]    Compiling spl-discriminator v0.1.0
[INFO] [stderr]    Compiling spl-token v4.0.3
[INFO] [stderr]    Compiling spl-memo v4.0.4
[INFO] [stderr]    Compiling mpl-token-metadata v3.2.3
[INFO] [stderr]    Compiling anchor-lang v0.29.0
[INFO] [stderr]    Compiling spl-math v0.2.0
[INFO] [stderr]    Compiling mpl-token-metadata v4.1.2
[INFO] [stderr]    Compiling solana-zk-token-sdk v1.18.26
[INFO] [stderr]    Compiling spl-pod v0.1.0
[INFO] [stderr]    Compiling spl-type-length-value v0.3.0
[INFO] [stderr]    Compiling spl-token-group-interface v0.1.0
[INFO] [stderr]    Compiling spl-token-metadata-interface v0.2.0
[INFO] [stderr]    Compiling spl-tlv-account-resolution v0.5.1
[INFO] [stderr]    Compiling spl-tlv-account-resolution v0.4.0
[INFO] [stderr]    Compiling spl-transfer-hook-interface v0.4.1
[INFO] [stderr]    Compiling spl-transfer-hook-interface v0.3.0
[INFO] [stderr]    Compiling spl-token-2022 v0.9.0
[INFO] [stderr]    Compiling spl-token-2022 v1.0.0
[INFO] [stderr]    Compiling spl-associated-token-account v2.3.0
[INFO] [stderr]    Compiling anchor-spl v0.29.0
[INFO] [stderr]    Compiling raydium-cp-swap v0.1.170 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::error::ErrorCode`
[INFO] [stdout]  --> src/curve/calculator.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | use {crate::error::ErrorCode, std::fmt::Debug};
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stdout]  --> src/instructions/deposit.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::curve::TradeDirection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stdout]  --> src/instructions/withdraw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::curve::TradeDirection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]  --> src/states/events.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]   = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]   --> src/states/events.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]   --> src/states/oracle.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_0_amount`
[INFO] [stdout]   --> src/curve/calculator.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_0_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_1_amount`
[INFO] [stdout]   --> src/curve/calculator.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_1_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.02s
[INFO] running `Command { std: "docker" "inspect" "c18864acc79d94db0299693788d3e70e74ab2e78efcc29b3a601fe9ba5970f34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c18864acc79d94db0299693788d3e70e74ab2e78efcc29b3a601fe9ba5970f34", kill_on_drop: false }`
[INFO] [stdout] c18864acc79d94db0299693788d3e70e74ab2e78efcc29b3a601fe9ba5970f34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cebeec91839b3c41ac2a3164eef55ff2f115c364f60963eeb440d63eb44062dd
[INFO] running `Command { std: "docker" "start" "-a" "cebeec91839b3c41ac2a3164eef55ff2f115c364f60963eeb440d63eb44062dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling fastrand v2.1.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 env_logger v0.7.1
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stdout] warning: unused import: `crate::error::ErrorCode`
[INFO] [stdout]  --> src/curve/calculator.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | use {crate::error::ErrorCode, std::fmt::Debug};
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stdout]  --> src/instructions/deposit.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::curve::TradeDirection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stdout]  --> src/instructions/withdraw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::curve::TradeDirection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]  --> src/states/events.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]   = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]   --> src/states/events.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]   --> src/states/oracle.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_0_amount`
[INFO] [stdout]   --> src/curve/calculator.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_0_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_1_amount`
[INFO] [stdout]   --> src/curve/calculator.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_1_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling quickcheck v0.9.2
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling proptest v1.5.0
[INFO] [stderr]    Compiling raydium-cp-swap v0.1.170 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::error::ErrorCode`
[INFO] [stdout]  --> src/curve/calculator.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | use {crate::error::ErrorCode, std::fmt::Debug};
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stdout]  --> src/instructions/deposit.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::curve::TradeDirection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stdout]  --> src/instructions/withdraw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::curve::TradeDirection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]  --> src/states/events.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]   = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]   --> src/states/events.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `client`
[INFO] [stdout]   --> src/states/oracle.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stdout]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_0_amount`
[INFO] [stdout]   --> src/curve/calculator.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_0_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_1_amount`
[INFO] [stdout]   --> src/curve/calculator.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_1_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.47s
[INFO] running `Command { std: "docker" "inspect" "cebeec91839b3c41ac2a3164eef55ff2f115c364f60963eeb440d63eb44062dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cebeec91839b3c41ac2a3164eef55ff2f115c364f60963eeb440d63eb44062dd", kill_on_drop: false }`
[INFO] [stdout] cebeec91839b3c41ac2a3164eef55ff2f115c364f60963eeb440d63eb44062dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 56eb725e3c35c765bab6f94d6bd60a7d03cdff07ebbe57641d1460c0a87bcdf4
[INFO] running `Command { std: "docker" "start" "-a" "56eb725e3c35c765bab6f94d6bd60a7d03cdff07ebbe57641d1460c0a87bcdf4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::error::ErrorCode`
[INFO] [stderr]  --> src/curve/calculator.rs:5:6
[INFO] [stderr]   |
[INFO] [stderr] 5 | use {crate::error::ErrorCode, std::fmt::Debug};
[INFO] [stderr]   |      ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stderr]  --> src/instructions/deposit.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::curve::TradeDirection;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::curve::TradeDirection`
[INFO] [stderr]  --> src/instructions/withdraw.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::curve::TradeDirection;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `client`
[INFO] [stderr]  --> src/states/events.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stderr]   = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `client`
[INFO] [stderr]   --> src/states/events.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stderr]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `client`
[INFO] [stderr]   --> src/states/oracle.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | #[cfg_attr(feature = "client", derive(Debug))]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `enable-log`, `fomo3d-raydium-cp-swap-client`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
[INFO] [stderr]    = help: consider adding `client` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `token_0_amount`
[INFO] [stderr]   --> src/curve/calculator.rs:81:28
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_0_amount`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `token_1_amount`
[INFO] [stderr]   --> src/curve/calculator.rs:81:49
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub fn validate_supply(token_0_amount: u64, token_1_amount: u64) -> Result<()> {
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_1_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: `raydium-cp-swap` (lib) generated 8 warnings (run `cargo fix --lib -p raydium-cp-swap` to apply 3 suggestions)
[INFO] [stderr] warning: `raydium-cp-swap` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/raydium_cp_swap-43e363909399e429)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test curve::constant_product::tests::constant_product_swap_rounding ... ok
[INFO] [stdout] test admin::test_id ... ok
[INFO] [stdout] test curve::constant_product::tests::fail_trading_token_conversion ... ok
[INFO] [stdout] test curve::constant_product::tests::trading_token_conversion ... ok
[INFO] [stdout] test curve::expontential::tests::test_apply_buy ... ok
[INFO] [stdout] test curve::expontential::tests::test_get_buy_price ... ok
[INFO] [stdout] test curve::expontential::tests::test_get_sell_price ... ok
[INFO] [stdout] test states::pool::pool_test::pool_status_test::get_set_status_by_bit ... ok
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] test curve::constant_product::tests::curve_value_does_not_decrease_from_deposit ... ok
[INFO] [stdout] test curve::constant_product::tests::curve_value_does_not_decrease_from_swap ... ok
[INFO] [stdout] test curve::expontential::tests::test_apply_sell ... FAILED
[INFO] [stdout] test curve::expontential::tests::test_buy_and_sell_too_much ... FAILED
[INFO] [stdout] test curve::expontential::tests::test_buy_sell_buy_price_consistency ... FAILED
[INFO] [stdout] test curve::constant_product::tests::curve_value_does_not_decrease_from_withdraw ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- curve::expontential::tests::test_apply_sell stdout ----
[INFO] [stdout] Entering apply_sell with token_amount: 1000000000000
[INFO] [stdout] Entering get_sell_price with tokens: 1000000000000
[INFO] [stdout] Product of reserves: 499653000000000000000000000000
[INFO] [stdout] New virtual token reserves: 166552000000000000
[INFO] [stdout] New virtual SOL reserves: 2999981987607
[INFO] [stdout] SOL amount before min: 18012393
[INFO] [stdout] Exiting get_sell_price with result: 18012393
[INFO] [stdout] SOL amount: 18012393
[INFO] [stdout] Updated AMM state: AMM { virtual_sol_reserves: 2999981987607, virtual_token_reserves: 166552000000000000, real_sol_reserves: 2999981987607, real_token_reserves: 210001000000000000, initial_virtual_token_reserves: 217300000000000000 }
[INFO] [stdout] Exiting apply_sell with result: SellResult { token_amount: 1000000000000000000, sol_amount: 18012393 }
[INFO] [stdout] thread 'curve::expontential::tests::test_apply_sell' panicked at src/curve/expontential.rs:194:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 1000000000000000000
[INFO] [stdout]  right: 1000000000000
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x603f465412aa - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x603f465412aa - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x603f465412aa - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x603f465412aa - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x603f465694e3 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x603f465694e3 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x603f4653d913 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x603f465410f2 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x603f4654273a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x603f46542544 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x603f46467619 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x603f46467619 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x603f46542e38 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x603f46542e38 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x603f46542bfa - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x603f46541789 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x603f4654288c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x603f465679a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x603f46567d6b - core::panicking::assert_failed_inner::h04f38944d74a80a8
[INFO] [stdout]   19:     0x603f46556e2e - core::panicking::assert_failed::h6dfbfad828d2743d
[INFO] [stdout]   20:     0x603f4642269b - raydium_cp_swap::curve::expontential::tests::test_apply_sell::hb25023857d61c9c9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/curve/expontential.rs:194:9
[INFO] [stdout]   21:     0x603f464224d7 - raydium_cp_swap::curve::expontential::tests::test_apply_sell::{{closure}}::h9a0683b8128af0ff
[INFO] [stdout]                                at /opt/rustwide/workdir/src/curve/expontential.rs:180:25
[INFO] [stdout]   22:     0x603f46428846 - core::ops::function::FnOnce::call_once::hfb5e657e3b3f2b1b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x603f4646beeb - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x603f4646beeb - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x603f4646b867 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x603f4646b867 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x603f4646b867 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   28:     0x603f4646b867 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   29:     0x603f4646b867 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x603f4646b867 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x603f4646b867 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   32:     0x603f4642ef84 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x603f4642ef84 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   34:     0x603f4643272e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   35:     0x603f4643272e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x603f4643272e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   37:     0x603f4643272e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   38:     0x603f4643272e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x603f4643272e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   40:     0x603f4643272e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x603f4654703b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   42:     0x603f4654703b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x603f4654703b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   44:     0x7c3b6dce5ac3 - <unknown>
[INFO] [stdout]   45:     0x7c3b6dd76a04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- curve::expontential::tests::test_buy_and_sell_too_much stdout ----
[INFO] [stdout] Entering apply_buy with token_amount: 105000000000000000
[INFO] [stdout] Final token amount: 105000000000000000
[INFO] [stdout] Entering get_buy_price with tokens: 105000000000000000
[INFO] [stdout] Product of reserves: 499653000000000000000000000000
[INFO] [stdout] New virtual token reserves: 61551000000000000
[INFO] [stdout] New virtual SOL reserves: 8117707267144
[INFO] [stdout] Amount needed: 5117707267144
[INFO] [stdout] Exiting get_buy_price with result: 5117707267144
[INFO] [stdout] SOL amount: 5117707267144
[INFO] [stdout] Updated AMM state: AMM { virtual_sol_reserves: 8117707267144, virtual_token_reserves: 61551000000000000, real_sol_reserves: 8117707267144, real_token_reserves: 105000000000000000, initial_virtual_token_reserves: 217300000000000000 }
[INFO] [stdout] thread 'curve::expontential::tests::test_buy_and_sell_too_much' panicked at src/curve/expontential.rs:90:27:
[INFO] [stdout] attempt to multiply with overflow
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x603f465412aa - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x603f465412aa - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x603f465412aa - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x603f465412aa - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x603f465694e3 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x603f465694e3 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x603f4653d913 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x603f465410f2 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x603f4654273a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x603f46542544 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x603f46467619 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x603f46467619 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x603f46542e38 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x603f46542e38 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x603f46542bc6 - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:667:13
[INFO] [stdout]   15:     0x603f46541789 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x603f4654288c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x603f465679a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x603f4656e987 - core::panicking::panic_const::panic_const_mul_overflow::h576146000f01e630
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:186:21
[INFO] [stdout]   19:     0x603f4641b448 - raydium_cp_swap::curve::expontential::AMM::apply_buy::h8781eb5890d28153
[INFO] [stdout]                                at /opt/rustwide/workdir/src/curve/expontential.rs:90:27
[INFO] [stdout]   20:     0x603f464222c7 - raydium_cp_swap::curve::expontential::tests::test_buy_and_sell_too_much::h6aafe915f8f2d549
[INFO] [stdout]                                at /opt/rustwide/workdir/src/curve/expontential.rs:165:26
[INFO] [stdout]   21:     0x603f46422227 - raydium_cp_swap::curve::expontential::tests::test_buy_and_sell_too_much::{{closure}}::h6e570ddbbc665bf5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/curve/expontential.rs:155:36
[INFO] [stdout]   22:     0x603f46428376 - core::ops::function::FnOnce::call_once::h4f69e06bb62d8ec2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x603f4646beeb - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x603f4646beeb - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x603f4646b867 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x603f4646b867 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x603f4646b867 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   28:     0x603f4646b867 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   29:     0x603f4646b867 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x603f4646b867 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x603f4646b867 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   32:     0x603f4642ef84 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x603f4642ef84 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   34:     0x603f4643272e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   35:     0x603f4643272e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x603f4643272e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   37:     0x603f4643272e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   38:     0x603f4643272e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x603f4643272e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   40:     0x603f4643272e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x603f4654703b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   42:     0x603f4654703b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x603f4654703b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   44:     0x7c3b6dce5ac3 - <unknown>
[INFO] [stdout]   45:     0x7c3b6dd76a04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- curve::expontential::tests::test_buy_sell_buy_price_consistency stdout ----
[INFO] [stdout] Entering get_buy_price with tokens: 1000000000
[INFO] [stdout] Product of reserves: 499653000000000000000000000000
[INFO] [stdout] New virtual token reserves: 166550999000000000
[INFO] [stdout] New virtual SOL reserves: 3000000018012
[INFO] [stdout] Amount needed: 18012
[INFO] [stdout] Exiting get_buy_price with result: 18012
[INFO] [stdout] Entering apply_buy with token_amount: 1000000000
[INFO] [stdout] Final token amount: 1000000000
[INFO] [stdout] Entering get_buy_price with tokens: 1000000000
[INFO] [stdout] Product of reserves: 499653000000000000000000000000
[INFO] [stdout] New virtual token reserves: 166550999000000000
[INFO] [stdout] New virtual SOL reserves: 3000000018012
[INFO] [stdout] Amount needed: 18012
[INFO] [stdout] Exiting get_buy_price with result: 18012
[INFO] [stdout] SOL amount: 18012
[INFO] [stdout] Updated AMM state: AMM { virtual_sol_reserves: 3000000018012, virtual_token_reserves: 166550999000000000, real_sol_reserves: 3000000018012, real_token_reserves: 209999999000000000, initial_virtual_token_reserves: 217300000000000000 }
[INFO] [stdout] Exiting apply_buy with result: BuyResult { token_amount: 1000000000000000, sol_amount: 18012 }
[INFO] [stdout] Entering apply_sell with token_amount: 1000000000
[INFO] [stdout] Entering get_sell_price with tokens: 1000000000
[INFO] [stdout] Product of reserves: 499652999999916593988000000000
[INFO] [stdout] New virtual token reserves: 166551000000000000
[INFO] [stdout] New virtual SOL reserves: 2999999999999
[INFO] [stdout] SOL amount before min: 18013
[INFO] [stdout] Exiting get_sell_price with result: 18013
[INFO] [stdout] SOL amount: 18013
[INFO] [stdout] Updated AMM state: AMM { virtual_sol_reserves: 2999999999999, virtual_token_reserves: 166551000000000000, real_sol_reserves: 2999999999999, real_token_reserves: 210000000000000000, initial_virtual_token_reserves: 217300000000000000 }
[INFO] [stdout] Exiting apply_sell with result: SellResult { token_amount: 1000000000000000, sol_amount: 18013 }
[INFO] [stdout] thread 'curve::expontential::tests::test_buy_sell_buy_price_consistency' panicked at src/curve/expontential.rs:284:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 1000000000000000
[INFO] [stdout]  right: 1000000000
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x603f465412aa - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x603f465412aa - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x603f465412aa - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x603f465412aa - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x603f465694e3 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x603f465694e3 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x603f4653d913 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x603f465410f2 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x603f4654273a - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x603f46542544 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x603f46467619 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x603f46467619 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x603f46542e38 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x603f46542e38 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x603f46542bfa - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x603f46541789 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x603f4654288c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x603f465679a0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x603f46567d6b - core::panicking::assert_failed_inner::h04f38944d74a80a8
[INFO] [stdout]   19:     0x603f46556e2e - core::panicking::assert_failed::h6dfbfad828d2743d
[INFO] [stdout]   20:     0x603f4642322d - raydium_cp_swap::curve::expontential::tests::test_buy_sell_buy_price_consistency::h424a1eb106410fd3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/curve/expontential.rs:284:9
[INFO] [stdout]   21:     0x603f46422fa7 - raydium_cp_swap::curve::expontential::tests::test_buy_sell_buy_price_consistency::{{closure}}::h701cb8110295780d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/curve/expontential.rs:266:45
[INFO] [stdout]   22:     0x603f464284c6 - core::ops::function::FnOnce::call_once::h872e317b9b8ef286
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x603f4646beeb - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x603f4646beeb - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   25:     0x603f4646b867 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   26:     0x603f4646b867 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x603f4646b867 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   28:     0x603f4646b867 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   29:     0x603f4646b867 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x603f4646b867 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   31:     0x603f4646b867 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   32:     0x603f4642ef84 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   33:     0x603f4642ef84 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   34:     0x603f4643272e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   35:     0x603f4643272e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x603f4643272e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   37:     0x603f4643272e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   38:     0x603f4643272e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x603f4643272e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   40:     0x603f4643272e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x603f4654703b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   42:     0x603f4654703b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x603f4654703b - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   44:     0x7c3b6dce5ac3 - <unknown>
[INFO] [stdout]   45:     0x7c3b6dd76a04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     curve::expontential::tests::test_apply_sell
[INFO] [stdout]     curve::expontential::tests::test_buy_and_sell_too_much
[INFO] [stdout]     curve::expontential::tests::test_buy_sell_buy_price_consistency
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "56eb725e3c35c765bab6f94d6bd60a7d03cdff07ebbe57641d1460c0a87bcdf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56eb725e3c35c765bab6f94d6bd60a7d03cdff07ebbe57641d1460c0a87bcdf4", kill_on_drop: false }`
[INFO] [stdout] 56eb725e3c35c765bab6f94d6bd60a7d03cdff07ebbe57641d1460c0a87bcdf4
