[INFO] cloning repository https://github.com/synx0/raydium-library [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/synx0/raydium-library" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynx0%2Fraydium-library", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynx0%2Fraydium-library'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72a22dcd6136fdd354c47d35aaa4b035652398c5 [INFO] testing synx0/raydium-library against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynx0%2Fraydium-library" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/synx0/raydium-library [INFO] finished tweaking git repo https://github.com/synx0/raydium-library [INFO] tweaked toml for git repo https://github.com/synx0/raydium-library written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/synx0/raydium-library on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/synx0/raydium-library 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/raydium-io/raydium-amm` [INFO] [stderr] Updating git repository `https://github.com/raydium-io/openbook-dex` [INFO] [stderr] Updating git repository `https://github.com/raydium-io/raydium-cp-swap` [INFO] [stderr] Updating git repository `https://github.com/raydium-io/raydium-clmm` [INFO] [stderr] Updating git repository `https://github.com/raydium-io/arrform` [INFO] [stderr] Updating git repository `https://github.com/raydium-io/parity-common` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spl-associated-token-account v2.2.0 [INFO] [stderr] Downloaded anyhow v1.0.93 [INFO] [stderr] Downloaded solana-client v1.16.25 [INFO] [stderr] Downloaded solana-udp-client v1.16.25 [INFO] [stderr] Downloaded solana-perf v1.16.25 [INFO] [stderr] Downloaded solana-rayon-threadlimit v1.16.25 [INFO] [stderr] Downloaded solana_rbpf v0.6.1 [INFO] [stderr] Downloaded default-env v0.1.1 [INFO] [stderr] Downloaded unsize v1.1.0 [INFO] [stderr] Downloaded shank v0.0.11 [INFO] [stderr] Downloaded safe-transmute v0.11.3 [INFO] [stderr] Downloaded solana-remote-wallet v1.16.25 [INFO] [stderr] Downloaded solana-rpc-client v1.16.25 [INFO] [stderr] Downloaded pkcs8 v0.8.0 [INFO] [stderr] Downloaded solana-metrics v1.16.25 [INFO] [stderr] Downloaded solana-address-lookup-table-program v1.16.25 [INFO] [stderr] Downloaded mpl-token-auth-rules v1.4.3-beta.1 [INFO] [stderr] Downloaded async-compression v0.4.17 [INFO] [stderr] Downloaded rustix v0.38.40 [INFO] [stderr] Downloaded spl-token-2022 v0.8.0 [INFO] [stderr] Downloaded goblin v0.5.4 [INFO] [stderr] Downloaded der v0.5.1 [INFO] [stderr] Downloaded dlopen v0.1.8 [INFO] [stderr] Downloaded without-alloc v0.2.2 [INFO] [stderr] Downloaded mpl-token-metadata v1.13.2 [INFO] [stderr] Downloaded mpl-token-metadata-context-derive v0.2.1 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.3.0 [INFO] [stderr] Downloaded solana-quic-client v1.16.25 [INFO] [stderr] Downloaded solana-transaction-status v1.16.25 [INFO] [stderr] Downloaded solana-version v1.16.25 [INFO] [stderr] Downloaded solana-net-utils v1.16.25 [INFO] [stderr] Downloaded const-oid v0.7.1 [INFO] [stderr] Downloaded solana-clap-utils v1.16.25 [INFO] [stderr] Downloaded dlopen_derive v0.1.4 [INFO] [stderr] Downloaded shank_macro_impl v0.0.11 [INFO] [stderr] Downloaded solana-rpc-client-nonce-utils v1.16.25 [INFO] [stderr] Downloaded tokio-stream v0.1.16 [INFO] [stderr] Downloaded solana-tpu-client v1.16.25 [INFO] [stderr] Downloaded enum-iterator v1.5.0 [INFO] [stderr] Downloaded solana-measure v1.16.25 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded scroll v0.11.0 [INFO] [stderr] Downloaded mpl-token-metadata-context-derive v0.3.0 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.2.0 [INFO] [stderr] Downloaded mpl-utils v0.3.6 [INFO] [stderr] Downloaded shank_macro v0.0.11 [INFO] [stderr] Downloaded anchor-client v0.29.0 [INFO] [stderr] Downloaded spl-math v0.2.0 [INFO] [stderr] Downloaded solana-thin-client v1.16.25 [INFO] [stderr] Downloaded solana-pubsub-client v1.16.25 [INFO] [stderr] Downloaded solana-config-program v1.16.25 [INFO] [stderr] Downloaded solana-account-decoder v1.16.25 [INFO] [stderr] Downloaded solana-rpc-client-api v1.16.25 [INFO] [stderr] Downloaded solana-connection-cache v1.16.25 [INFO] [stderr] Downloaded spki v0.5.4 [INFO] [stderr] Downloaded eager v0.1.0 [INFO] [stderr] Downloaded scroll_derive v0.11.1 [INFO] [stderr] Downloaded solana-program-runtime v1.16.25 [INFO] [stderr] Downloaded solana-vote-program v1.16.25 [INFO] [stderr] Downloaded solana-streamer v1.16.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd102dbac0d5f0b5a7c57a909b4b7e25c51bff53d86c621705b753037e75bf21 [INFO] running `Command { std: "docker" "start" "-a" "bd102dbac0d5f0b5a7c57a909b4b7e25c51bff53d86c621705b753037e75bf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd102dbac0d5f0b5a7c57a909b4b7e25c51bff53d86c621705b753037e75bf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd102dbac0d5f0b5a7c57a909b4b7e25c51bff53d86c621705b753037e75bf21", kill_on_drop: false }` [INFO] [stdout] bd102dbac0d5f0b5a7c57a909b4b7e25c51bff53d86c621705b753037e75bf21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f1427f1ab0f9ec03dade20235031b081e88810db6818516815206a4dd1b2ed2 [INFO] running `Command { std: "docker" "start" "-a" "4f1427f1ab0f9ec03dade20235031b081e88810db6818516815206a4dd1b2ed2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.16.25 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.16.25 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling solana-program v1.16.25 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling array-bytes v1.4.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling solana-sdk-macro v1.16.25 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling solana-sdk v1.16.25 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling solana-logger v1.16.25 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling async-compression v0.4.17 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling goblin v0.5.4 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling solana-program-runtime v1.16.25 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling percentage v0.1.0 [INFO] [stderr] Compiling eager v0.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Compiling solana_rbpf v0.6.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling spl-program-error v0.3.0 [INFO] [stderr] Compiling spl-discriminator v0.1.0 [INFO] [stderr] Compiling spl-token v4.0.0 [INFO] [stderr] Compiling spl-memo v4.0.0 [INFO] [stderr] Compiling solana-vote-program v1.16.25 [INFO] [stderr] Compiling solana-address-lookup-table-program v1.16.25 [INFO] [stderr] Compiling solana-version v1.16.25 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling solana-zk-token-sdk v1.16.25 [INFO] [stderr] Compiling solana-measure v1.16.25 [INFO] [stderr] Compiling solana-metrics v1.16.25 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling solana-perf v1.16.25 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling solana-rayon-threadlimit v1.16.25 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling rcgen v0.10.0 [INFO] [stderr] Compiling dlopen v0.1.8 [INFO] [stderr] Compiling solana-config-program v1.16.25 [INFO] [stderr] Compiling caps v0.5.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling quinn-proto v0.9.6 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant 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-derive-space v0.29.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling anchor-lang v0.29.0 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling spl-pod v0.1.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling spl-type-length-value v0.3.0 [INFO] [stderr] Compiling quinn-udp v0.3.2 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling solana-connection-cache v1.16.25 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling spl-token-metadata-interface v0.2.0 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Compiling x509-parser v0.14.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling quinn v0.9.4 [INFO] [stderr] Compiling spl-token-2022 v0.9.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling histogram v0.6.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling solana-streamer v1.16.25 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling solana-remote-wallet v1.16.25 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling mpl-token-metadata v3.2.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling solana-net-utils v1.16.25 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.3.0 [INFO] [stderr] Compiling solana-udp-client v1.16.25 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling shank_macro_impl v0.0.11 [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Compiling solana-clap-utils v1.16.25 [INFO] [stderr] Compiling spl-associated-token-account v2.2.0 [INFO] [stderr] Compiling solana-account-decoder v1.16.25 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling shank_macro v0.0.11 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.2.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling spl-token-2022 v0.8.0 [INFO] [stderr] Compiling shank v0.0.11 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling mpl-token-metadata-context-derive v0.2.1 [INFO] [stderr] Compiling solana-transaction-status v1.16.25 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling mpl-token-auth-rules v1.4.3-beta.1 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling without-alloc v0.2.2 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling default-env v0.1.1 [INFO] [stderr] Compiling mpl-token-metadata-context-derive v0.3.0 [INFO] [stderr] Compiling safe-transmute v0.11.3 [INFO] [stderr] Compiling solana-rpc-client-api v1.16.25 [INFO] [stderr] Compiling serum_dex v0.5.10 (https://github.com/raydium-io/openbook-dex#db697af2) [INFO] [stderr] Compiling spl-math v0.2.0 [INFO] [stderr] Compiling anchor-spl v0.29.0 [INFO] [stderr] Compiling mpl-utils v0.3.6 [INFO] [stderr] Compiling uint v0.9.5 (https://github.com/raydium-io/parity-common#43a0303b) [INFO] [stderr] Compiling colorful v0.2.2 [INFO] [stderr] Compiling mpl-token-metadata v1.13.2 [INFO] [stderr] Compiling arrform v0.1.1 (https://github.com/raydium-io/arrform#fdbb0cfe) [INFO] [stderr] Compiling raydium-cp-swap v0.1.0 (https://github.com/raydium-io/raydium-cp-swap#34a208a4) [INFO] [stderr] Compiling raydium_amm v0.3.1 (https://github.com/raydium-io/raydium-amm#a0fa15cd) [INFO] [stderr] Compiling solana-rpc-client v1.16.25 [INFO] [stderr] Compiling solana-pubsub-client v1.16.25 [INFO] [stderr] Compiling solana-quic-client v1.16.25 [INFO] [stderr] Compiling raydium-amm-v3 v0.1.0 (https://github.com/raydium-io/raydium-clmm#d50417ef) [INFO] [stderr] Compiling solana-tpu-client v1.16.25 [INFO] [stderr] Compiling solana-rpc-client-nonce-utils v1.16.25 [INFO] [stderr] Compiling solana-thin-client v1.16.25 [INFO] [stderr] Compiling solana-client v1.16.25 [INFO] [stderr] Compiling anchor-client v0.29.0 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/libraries/common) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> libraries/common/src/rpc.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stdout] 53 + .map_err(|e| format!("Serialization failed: {e}")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libraries/common/src/common_utils.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libraries/common/src/common_utils.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cpswap-cli v0.1.0 (/opt/rustwide/workdir/libraries/cpswap_cli) [INFO] [stderr] Compiling clmm-cli v0.1.0 (/opt/rustwide/workdir/libraries/clmm_cli) [INFO] [stderr] Compiling amm-cli v0.1.0 (/opt/rustwide/workdir/libraries/amm_cli) [INFO] [stdout] warning: fields `index`, `trade_fee_rate`, `protocol_fee_rate`, `fund_fee_rate`, and `create_pool_fee` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CreateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 53 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub trade_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub protocol_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub fund_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub create_pool_fee: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `value` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct UpdateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 76 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | pub value: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `init_amount_0`, `init_amount_1`, and `open_time` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Initialize { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 93 | pub init_amount_0: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub init_amount_1: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 95 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initialize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct UpdatePoolStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct CollectProtocolFee { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 127 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct CollectFundFee { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 144 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lp_token_amount`, `maximum_token_0_amount`, and `maximum_token_1_amount` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Deposit { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 161 | pub lp_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | pub maximum_token_0_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | pub maximum_token_1_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deposit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lp_token_amount`, `minimum_token_0_amount`, and `minimum_token_1_amount` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Withdraw { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 180 | pub lp_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | pub minimum_token_0_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | pub minimum_token_1_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Withdraw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_in` and `minimum_amount_out` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct SwapBaseInput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 199 | pub amount_in: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | pub minimum_amount_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapBaseInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_amount_in` and `amount_out` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct SwapBaseOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 216 | pub max_amount_in: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub amount_out: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapBaseOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `tick_spacing`, `trade_fee_rate`, `protocol_fee_rate`, and `fund_fee_rate` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct CreateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 55 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | pub tick_spacing: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub trade_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub protocol_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub fund_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `value` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct UpdateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 78 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | pub value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sqrt_price_x64` and `open_time` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct CreatePool { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 95 | pub sqrt_price_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreatePool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct UpdatePoolStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `keys` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct UpdateOperationAccount { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 140 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 141 | pub keys: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateOperationAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `new_owner` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct TransferRewardOwner { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 157 | pub new_owner: Pubkey, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferRewardOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct InitializeReward { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 172 | pub param: InitializeRewardParam, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitializeReward` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reward_index` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct CollectRemainingRewards { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 186 | pub reward_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectRemainingRewards` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reward_index`, `emissions_per_second_x64`, `open_time`, and `end_time` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct SetRewardParams { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 212 | pub reward_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 213 | pub emissions_per_second_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 214 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 215 | pub end_time: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetRewardParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct CollectProtocolFee { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 233 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct CollectFundFee { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 250 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct OpenPosition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 267 | pub tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub tick_array_lower_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | pub tick_array_upper_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 271 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 272 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 273 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct OpenPositionV2 { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 294 | pub tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 295 | pub tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | pub tick_array_lower_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 297 | pub tick_array_upper_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 299 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 301 | pub base_flag: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 302 | pub with_metadata: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenPositionV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_max`, and `amount_1_max` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct IncreaseLiquidity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 336 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 337 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 338 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_max`, `amount_1_max`, and `base_flag` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct IncreaseLiquidityV2 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 355 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 356 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 357 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 358 | pub base_flag: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct DecreaseLiquidity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 376 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 377 | pub amount_0_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 378 | pub amount_1_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct DecreaseLiquidityV2 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 395 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 396 | pub amount_0_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 397 | pub amount_1_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct Swap { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 414 | pub amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 415 | pub other_amount_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 416 | pub sqrt_price_limit_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 417 | pub is_base_input: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Swap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 434 | pub struct SwapV2 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 435 | pub amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 436 | pub other_amount_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 437 | pub sqrt_price_limit_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | pub is_base_input: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_in` and `amount_out_minimum` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct SwapRouterBaseIn { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 456 | pub amount_in: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 457 | pub amount_out_minimum: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapRouterBaseIn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raydium-cli v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11m 01s [INFO] running `Command { std: "docker" "inspect" "4f1427f1ab0f9ec03dade20235031b081e88810db6818516815206a4dd1b2ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1427f1ab0f9ec03dade20235031b081e88810db6818516815206a4dd1b2ed2", kill_on_drop: false }` [INFO] [stdout] 4f1427f1ab0f9ec03dade20235031b081e88810db6818516815206a4dd1b2ed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fbebef28ef611733bb6b604a45d2891ee037817b48764ca7573508db6f9bc70 [INFO] running `Command { std: "docker" "start" "-a" "8fbebef28ef611733bb6b604a45d2891ee037817b48764ca7573508db6f9bc70", kill_on_drop: false }` [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/libraries/common) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> libraries/common/src/rpc.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stdout] 53 + .map_err(|e| format!("Serialization failed: {e}")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libraries/common/src/common_utils.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libraries/common/src/common_utils.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `trade_fee_rate`, `protocol_fee_rate`, `fund_fee_rate`, and `create_pool_fee` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CreateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 53 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub trade_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub protocol_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub fund_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub create_pool_fee: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `value` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct UpdateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 76 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | pub value: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cpswap-cli v0.1.0 (/opt/rustwide/workdir/libraries/cpswap_cli) [INFO] [stdout] warning: fields `init_amount_0`, `init_amount_1`, and `open_time` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Initialize { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 93 | pub init_amount_0: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub init_amount_1: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 95 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initialize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct UpdatePoolStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct CollectProtocolFee { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 127 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct CollectFundFee { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 144 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lp_token_amount`, `maximum_token_0_amount`, and `maximum_token_1_amount` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Deposit { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 161 | pub lp_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | pub maximum_token_0_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | pub maximum_token_1_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deposit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lp_token_amount`, `minimum_token_0_amount`, and `minimum_token_1_amount` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Withdraw { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 180 | pub lp_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | pub minimum_token_0_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | pub minimum_token_1_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Withdraw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_in` and `minimum_amount_out` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct SwapBaseInput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 199 | pub amount_in: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | pub minimum_amount_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapBaseInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_amount_in` and `amount_out` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct SwapBaseOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 216 | pub max_amount_in: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub amount_out: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapBaseOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `tick_spacing`, `trade_fee_rate`, `protocol_fee_rate`, and `fund_fee_rate` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct CreateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 55 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | pub tick_spacing: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub trade_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub protocol_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub fund_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `value` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct UpdateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 78 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | pub value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sqrt_price_x64` and `open_time` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct CreatePool { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 95 | pub sqrt_price_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreatePool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct UpdatePoolStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `keys` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct UpdateOperationAccount { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 140 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 141 | pub keys: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateOperationAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `new_owner` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct TransferRewardOwner { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 157 | pub new_owner: Pubkey, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferRewardOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct InitializeReward { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 172 | pub param: InitializeRewardParam, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitializeReward` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reward_index` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct CollectRemainingRewards { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 186 | pub reward_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectRemainingRewards` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reward_index`, `emissions_per_second_x64`, `open_time`, and `end_time` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct SetRewardParams { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 212 | pub reward_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 213 | pub emissions_per_second_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 214 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 215 | pub end_time: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetRewardParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct CollectProtocolFee { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 233 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct CollectFundFee { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 250 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct OpenPosition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 267 | pub tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub tick_array_lower_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | pub tick_array_upper_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 271 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 272 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 273 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct OpenPositionV2 { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 294 | pub tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 295 | pub tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | pub tick_array_lower_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 297 | pub tick_array_upper_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 299 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 301 | pub base_flag: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 302 | pub with_metadata: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenPositionV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_max`, and `amount_1_max` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct IncreaseLiquidity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 336 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 337 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 338 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_max`, `amount_1_max`, and `base_flag` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct IncreaseLiquidityV2 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 355 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 356 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 357 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 358 | pub base_flag: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clmm-cli v0.1.0 (/opt/rustwide/workdir/libraries/clmm_cli) [INFO] [stderr] Compiling amm-cli v0.1.0 (/opt/rustwide/workdir/libraries/amm_cli) [INFO] [stdout] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct DecreaseLiquidity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 376 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 377 | pub amount_0_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 378 | pub amount_1_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct DecreaseLiquidityV2 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 395 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 396 | pub amount_0_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 397 | pub amount_1_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct Swap { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 414 | pub amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 415 | pub other_amount_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 416 | pub sqrt_price_limit_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 417 | pub is_base_input: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Swap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 434 | pub struct SwapV2 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 435 | pub amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 436 | pub other_amount_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 437 | pub sqrt_price_limit_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | pub is_base_input: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_in` and `amount_out_minimum` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct SwapRouterBaseIn { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 456 | pub amount_in: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 457 | pub amount_out_minimum: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapRouterBaseIn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raydium-cli v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> libraries/common/src/rpc.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stdout] 53 + .map_err(|e| format!("Serialization failed: {e}")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libraries/common/src/common_utils.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libraries/common/src/common_utils.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `trade_fee_rate`, `protocol_fee_rate`, `fund_fee_rate`, and `create_pool_fee` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CreateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 53 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub trade_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub protocol_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub fund_fee_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub create_pool_fee: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `value` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct UpdateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 76 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 77 | pub value: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `init_amount_0`, `init_amount_1`, and `open_time` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Initialize { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 93 | pub init_amount_0: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub init_amount_1: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 95 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Initialize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct UpdatePoolStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct CollectProtocolFee { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 127 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct CollectFundFee { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 144 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lp_token_amount`, `maximum_token_0_amount`, and `maximum_token_1_amount` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Deposit { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 161 | pub lp_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | pub maximum_token_0_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | pub maximum_token_1_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deposit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lp_token_amount`, `minimum_token_0_amount`, and `minimum_token_1_amount` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Withdraw { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 180 | pub lp_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | pub minimum_token_0_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | pub minimum_token_1_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Withdraw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_in` and `minimum_amount_out` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct SwapBaseInput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 199 | pub amount_in: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | pub minimum_amount_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapBaseInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_amount_in` and `amount_out` are never read [INFO] [stdout] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct SwapBaseOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 216 | pub max_amount_in: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub amount_out: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapBaseOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `tick_spacing`, `trade_fee_rate`, `protocol_fee_rate`, and `fund_fee_rate` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct CreateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 55 | pub index: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | pub tick_spacing: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub trade_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub protocol_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub fund_fee_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `value` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct UpdateAmmConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 78 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | pub value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sqrt_price_x64` and `open_time` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct CreatePool { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 95 | pub sqrt_price_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreatePool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct UpdatePoolStatus { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | pub status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `param` and `keys` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct UpdateOperationAccount { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 140 | pub param: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 141 | pub keys: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateOperationAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `new_owner` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct TransferRewardOwner { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 157 | pub new_owner: Pubkey, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferRewardOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct InitializeReward { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 172 | pub param: InitializeRewardParam, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitializeReward` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reward_index` is never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct CollectRemainingRewards { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 186 | pub reward_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectRemainingRewards` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reward_index`, `emissions_per_second_x64`, `open_time`, and `end_time` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct SetRewardParams { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 212 | pub reward_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 213 | pub emissions_per_second_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 214 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 215 | pub end_time: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetRewardParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct CollectProtocolFee { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 233 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct CollectFundFee { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 250 | pub amount_0_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | pub amount_1_requested: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct OpenPosition { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 267 | pub tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub tick_array_lower_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | pub tick_array_upper_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 271 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 272 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 273 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct OpenPositionV2 { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 294 | pub tick_lower_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 295 | pub tick_upper_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | pub tick_array_lower_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 297 | pub tick_array_upper_start_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 299 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 301 | pub base_flag: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 302 | pub with_metadata: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenPositionV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_max`, and `amount_1_max` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct IncreaseLiquidity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 336 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 337 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 338 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_max`, `amount_1_max`, and `base_flag` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct IncreaseLiquidityV2 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 355 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 356 | pub amount_0_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 357 | pub amount_1_max: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 358 | pub base_flag: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:376:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct DecreaseLiquidity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 376 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 377 | pub amount_0_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 378 | pub amount_1_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct DecreaseLiquidityV2 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 395 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 396 | pub amount_0_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 397 | pub amount_1_min: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct Swap { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 414 | pub amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 415 | pub other_amount_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 416 | pub sqrt_price_limit_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 417 | pub is_base_input: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Swap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 434 | pub struct SwapV2 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 435 | pub amount: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 436 | pub other_amount_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 437 | pub sqrt_price_limit_x64: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | pub is_base_input: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `amount_in` and `amount_out_minimum` are never read [INFO] [stdout] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct SwapRouterBaseIn { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 456 | pub amount_in: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 457 | pub amount_out_minimum: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapRouterBaseIn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.63s [INFO] running `Command { std: "docker" "inspect" "8fbebef28ef611733bb6b604a45d2891ee037817b48764ca7573508db6f9bc70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fbebef28ef611733bb6b604a45d2891ee037817b48764ca7573508db6f9bc70", kill_on_drop: false }` [INFO] [stdout] 8fbebef28ef611733bb6b604a45d2891ee037817b48764ca7573508db6f9bc70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 83eea8fa2f9ac3b9edf2b45ffa6962ea19059b8f98288fe116d457e079c2866b [INFO] running `Command { std: "docker" "start" "-a" "83eea8fa2f9ac3b9edf2b45ffa6962ea19059b8f98288fe116d457e079c2866b", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> libraries/common/src/rpc.rs:53:22 [INFO] [stderr] | [INFO] [stderr] 53 | .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 53 - .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stderr] 53 + .map_err(|e| format!("Serialization failed: {e}")) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> libraries/common/src/common_utils.rs:53:33 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 53 | pub fn unpack_token(token_data: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> libraries/common/src/common_utils.rs:58:32 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn unpack_mint(token_data: &[u8]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `common` (lib) generated 3 warnings (run `cargo fix --lib -p common` to apply 3 suggestions) [INFO] [stderr] warning: `common` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: fields `index`, `trade_fee_rate`, `protocol_fee_rate`, `fund_fee_rate`, and `create_pool_fee` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:53:21 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct CreateAmmConfig { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 53 | pub index: u16, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 54 | pub trade_fee_rate: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 55 | pub protocol_fee_rate: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 56 | pub fund_fee_rate: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 57 | pub create_pool_fee: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `param` and `value` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct UpdateAmmConfig { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 76 | pub param: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 77 | pub value: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `init_amount_0`, `init_amount_1`, and `open_time` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:93:21 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct Initialize { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 93 | pub init_amount_0: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 94 | pub init_amount_1: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 95 | pub open_time: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Initialize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `status` is never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 111 | pub struct UpdatePoolStatus { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 112 | pub status: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:127:21 [INFO] [stderr] | [INFO] [stderr] 126 | pub struct CollectProtocolFee { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 127 | pub amount_0_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 128 | pub amount_1_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:144:21 [INFO] [stderr] | [INFO] [stderr] 143 | pub struct CollectFundFee { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 144 | pub amount_0_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 145 | pub amount_1_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `lp_token_amount`, `maximum_token_0_amount`, and `maximum_token_1_amount` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:161:21 [INFO] [stderr] | [INFO] [stderr] 160 | pub struct Deposit { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 161 | pub lp_token_amount: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 162 | pub maximum_token_0_amount: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 163 | pub maximum_token_1_amount: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Deposit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `lp_token_amount`, `minimum_token_0_amount`, and `minimum_token_1_amount` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:180:21 [INFO] [stderr] | [INFO] [stderr] 179 | pub struct Withdraw { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 180 | pub lp_token_amount: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 181 | pub minimum_token_0_amount: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 182 | pub minimum_token_1_amount: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Withdraw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount_in` and `minimum_amount_out` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:199:21 [INFO] [stderr] | [INFO] [stderr] 198 | pub struct SwapBaseInput { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 199 | pub amount_in: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 200 | pub minimum_amount_out: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SwapBaseInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `max_amount_in` and `amount_out` are never read [INFO] [stderr] --> libraries/cpswap_cli/src/decode_cpswap_ix_event.rs:216:21 [INFO] [stderr] | [INFO] [stderr] 215 | pub struct SwapBaseOutput { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 216 | pub max_amount_in: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 217 | pub amount_out: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SwapBaseOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `cpswap-cli` (lib) generated 10 warnings [INFO] [stderr] warning: `cpswap-cli` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: fields `index`, `tick_spacing`, `trade_fee_rate`, `protocol_fee_rate`, and `fund_fee_rate` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:55:21 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct CreateAmmConfig { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 55 | pub index: u16, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 56 | pub tick_spacing: u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 57 | pub trade_fee_rate: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 58 | pub protocol_fee_rate: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 59 | pub fund_fee_rate: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `param` and `value` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 77 | pub struct UpdateAmmConfig { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 78 | pub param: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 79 | pub value: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateAmmConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `sqrt_price_x64` and `open_time` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:95:21 [INFO] [stderr] | [INFO] [stderr] 94 | pub struct CreatePool { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 95 | pub sqrt_price_x64: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 96 | pub open_time: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreatePool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `status` is never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 111 | pub struct UpdatePoolStatus { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 112 | pub status: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdatePoolStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `param` and `keys` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:140:21 [INFO] [stderr] | [INFO] [stderr] 139 | pub struct UpdateOperationAccount { [INFO] [stderr] | ---------------------- fields in this struct [INFO] [stderr] 140 | pub param: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 141 | pub keys: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateOperationAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `new_owner` is never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:157:21 [INFO] [stderr] | [INFO] [stderr] 156 | pub struct TransferRewardOwner { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 157 | pub new_owner: Pubkey, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TransferRewardOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `param` is never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:172:21 [INFO] [stderr] | [INFO] [stderr] 171 | pub struct InitializeReward { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 172 | pub param: InitializeRewardParam, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InitializeReward` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `reward_index` is never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:186:21 [INFO] [stderr] | [INFO] [stderr] 185 | pub struct CollectRemainingRewards { [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] 186 | pub reward_index: u8, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CollectRemainingRewards` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `reward_index`, `emissions_per_second_x64`, `open_time`, and `end_time` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:212:21 [INFO] [stderr] | [INFO] [stderr] 211 | pub struct SetRewardParams { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 212 | pub reward_index: u8, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 213 | pub emissions_per_second_x64: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 214 | pub open_time: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 215 | pub end_time: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SetRewardParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:233:21 [INFO] [stderr] | [INFO] [stderr] 232 | pub struct CollectProtocolFee { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 233 | pub amount_0_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 234 | pub amount_1_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CollectProtocolFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount_0_requested` and `amount_1_requested` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:250:21 [INFO] [stderr] | [INFO] [stderr] 249 | pub struct CollectFundFee { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 250 | pub amount_0_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 251 | pub amount_1_requested: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CollectFundFee` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:267:21 [INFO] [stderr] | [INFO] [stderr] 266 | pub struct OpenPosition { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 267 | pub tick_lower_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 268 | pub tick_upper_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 269 | pub tick_array_lower_start_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 270 | pub tick_array_upper_start_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 271 | pub liquidity: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 272 | pub amount_0_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 273 | pub amount_1_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:294:21 [INFO] [stderr] | [INFO] [stderr] 293 | pub struct OpenPositionV2 { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 294 | pub tick_lower_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 295 | pub tick_upper_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 296 | pub tick_array_lower_start_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 297 | pub tick_array_upper_start_index: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 298 | pub liquidity: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 299 | pub amount_0_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 300 | pub amount_1_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 301 | pub base_flag: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 302 | pub with_metadata: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenPositionV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `liquidity`, `amount_0_max`, and `amount_1_max` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:336:21 [INFO] [stderr] | [INFO] [stderr] 335 | pub struct IncreaseLiquidity { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 336 | pub liquidity: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 337 | pub amount_0_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 338 | pub amount_1_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IncreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `liquidity`, `amount_0_max`, `amount_1_max`, and `base_flag` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 354 | pub struct IncreaseLiquidityV2 { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 355 | pub liquidity: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 356 | pub amount_0_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 357 | pub amount_1_max: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 358 | pub base_flag: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IncreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:376:21 [INFO] [stderr] | [INFO] [stderr] 375 | pub struct DecreaseLiquidity { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 376 | pub liquidity: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 377 | pub amount_0_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 378 | pub amount_1_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DecreaseLiquidity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `liquidity`, `amount_0_min`, and `amount_1_min` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:395:21 [INFO] [stderr] | [INFO] [stderr] 394 | pub struct DecreaseLiquidityV2 { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 395 | pub liquidity: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 396 | pub amount_0_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 397 | pub amount_1_min: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DecreaseLiquidityV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:414:21 [INFO] [stderr] | [INFO] [stderr] 413 | pub struct Swap { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 414 | pub amount: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 415 | pub other_amount_threshold: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 416 | pub sqrt_price_limit_x64: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 417 | pub is_base_input: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Swap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount`, `other_amount_threshold`, `sqrt_price_limit_x64`, and `is_base_input` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:435:21 [INFO] [stderr] | [INFO] [stderr] 434 | pub struct SwapV2 { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 435 | pub amount: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 436 | pub other_amount_threshold: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 437 | pub sqrt_price_limit_x64: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 438 | pub is_base_input: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SwapV2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `amount_in` and `amount_out_minimum` are never read [INFO] [stderr] --> libraries/clmm_cli/src/decode_clmm_ix_event.rs:456:21 [INFO] [stderr] | [INFO] [stderr] 455 | pub struct SwapRouterBaseIn { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 456 | pub amount_in: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 457 | pub amount_out_minimum: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SwapRouterBaseIn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `clmm-cli` (lib) generated 20 warnings [INFO] [stderr] warning: `clmm-cli` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/amm_cli-6653f0283c52445b) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clmm_cli-122d7926e2e4ef6b) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/common-613a5871b0e6c518) [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] [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cpswap_cli-8afb035c7be6865b) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raydium-8b7185a7c631bbb8) [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] [stderr] Doc-tests amm_cli [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] [stderr] Doc-tests clmm_cli [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] [stderr] Doc-tests common [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> libraries/common/src/rpc.rs:53:22 [INFO] [stderr] | [INFO] [stderr] 53 | .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 53 - .map_err(|e| (format!("Serialization failed: {e}"))) [INFO] [stderr] 53 + .map_err(|e| format!("Serialization failed: {e}")) [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] [stderr] Doc-tests cpswap_cli [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" "83eea8fa2f9ac3b9edf2b45ffa6962ea19059b8f98288fe116d457e079c2866b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83eea8fa2f9ac3b9edf2b45ffa6962ea19059b8f98288fe116d457e079c2866b", kill_on_drop: false }` [INFO] [stdout] 83eea8fa2f9ac3b9edf2b45ffa6962ea19059b8f98288fe116d457e079c2866b