[INFO] fetching crate wormhole-solana-utils 0.3.0-alpha.1... [INFO] testing wormhole-solana-utils-0.3.0-alpha.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wormhole-solana-utils 0.3.0-alpha.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wormhole-solana-utils 0.3.0-alpha.1 [INFO] finished tweaking crates.io crate wormhole-solana-utils 0.3.0-alpha.1 [INFO] tweaked toml for crates.io crate wormhole-solana-utils 0.3.0-alpha.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wormhole-solana-utils 0.3.0-alpha.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 256 packages to latest compatible versions [INFO] [stderr] Adding solana-program v1.18.26 (available: v3.0.0) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Downloaded anchor-derive-serde v0.31.1 [INFO] [stderr] Downloaded anchor-lang v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-constant v0.31.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.18.26 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.31.1 [INFO] [stderr] Downloaded anchor-derive-accounts v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-event v0.31.1 [INFO] [stderr] Downloaded anchor-lang-idl v0.1.2 [INFO] [stderr] Downloaded anchor-derive-space v0.31.1 [INFO] [stderr] Downloaded ark-bn254 v0.4.0 [INFO] [stderr] Downloaded anchor-syn v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-account v0.31.1 [INFO] [stderr] Downloaded solana-program v1.18.26 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.26 [INFO] [stderr] Downloaded anchor-attribute-program v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-error v0.31.1 [INFO] [stderr] Downloaded light-poseidon v0.2.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.18.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2083f769b694a6fc5895e159ae3e1ad0e4c8fb7d44993bacb3369f3e4b41d32c [INFO] running `Command { std: "docker" "start" "-a" "2083f769b694a6fc5895e159ae3e1ad0e4c8fb7d44993bacb3369f3e4b41d32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2083f769b694a6fc5895e159ae3e1ad0e4c8fb7d44993bacb3369f3e4b41d32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2083f769b694a6fc5895e159ae3e1ad0e4c8fb7d44993bacb3369f3e4b41d32c", kill_on_drop: false }` [INFO] [stdout] 2083f769b694a6fc5895e159ae3e1ad0e4c8fb7d44993bacb3369f3e4b41d32c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebb3f1571aa9789e2b9f32505a5d273ba74582509bfeace34414b7ea832c1e1a [INFO] running `Command { std: "docker" "start" "-a" "ebb3f1571aa9789e2b9f32505a5d273ba74582509bfeace34414b7ea832c1e1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling solana-sha256-hasher v2.3.0 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-epoch-schedule 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-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling anchor-derive-serde v0.31.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.31.1 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling anchor-attribute-event v0.31.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.31.1 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-vote-interface v2.2.6 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling solana-sysvar v2.3.0 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling solana-program v2.3.0 [INFO] [stderr] Compiling anchor-lang v0.31.1 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling wormhole-solana-utils v0.3.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `anchor` and `default` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `anchor` and `default` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `anchor` and `default` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `anchor` and `default` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> src/account_info/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | info.realloc(0, false).map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [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] = note: required for `solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> src/account_info/mod.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | info.realloc(0, false).map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [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] = note: required for `solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | fn id() -> Pubkey { [INFO] [stdout] | ------ expected `__Pubkey` because of return type [INFO] [stdout] 10 | ID [INFO] [stdout] | ^^ expected `__Pubkey`, found `solana_program::pubkey::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `solana_program::pubkey::Pubkey` and `__Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | &bpf_loader_upgradeable::set_upgrade_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | program_id, [INFO] [stdout] | ---------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 31 | ctx.accounts.current_authority.key, [INFO] [stdout] | ---------------------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | ctx.accounts.new_authority.as_ref().map(|a| a.key), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | 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/solana-program-1.18.26/src/bpf_loader_upgradeable.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn set_upgrade_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 28 | invoke_with_context( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] 29 | / &bpf_loader_upgradeable::set_upgrade_authority( [INFO] [stdout] 30 | | program_id, [INFO] [stdout] 31 | | ctx.accounts.current_authority.key, [INFO] [stdout] 32 | | ctx.accounts.new_authority.as_ref().map(|a| a.key), [INFO] [stdout] 33 | | ), [INFO] [stdout] | |_____________^ expected `Instruction`, found `solana_program::instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `solana_program::instruction::Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `solana_program::instruction::Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/instruction.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | 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] --> src/cpi/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn invoke_with_context<'info, A>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | ix: &Instruction, [INFO] [stdout] | ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | &bpf_loader_upgradeable::set_upgrade_authority_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | program_id, [INFO] [stdout] | ---------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 81 | ctx.accounts.current_authority.key, [INFO] [stdout] | ---------------------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 82 | ctx.accounts.new_authority.key, [INFO] [stdout] | ------------------------------ expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | 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/solana-program-1.18.26/src/bpf_loader_upgradeable.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn set_upgrade_authority_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 78 | invoke_with_context( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] 79 | / &bpf_loader_upgradeable::set_upgrade_authority_checked( [INFO] [stdout] 80 | | program_id, [INFO] [stdout] 81 | | ctx.accounts.current_authority.key, [INFO] [stdout] 82 | | ctx.accounts.new_authority.key, [INFO] [stdout] 83 | | ), [INFO] [stdout] | |_____________^ expected `Instruction`, found `solana_program::instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `solana_program::instruction::Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `solana_program::instruction::Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/instruction.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | 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] --> src/cpi/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn invoke_with_context<'info, A>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | ix: &Instruction, [INFO] [stdout] | ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | &bpf_loader_upgradeable::set_buffer_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | ctx.accounts.buffer.key, [INFO] [stdout] | ----------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 101 | ctx.accounts.current_authority.key, [INFO] [stdout] | ---------------------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 102 | ctx.accounts.new_authority.key, [INFO] [stdout] | ------------------------------ expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | 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/solana-program-1.18.26/src/bpf_loader_upgradeable.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn set_buffer_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 98 | invoke_with_context( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] 99 | / &bpf_loader_upgradeable::set_buffer_authority( [INFO] [stdout] 100 | | ctx.accounts.buffer.key, [INFO] [stdout] 101 | | ctx.accounts.current_authority.key, [INFO] [stdout] 102 | | ctx.accounts.new_authority.key, [INFO] [stdout] 103 | | ), [INFO] [stdout] | |_____________^ expected `Instruction`, found `solana_program::instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `solana_program::instruction::Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `solana_program::instruction::Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/instruction.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | 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] --> src/cpi/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn invoke_with_context<'info, A>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | ix: &Instruction, [INFO] [stdout] | ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | &bpf_loader_upgradeable::set_buffer_authority_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | ctx.accounts.buffer.key, [INFO] [stdout] | ----------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 121 | ctx.accounts.current_authority.key, [INFO] [stdout] | ---------------------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 122 | ctx.accounts.new_authority.key, [INFO] [stdout] | ------------------------------ expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | 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/solana-program-1.18.26/src/bpf_loader_upgradeable.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn set_buffer_authority_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 118 | invoke_with_context( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] 119 | / &bpf_loader_upgradeable::set_buffer_authority_checked( [INFO] [stdout] 120 | | ctx.accounts.buffer.key, [INFO] [stdout] 121 | | ctx.accounts.current_authority.key, [INFO] [stdout] 122 | | ctx.accounts.new_authority.key, [INFO] [stdout] 123 | | ), [INFO] [stdout] | |_____________^ expected `Instruction`, found `solana_program::instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `solana_program::instruction::Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `solana_program::instruction::Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/instruction.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | 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] --> src/cpi/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn invoke_with_context<'info, A>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | ix: &Instruction, [INFO] [stdout] | ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | &bpf_loader_upgradeable::upgrade( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | ctx.accounts.program.key, [INFO] [stdout] | ------------------------ expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 139 | ctx.accounts.buffer.key, [INFO] [stdout] | ----------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 140 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] 141 | ctx.accounts.spill.key, [INFO] [stdout] | ---------------------- expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::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: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/pubkey.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | 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/solana-program-1.18.26/src/bpf_loader_upgradeable.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn upgrade( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 136 | invoke_with_context( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] 137 | / &bpf_loader_upgradeable::upgrade( [INFO] [stdout] 138 | | ctx.accounts.program.key, [INFO] [stdout] 139 | | ctx.accounts.buffer.key, [INFO] [stdout] 140 | | ctx.accounts.authority.key, [INFO] [stdout] 141 | | ctx.accounts.spill.key, [INFO] [stdout] 142 | | ), [INFO] [stdout] | |_____________^ expected `Instruction`, found `solana_program::instruction::Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `solana_program::instruction::Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `solana_program::instruction::Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/instruction.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | 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] --> src/cpi/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn invoke_with_context<'info, A>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | ix: &Instruction, [INFO] [stdout] | ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpi/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | solana_program::program::invoke_signed(ix, &ctx.to_account_infos(), ctx.signer_seeds) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `solana_program::instruction::Instruction` have similar names, but are actually distinct types [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: `solana_program::instruction::Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/instruction.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&Vec>` [INFO] [stdout] --> src/cpi/mod.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | solana_program::program::invoke_signed(ix, &ctx.to_account_infos(), ctx.signer_seeds) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&Vec<__AccountInfo<'_>>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.26/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> src/cpi/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / solana_program::program::invoke_signed(ix, &ctx.to_account_infos(), ctx.signer_seeds) [INFO] [stdout] 45 | | .map_err(Into::into) [INFO] [stdout] | |____________________________^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [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] = note: required for `solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> src/cpi/mod.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | .map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [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] = note: required for `solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wormhole-solana-utils` (lib) due to 16 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ebb3f1571aa9789e2b9f32505a5d273ba74582509bfeace34414b7ea832c1e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb3f1571aa9789e2b9f32505a5d273ba74582509bfeace34414b7ea832c1e1a", kill_on_drop: false }` [INFO] [stdout] ebb3f1571aa9789e2b9f32505a5d273ba74582509bfeace34414b7ea832c1e1a