[INFO] fetching crate brrr 0.3.1... [INFO] checking brrr-0.3.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate brrr 0.3.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate brrr 0.3.1 [INFO] finished tweaking crates.io crate brrr 0.3.1 [INFO] tweaked toml for crates.io crate brrr 0.3.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate brrr 0.3.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 352 packages to latest compatible versions [INFO] [stderr] Adding anchor-lang v0.24.2 (available: v0.31.1) [INFO] [stderr] Adding anchor-spl v0.24.2 (available: v0.31.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding solana-frozen-abi v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi-macro v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-logger v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-program v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk-macro v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding spl-associated-token-account v1.0.5 (available: v1.1.3) [INFO] [stderr] Adding spl-token v3.3.0 (available: v3.5.0) [INFO] [stderr] Adding uint v0.9.1 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sdk-macro v1.9.29 [INFO] [stderr] Downloaded anchor-derive-accounts v0.24.2 [INFO] [stderr] Downloaded anchor-spl v0.24.2 [INFO] [stderr] Downloaded solana-frozen-abi v1.9.29 [INFO] [stderr] Downloaded anchor-lang v0.24.2 [INFO] [stderr] Downloaded spl-math v0.1.0 [INFO] [stderr] Downloaded borsh-derive v0.7.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.2 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Downloaded stable-swap-math v1.8.1 [INFO] [stderr] Downloaded solana-vote-interface v2.2.6 [INFO] [stderr] Downloaded stable-swap-client v1.8.1 [INFO] [stderr] Downloaded anchor-attribute-interface v0.24.2 [INFO] [stderr] Downloaded borsh v0.7.2 [INFO] [stderr] Downloaded uint v0.8.5 [INFO] [stderr] Downloaded quarry-mine v5.2.0 [INFO] [stderr] Downloaded solana-curve25519 v2.3.7 [INFO] [stderr] Downloaded arrow-sunny v0.3.1 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-constant v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-error v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-event v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-program v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-state v0.24.2 [INFO] [stderr] Downloaded anchor-syn v0.24.2 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Downloaded borsh-derive v0.8.2 [INFO] [stderr] Downloaded u128 v0.1.0 [INFO] [stderr] Downloaded spl-discriminator-syn v0.2.1 [INFO] [stderr] Downloaded solana-signature v2.3.0 [INFO] [stderr] Downloaded bankman v0.3.1 [INFO] [stderr] Downloaded converter v0.3.1 [INFO] [stderr] Downloaded solana-sha256-hasher v2.3.0 [INFO] [stderr] Downloaded stable-swap-anchor v1.8.1 [INFO] [stderr] Downloaded static-pubkey v1.0.3 [INFO] [stderr] Downloaded anchor-attribute-account v0.24.2 [INFO] [stderr] Downloaded quarry-mint-wrapper v5.2.0 [INFO] [stderr] Downloaded sunny-anchor v0.3.1 [INFO] [stderr] Downloaded solana-sysvar v2.3.0 [INFO] [stderr] Downloaded uint v0.9.1 [INFO] [stderr] Downloaded crate-token v0.6.0 [INFO] [stderr] Downloaded solana-program v1.9.29 [INFO] [stderr] Downloaded vipers v2.0.6 [INFO] [stderr] Downloaded solana-logger v1.9.29 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Downloaded solana-zk-sdk v2.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b316e4f3f0d273263e8716415e8e2533e6a2b0265ab9285b0c0aab7a6d724d [INFO] running `Command { std: "docker" "start" "-a" "18b316e4f3f0d273263e8716415e8e2533e6a2b0265ab9285b0c0aab7a6d724d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b316e4f3f0d273263e8716415e8e2533e6a2b0265ab9285b0c0aab7a6d724d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b316e4f3f0d273263e8716415e8e2533e6a2b0265ab9285b0c0aab7a6d724d", kill_on_drop: false }` [INFO] [stdout] 18b316e4f3f0d273263e8716415e8e2533e6a2b0265ab9285b0c0aab7a6d724d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99fcbd93979fcb879cb5e4bafbe82f4b1ea6e9102697e1b5557f866806999ae8 [INFO] running `Command { std: "docker" "start" "-a" "99fcbd93979fcb879cb5e4bafbe82f4b1ea6e9102697e1b5557f866806999ae8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking five8_core v0.1.2 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking five8 v0.2.1 [INFO] [stderr] Checking solana-sanitize v2.2.1 [INFO] [stderr] Checking solana-atomic-u64 v2.2.1 [INFO] [stderr] Checking five8_const v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking solana-msg v2.2.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking solana-program-memory v2.3.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking solana-decode-error v2.3.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Compiling solana-frozen-abi v1.9.29 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking solana-program-option v2.2.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling solana-program v1.9.29 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Checking solana-signature v2.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking solana-native-token v2.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking solana-derivation-path v2.2.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking solana-seed-derivable v2.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking u128 v0.1.0 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Checking solana-logger v1.9.29 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.29 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling static-pubkey v1.0.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking borsh v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking solana-hash v2.3.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking solana-fee-calculator v2.2.1 [INFO] [stderr] Checking solana-short-vec v2.2.1 [INFO] [stderr] Checking solana-serde-varint v2.2.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking solana-sha256-hasher v2.3.0 [INFO] [stderr] Checking solana-seed-phrase v2.2.1 [INFO] [stderr] Checking solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking solana-borsh v2.2.1 [INFO] [stderr] Checking solana-pubkey v2.4.0 [INFO] [stderr] Checking solana-curve25519 v2.3.7 [INFO] [stderr] Checking solana-instruction v2.3.0 [INFO] [stderr] Checking solana-sdk-ids v2.2.1 [INFO] [stderr] Checking solana-nonce v2.2.1 [INFO] [stderr] Checking solana-sysvar-id v2.2.1 [INFO] [stderr] Checking solana-program-error v2.2.2 [INFO] [stderr] Checking solana-transaction-error v2.2.1 [INFO] [stderr] Checking solana-system-interface v1.0.0 [INFO] [stderr] Checking solana-serialize-utils v2.2.1 [INFO] [stderr] Checking solana-bincode v2.2.1 [INFO] [stderr] Checking solana-loader-v2-interface v2.2.1 [INFO] [stderr] Checking solana-stable-layout v2.2.1 [INFO] [stderr] Checking spl-associated-token-account-client v2.0.0 [INFO] [stderr] Checking solana-clock v2.2.2 [INFO] [stderr] Checking solana-account-info v2.3.0 [INFO] [stderr] Checking solana-slot-hashes v2.2.1 [INFO] [stderr] Checking solana-rent v2.2.1 [INFO] [stderr] Checking solana-epoch-rewards v2.2.1 [INFO] [stderr] Checking solana-signer v2.2.1 [INFO] [stderr] Checking solana-cpi v2.2.1 [INFO] [stderr] Checking solana-program-entrypoint v2.3.0 [INFO] [stderr] Checking solana-instructions-sysvar v2.2.2 [INFO] [stderr] Checking solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Checking solana-account v2.2.1 [INFO] [stderr] Checking solana-message v2.4.0 [INFO] [stderr] Checking solana-stake-interface v1.2.1 [INFO] [stderr] Checking solana-slot-history v2.2.1 [INFO] [stderr] Checking solana-last-restart-slot v2.2.1 [INFO] [stderr] Checking solana-epoch-schedule v2.2.1 [INFO] [stderr] Checking solana-vote-interface v2.2.6 [INFO] [stderr] Checking solana-feature-gate-interface v2.2.2 [INFO] [stderr] Checking solana-loader-v4-interface v2.2.1 [INFO] [stderr] Checking solana-loader-v3-interface v5.0.0 [INFO] [stderr] Checking solana-zk-sdk v2.3.7 [INFO] [stderr] Checking solana-program-pack v2.2.1 [INFO] [stderr] Checking spl-discriminator v0.4.1 [INFO] [stderr] Checking spl-memo v6.0.0 [INFO] [stderr] Checking solana-example-mocks v2.2.1 [INFO] [stderr] Checking solana-sysvar v2.3.0 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-derive-serde v0.31.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling anchor-attribute-event v0.31.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.31.1 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.31.1 [INFO] [stderr] Checking spl-pod v0.5.1 [INFO] [stderr] Checking spl-token-confidential-transfer-proof-generation v0.2.0 [INFO] [stderr] Checking spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1 [INFO] [stderr] Checking spl-type-length-value v0.7.0 [INFO] [stderr] Checking spl-token-group-interface v0.5.0 [INFO] [stderr] Checking solana-secp256k1-recover v2.2.1 [INFO] [stderr] Checking solana-program v2.3.0 [INFO] [stderr] Checking spl-token-metadata-interface v0.6.0 [INFO] [stderr] Checking spl-program-error v0.6.0 [INFO] [stderr] Checking spl-token-confidential-transfer-proof-extraction v0.2.1 [INFO] [stderr] Checking spl-token v7.0.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.9.0 [INFO] [stderr] Checking spl-elgamal-registry v0.1.1 [INFO] [stderr] Checking spl-transfer-hook-interface v0.9.0 [INFO] [stderr] Checking anchor-lang v0.31.1 [INFO] [stderr] Checking spl-token-2022 v6.0.0 [INFO] [stderr] Checking spl-token v3.3.0 [INFO] [stderr] Checking anchor-lang v0.24.2 [INFO] [stderr] Checking stable-swap-client v1.8.1 [INFO] [stderr] Checking spl-math v0.1.0 [INFO] [stderr] Checking spl-associated-token-account v6.0.0 [INFO] [stderr] Checking stable-swap-math v1.8.1 [INFO] [stderr] Checking stable-swap-anchor v1.8.1 [INFO] [stderr] Checking spl-associated-token-account v1.0.5 [INFO] [stderr] Checking anchor-spl v0.31.1 [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | let ix = stable_swap_client::instruction::initialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | // token program ID is verified by the stable swap program [INFO] [stdout] 23 | ctx.accounts.token_program.key, [INFO] [stdout] | ------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 24 | ctx.accounts.swap.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 25 | ctx.accounts.swap_authority.key, [INFO] [stdout] | ------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 26 | ctx.accounts.admin.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 27 | ctx.accounts.token_a.fees.key, [INFO] [stdout] | ----------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 28 | ctx.accounts.token_b.fees.key, [INFO] [stdout] | ----------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 29 | ctx.accounts.token_a.mint.key, [INFO] [stdout] | ----------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 30 | ctx.accounts.token_a.reserve.key, [INFO] [stdout] | -------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 31 | ctx.accounts.token_b.mint.key, [INFO] [stdout] | ----------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 32 | ctx.accounts.token_b.reserve.key, [INFO] [stdout] | -------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 33 | ctx.accounts.pool_mint.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 34 | ctx.accounts.output_lp.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:546:8 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 21 | let ix = stable_swap_client::instruction::initialize( [INFO] [stdout] | ______________- [INFO] [stdout] 22 | | // token program ID is verified by the stable swap program [INFO] [stdout] 23 | | ctx.accounts.token_program.key, [INFO] [stdout] 24 | | ctx.accounts.swap.key, [INFO] [stdout] ... | [INFO] [stdout] 37 | | fees, [INFO] [stdout] 38 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | solana_program::program::invoke_signed( [INFO] [stdout] | -------------------------------------- arguments to this function are incorrect [INFO] [stdout] 40 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | let ix = stable_swap_client::instruction::deposit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | // token program ID is verified by the stable swap program [INFO] [stdout] 78 | ctx.accounts.user.token_program.key, [INFO] [stdout] | ----------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 79 | ctx.accounts.user.swap.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 80 | ctx.accounts.user.swap_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 81 | ctx.accounts.user.user_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 82 | ctx.accounts.input_a.user.key, [INFO] [stdout] | ----------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 83 | ctx.accounts.input_b.user.key, [INFO] [stdout] | ----------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 84 | ctx.accounts.input_a.reserve.key, [INFO] [stdout] | -------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 85 | ctx.accounts.input_b.reserve.key, [INFO] [stdout] | -------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 86 | ctx.accounts.pool_mint.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 87 | ctx.accounts.output_lp.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn deposit( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 75 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 76 | let ix = stable_swap_client::instruction::deposit( [INFO] [stdout] | ______________- [INFO] [stdout] 77 | | // token program ID is verified by the stable swap program [INFO] [stdout] 78 | | ctx.accounts.user.token_program.key, [INFO] [stdout] 79 | | ctx.accounts.user.swap.key, [INFO] [stdout] ... | [INFO] [stdout] 90 | | min_mint_amount, [INFO] [stdout] 91 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | solana_program::program::invoke_signed( [INFO] [stdout] | -------------------------------------- arguments to this function are incorrect [INFO] [stdout] 93 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | let ix = stable_swap_client::instruction::swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | ctx.accounts.user.token_program.key, [INFO] [stdout] | ----------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 128 | ctx.accounts.user.swap.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 129 | ctx.accounts.user.swap_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 130 | ctx.accounts.user.user_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 131 | ctx.accounts.input.user.key, [INFO] [stdout] | --------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 132 | ctx.accounts.input.reserve.key, [INFO] [stdout] | ------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 133 | ctx.accounts.output.user_token.reserve.key, [INFO] [stdout] | ------------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 134 | ctx.accounts.output.user_token.user.key, [INFO] [stdout] | --------------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 135 | ctx.accounts.output.fees.key, [INFO] [stdout] | ---------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:686:8 [INFO] [stdout] | [INFO] [stdout] 686 | pub fn swap( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 125 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 126 | let ix = stable_swap_client::instruction::swap( [INFO] [stdout] | ______________- [INFO] [stdout] 127 | | ctx.accounts.user.token_program.key, [INFO] [stdout] 128 | | ctx.accounts.user.swap.key, [INFO] [stdout] 129 | | ctx.accounts.user.swap_authority.key, [INFO] [stdout] ... | [INFO] [stdout] 137 | | minimum_amount_out, [INFO] [stdout] 138 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 139 | solana_program::program::invoke_signed( [INFO] [stdout] | -------------------------------------- arguments to this function are incorrect [INFO] [stdout] 140 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let ix = stable_swap_client::instruction::withdraw_one( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 173 | ctx.accounts.user.token_program.key, [INFO] [stdout] | ----------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 174 | ctx.accounts.user.swap.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 175 | ctx.accounts.user.swap_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 176 | ctx.accounts.user.user_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 177 | ctx.accounts.pool_mint.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 178 | ctx.accounts.input_lp.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 179 | ctx.accounts.output.user_token.reserve.key, [INFO] [stdout] | ------------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 180 | ctx.accounts.quote_reserves.key, [INFO] [stdout] | ------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 181 | ctx.accounts.output.user_token.user.key, [INFO] [stdout] | --------------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 182 | ctx.accounts.output.fees.key, [INFO] [stdout] | ---------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:726:8 [INFO] [stdout] | [INFO] [stdout] 726 | pub fn withdraw_one( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 171 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 172 | let ix = stable_swap_client::instruction::withdraw_one( [INFO] [stdout] | ______________- [INFO] [stdout] 173 | | ctx.accounts.user.token_program.key, [INFO] [stdout] 174 | | ctx.accounts.user.swap.key, [INFO] [stdout] 175 | | ctx.accounts.user.swap_authority.key, [INFO] [stdout] ... | [INFO] [stdout] 184 | | minimum_token_amount, [INFO] [stdout] 185 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | solana_program::program::invoke_signed( [INFO] [stdout] | -------------------------------------- arguments to this function are incorrect [INFO] [stdout] 187 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | let ix = stable_swap_client::instruction::withdraw( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 223 | // token program ID is verified by the stable swap program [INFO] [stdout] 224 | ctx.accounts.user.token_program.key, [INFO] [stdout] | ----------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 225 | ctx.accounts.user.swap.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 226 | ctx.accounts.user.swap_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 227 | ctx.accounts.user.user_authority.key, [INFO] [stdout] | ------------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 228 | // accounts [INFO] [stdout] 229 | ctx.accounts.pool_mint.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 230 | ctx.accounts.input_lp.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 231 | ctx.accounts.output_a.user_token.reserve.key, [INFO] [stdout] | -------------------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 232 | ctx.accounts.output_b.user_token.reserve.key, [INFO] [stdout] | -------------------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 233 | ctx.accounts.output_a.user_token.user.key, [INFO] [stdout] | ----------------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 234 | ctx.accounts.output_b.user_token.user.key, [INFO] [stdout] | ----------------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 235 | ctx.accounts.output_a.fees.key, [INFO] [stdout] | ------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 236 | ctx.accounts.output_b.fees.key, [INFO] [stdout] | ------------------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn withdraw( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:240:6 [INFO] [stdout] | [INFO] [stdout] 221 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 222 | let ix = stable_swap_client::instruction::withdraw( [INFO] [stdout] | ______________- [INFO] [stdout] 223 | | // token program ID is verified by the stable swap program [INFO] [stdout] 224 | | ctx.accounts.user.token_program.key, [INFO] [stdout] 225 | | ctx.accounts.user.swap.key, [INFO] [stdout] ... | [INFO] [stdout] 239 | | minimum_token_b_amount, [INFO] [stdout] 240 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:241:44 [INFO] [stdout] | [INFO] [stdout] 241 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | let ix = stable_swap_client::instruction::ramp_a( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 259 | ctx.accounts.swap.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 260 | ctx.accounts.admin.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn ramp_a( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:263:6 [INFO] [stdout] | [INFO] [stdout] 257 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 258 | let ix = stable_swap_client::instruction::ramp_a( [INFO] [stdout] | ______________- [INFO] [stdout] 259 | | ctx.accounts.swap.key, [INFO] [stdout] 260 | | ctx.accounts.admin.key, [INFO] [stdout] 261 | | target_amp, [INFO] [stdout] 262 | | stop_ramp_ts, [INFO] [stdout] 263 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | let ix = stable_swap_client::instruction::stop_ramp_a( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | ctx.accounts.swap.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 274 | ctx.accounts.admin.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn stop_ramp_a( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 271 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 272 | let ix = stable_swap_client::instruction::stop_ramp_a( [INFO] [stdout] | ______________- [INFO] [stdout] 273 | | ctx.accounts.swap.key, [INFO] [stdout] 274 | | ctx.accounts.admin.key, [INFO] [stdout] 275 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:276:44 [INFO] [stdout] | [INFO] [stdout] 276 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | let ix = stable_swap_client::instruction::pause(ctx.accounts.swap.key, ctx.accounts.admin.key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------- ---------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | | [INFO] [stdout] | expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn pause(swap_pubkey: &Pubkey, admin_pubkey: &Pubkey) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:284:99 [INFO] [stdout] | [INFO] [stdout] 283 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 284 | let ix = stable_swap_client::instruction::pause(ctx.accounts.swap.key, ctx.accounts.admin.key)?; [INFO] [stdout] | -------------------------------------------------------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:285:44 [INFO] [stdout] | [INFO] [stdout] 285 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | stable_swap_client::instruction::unpause(ctx.accounts.swap.key, ctx.accounts.admin.key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------- ---------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | | [INFO] [stdout] | expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn unpause(swap_pubkey: &Pubkey, admin_pubkey: &Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:294:96 [INFO] [stdout] | [INFO] [stdout] 292 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 293 | let ix = [INFO] [stdout] 294 | stable_swap_client::instruction::unpause(ctx.accounts.swap.key, ctx.accounts.admin.key)?; [INFO] [stdout] | ---------------------------------------------------------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:295:44 [INFO] [stdout] | [INFO] [stdout] 295 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | let ix = stable_swap_client::instruction::apply_new_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | ctx.accounts.swap.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 305 | ctx.accounts.admin.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn apply_new_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:306:6 [INFO] [stdout] | [INFO] [stdout] 302 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 303 | let ix = stable_swap_client::instruction::apply_new_admin( [INFO] [stdout] | ______________- [INFO] [stdout] 304 | | ctx.accounts.swap.key, [INFO] [stdout] 305 | | ctx.accounts.admin.key, [INFO] [stdout] 306 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:307:44 [INFO] [stdout] | [INFO] [stdout] 307 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | let ix = stable_swap_client::instruction::commit_new_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 321 | admin_ctx.swap.key, [INFO] [stdout] | ------------------ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 322 | admin_ctx.admin.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 323 | ctx.accounts.new_admin.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn commit_new_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:324:6 [INFO] [stdout] | [INFO] [stdout] 318 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 319 | let admin_ctx = &ctx.accounts.admin_ctx; [INFO] [stdout] 320 | let ix = stable_swap_client::instruction::commit_new_admin( [INFO] [stdout] | ______________- [INFO] [stdout] 321 | | admin_ctx.swap.key, [INFO] [stdout] 322 | | admin_ctx.admin.key, [INFO] [stdout] 323 | | ctx.accounts.new_admin.key, [INFO] [stdout] 324 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:325:44 [INFO] [stdout] | [INFO] [stdout] 325 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | let ix = stable_swap_client::instruction::set_fee_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 334 | ctx.accounts.admin_ctx.swap.key, [INFO] [stdout] | ------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 335 | ctx.accounts.admin_ctx.admin.key, [INFO] [stdout] | -------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 336 | ctx.accounts.fee_account.to_account_info().key, [INFO] [stdout] | ---------------------------------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn set_fee_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:337:6 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 333 | let ix = stable_swap_client::instruction::set_fee_account( [INFO] [stdout] | ______________- [INFO] [stdout] 334 | | ctx.accounts.admin_ctx.swap.key, [INFO] [stdout] 335 | | ctx.accounts.admin_ctx.admin.key, [INFO] [stdout] 336 | | ctx.accounts.fee_account.to_account_info().key, [INFO] [stdout] 337 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:338:44 [INFO] [stdout] | [INFO] [stdout] 338 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | let ix = stable_swap_client::instruction::set_new_fees( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | ctx.accounts.swap.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] 353 | ctx.accounts.admin.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-client-1.8.1/src/instruction.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn set_new_fees( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:355:6 [INFO] [stdout] | [INFO] [stdout] 350 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 351 | let ix = stable_swap_client::instruction::set_new_fees( [INFO] [stdout] | ______________- [INFO] [stdout] 352 | | ctx.accounts.swap.key, [INFO] [stdout] 353 | | ctx.accounts.admin.key, [INFO] [stdout] 354 | | fees, [INFO] [stdout] 355 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, stable_swap_client::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/instructions.rs:356:44 [INFO] [stdout] | [INFO] [stdout] 356 | solana_program::program::invoke_signed(&ix, &ctx.to_account_infos(), ctx.signer_seeds)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/instruction.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_instruction` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.0/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.3.0/src/program.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `LEN` found for struct `stable_swap_client::state::SwapInfo` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/state.rs:15:65 [INFO] [stdout] | [INFO] [stdout] 15 | pub const LEN: usize = stable_swap_client::state::SwapInfo::LEN; [INFO] [stdout] | ^^^ associated item not found in `stable_swap_client::state::SwapInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Pack` which provides `LEN` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use stable_swap_client::solana_program::program_pack::Pack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpack` found for struct `stable_swap_client::state::SwapInfo` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stable-swap-anchor-1.8.1/src/state.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(stable_swap_client::state::SwapInfo::unpack(buf).map(SwapInfo)?) [INFO] [stdout] | ^^^^^^ function or associated item not found in `stable_swap_client::state::SwapInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is an associated function `pack` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/program_pack.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn pack(src: Self, dst: &mut [u8]) -> Result<(), ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Pack` which provides `unpack` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use stable_swap_client::solana_program::program_pack::Pack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stable-swap-anchor` (lib) due to 41 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "99fcbd93979fcb879cb5e4bafbe82f4b1ea6e9102697e1b5557f866806999ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99fcbd93979fcb879cb5e4bafbe82f4b1ea6e9102697e1b5557f866806999ae8", kill_on_drop: false }` [INFO] [stdout] 99fcbd93979fcb879cb5e4bafbe82f4b1ea6e9102697e1b5557f866806999ae8