[INFO] fetching crate pools 0.1.16... [INFO] testing pools-0.1.16 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pools 0.1.16 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pools 0.1.16 [INFO] finished tweaking crates.io crate pools 0.1.16 [INFO] tweaked toml for crates.io crate pools 0.1.16 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pools 0.1.16 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 262 packages to latest compatible versions [INFO] [stderr] Adding anchor-spl v0.25.0 (available: v0.31.1) [INFO] [stderr] Adding solana-frozen-abi v1.10.41 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi-macro v1.10.41 (available: v1.18.26) [INFO] [stderr] Adding solana-program v1.10.41 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk-macro v1.10.41 (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.1 (available: v3.5.0) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vipers v2.0.6 [INFO] [stderr] Downloaded anchor-spl v0.25.0 [INFO] [stderr] Downloaded spl-associated-token-account v1.0.5 [INFO] [stderr] Downloaded stable-swap-anchor v1.8.1 [INFO] [stderr] Downloaded stable-swap-client v1.8.1 [INFO] [stderr] Downloaded spl-token v3.3.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bc874da21ac25d63453809a71b25e41c946c8f104fe1354dff85e350ba84f0f [INFO] running `Command { std: "docker" "start" "-a" "8bc874da21ac25d63453809a71b25e41c946c8f104fe1354dff85e350ba84f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bc874da21ac25d63453809a71b25e41c946c8f104fe1354dff85e350ba84f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc874da21ac25d63453809a71b25e41c946c8f104fe1354dff85e350ba84f0f", kill_on_drop: false }` [INFO] [stdout] 8bc874da21ac25d63453809a71b25e41c946c8f104fe1354dff85e350ba84f0f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 02526c2714d14a24ffc54f9c6b8c9f54bb715c6cc0d542b357df91a3c673cbf1 [INFO] running `Command { std: "docker" "start" "-a" "02526c2714d14a24ffc54f9c6b8c9f54bb715c6cc0d542b357df91a3c673cbf1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [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] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.41 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.10.41 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling solana-program v1.10.41 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [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 wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling solana-sdk-macro v1.10.41 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling solana-sha256-hasher v2.2.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling anchor-syn v0.25.0 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-program-error v2.2.2 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling solana-vote-interface v2.2.5 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling solana-sysvar v2.2.2 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling anchor-attribute-error v0.25.0 [INFO] [stderr] Compiling anchor-attribute-program v0.25.0 [INFO] [stderr] Compiling anchor-attribute-account v0.25.0 [INFO] [stderr] Compiling anchor-attribute-event v0.25.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.25.0 [INFO] [stderr] Compiling anchor-attribute-state v0.25.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.25.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.25.0 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.25.0 [INFO] [stderr] Compiling solana-program v2.3.0 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling anchor-derive-accounts 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-derive-serde v0.31.1 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-lang v0.31.1 [INFO] [stderr] Compiling spl-token v3.3.1 [INFO] [stderr] Compiling anchor-lang v0.25.0 [INFO] [stderr] Compiling stable-swap-client v1.8.1 [INFO] [stderr] Compiling stable-swap-anchor v1.8.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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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] [stderr] Compiling spl-associated-token-account v1.0.5 [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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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.10.41/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] [stderr] Compiling anchor-spl v0.25.0 [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" "02526c2714d14a24ffc54f9c6b8c9f54bb715c6cc0d542b357df91a3c673cbf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02526c2714d14a24ffc54f9c6b8c9f54bb715c6cc0d542b357df91a3c673cbf1", kill_on_drop: false }` [INFO] [stdout] 02526c2714d14a24ffc54f9c6b8c9f54bb715c6cc0d542b357df91a3c673cbf1