[INFO] fetching crate wormhole-solana-utils 0.3.0-alpha.1... [INFO] testing wormhole-solana-utils-0.3.0-alpha.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate wormhole-solana-utils 0.3.0-alpha.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wormhole-solana-utils 0.3.0-alpha.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 254 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding solana-program v1.18.26 (available: v4.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-hash v4.3.0 [INFO] [stderr] Downloaded solana-sysvar-id v3.1.0 [INFO] [stderr] Downloaded pastey v0.2.1 [INFO] [stderr] Downloaded solana-sha256-hasher v3.1.0 [INFO] [stderr] Downloaded solana-address v2.6.0 [INFO] [stderr] Downloaded wincode-derive v0.4.3 [INFO] [stderr] Downloaded solana-instruction-error v2.3.0 [INFO] [stderr] Downloaded anchor-lang v1.0.0 [INFO] [stderr] Downloaded anchor-derive-serde v1.0.0 [INFO] [stderr] Downloaded five8_core v1.0.0 [INFO] [stderr] Downloaded solana-atomic-u64 v3.0.1 [INFO] [stderr] Downloaded wincode v0.5.1 [INFO] [stderr] Downloaded anchor-derive-accounts v1.0.0 [INFO] [stderr] Downloaded anchor-attribute-account v1.0.0 [INFO] [stderr] Downloaded anchor-lang-idl v0.1.2 [INFO] [stderr] Downloaded solana-feature-gate-interface v3.1.0 [INFO] [stderr] Downloaded solana-define-syscall v3.0.0 [INFO] [stderr] Downloaded solana-sdk-macro v3.0.1 [INFO] [stderr] Downloaded solana-sanitize v3.0.1 [INFO] [stderr] Downloaded solana-serialize-utils v3.1.1 [INFO] [stderr] Downloaded solana-program-option v3.1.0 [INFO] [stderr] Downloaded anchor-attribute-error v1.0.0 [INFO] [stderr] Downloaded anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Downloaded anchor-attribute-program v1.0.0 [INFO] [stderr] Downloaded anchor-attribute-constant v1.0.0 [INFO] [stderr] Downloaded solana-invoke v0.5.0 [INFO] [stderr] Downloaded anchor-attribute-access-control v1.0.0 [INFO] [stderr] Downloaded solana-program-error v3.0.1 [INFO] [stderr] Downloaded anchor-attribute-event v1.0.0 [INFO] [stderr] Downloaded solana-program-entrypoint v3.1.1 [INFO] [stderr] Downloaded solana-epoch-rewards v3.0.1 [INFO] [stderr] Downloaded solana-epoch-schedule v3.1.0 [INFO] [stderr] Downloaded solana-rent v3.1.0 [INFO] [stderr] Downloaded solana-system-interface v2.0.0 [INFO] [stderr] Downloaded solana-fee-calculator v3.2.0 [INFO] [stderr] Downloaded solana-system-interface v3.2.0 [INFO] [stderr] Downloaded solana-stake-interface v2.0.2 [INFO] [stderr] Downloaded anchor-syn v1.0.0 [INFO] [stderr] Downloaded solana-sysvar v3.1.1 [INFO] [stderr] Downloaded five8 v1.0.0 [INFO] [stderr] Downloaded solana-last-restart-slot v3.0.0 [INFO] [stderr] Downloaded five8_const v1.0.0 [INFO] [stderr] Downloaded solana-program-memory v3.1.0 [INFO] [stderr] Downloaded solana-slot-history v3.0.0 [INFO] [stderr] Downloaded solana-define-syscall v5.0.0 [INFO] [stderr] Downloaded solana-instructions-sysvar v3.0.0 [INFO] [stderr] Downloaded solana-define-syscall v4.0.1 [INFO] [stderr] Downloaded solana-account-info v3.1.1 [INFO] [stderr] Downloaded solana-instruction v3.4.0 [INFO] [stderr] Downloaded solana-pubkey v4.2.0 [INFO] [stderr] Downloaded solana-slot-hashes v3.0.1 [INFO] [stderr] Downloaded solana-stable-layout v3.0.1 [INFO] [stderr] Downloaded solana-pubkey v3.0.0 [INFO] [stderr] Downloaded solana-clock v3.0.1 [INFO] [stderr] Downloaded anchor-derive-space v1.0.0 [INFO] [stderr] Downloaded solana-loader-v3-interface v6.1.1 [INFO] [stderr] Downloaded solana-program-pack v3.1.0 [INFO] [stderr] Downloaded solana-cpi v3.1.0 [INFO] [stderr] Downloaded solana-msg v3.1.0 [INFO] [stderr] Downloaded solana-address v1.1.0 [INFO] [stderr] Downloaded solana-sdk-ids v3.1.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac9d0fa8dd18dc449ec966312956257e06595427aefa34c705dedcd26a80abe6 [INFO] running `Command { std: "docker" "start" "-a" "ac9d0fa8dd18dc449ec966312956257e06595427aefa34c705dedcd26a80abe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac9d0fa8dd18dc449ec966312956257e06595427aefa34c705dedcd26a80abe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9d0fa8dd18dc449ec966312956257e06595427aefa34c705dedcd26a80abe6", kill_on_drop: false }` [INFO] [stdout] ac9d0fa8dd18dc449ec966312956257e06595427aefa34c705dedcd26a80abe6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a64bd59bb3f6d369a88f4f79ba7fc89dcd07ce876c1ea6262bf6a5f88539288 [INFO] running `Command { std: "docker" "start" "-a" "4a64bd59bb3f6d369a88f4f79ba7fc89dcd07ce876c1ea6262bf6a5f88539288", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling borsh v1.6.1 [INFO] [stderr] Compiling five8_core v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling five8 v1.0.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling sha2-const-stable v0.1.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling five8_const v1.0.0 [INFO] [stderr] Compiling solana-atomic-u64 v3.0.1 [INFO] [stderr] Compiling solana-sanitize v3.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-program-memory v3.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.117 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling hybrid-array v0.4.10 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling solana-define-syscall v4.0.1 [INFO] [stderr] Compiling solana-msg v3.1.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cmov v0.5.3 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ctutils v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling borsh-derive v1.6.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling solana-sdk-macro v3.0.1 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Compiling blake3 v1.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling crypto-common v0.2.1 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.117 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling solana-program-error v3.0.1 [INFO] [stderr] Compiling solana-instruction-error v2.3.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling digest v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Compiling solana-hash v4.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling solana-fee-calculator v3.2.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling anchor-syn v1.0.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling solana-sha256-hasher v3.1.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.117 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling solana-address v2.6.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling constant_time_eq v0.4.2 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling solana-sdk-ids v3.1.0 [INFO] [stderr] Compiling solana-pubkey v4.2.0 [INFO] [stderr] Compiling solana-instruction v3.4.0 [INFO] [stderr] Compiling solana-account-info v3.1.1 [INFO] [stderr] Compiling solana-sysvar-id v3.1.0 [INFO] [stderr] Compiling solana-address v1.1.0 [INFO] [stderr] Compiling solana-program-entrypoint v3.1.1 [INFO] [stderr] Compiling solana-last-restart-slot v3.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-epoch-schedule v3.1.0 [INFO] [stderr] Compiling solana-slot-history v3.0.0 [INFO] [stderr] Compiling solana-clock v3.0.1 [INFO] [stderr] Compiling solana-epoch-rewards v3.0.1 [INFO] [stderr] Compiling solana-rent v3.1.0 [INFO] [stderr] Compiling solana-slot-hashes v3.0.1 [INFO] [stderr] Compiling solana-system-interface v2.0.0 [INFO] [stderr] Compiling solana-cpi v3.1.0 [INFO] [stderr] Compiling solana-system-interface v3.2.0 [INFO] [stderr] Compiling solana-stable-layout v3.0.1 [INFO] [stderr] Compiling solana-sysvar v3.1.1 [INFO] [stderr] Compiling solana-serialize-utils v3.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling solana-define-syscall v3.0.0 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling keccak-const v0.2.0 [INFO] [stderr] Compiling solana-stake-interface v2.0.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling const-crypto v0.3.0 [INFO] [stderr] Compiling solana-invoke v0.5.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling solana-instructions-sysvar v3.0.0 [INFO] [stderr] Compiling solana-loader-v3-interface v6.1.1 [INFO] [stderr] Compiling solana-feature-gate-interface v3.1.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling anchor-attribute-error v1.0.0 [INFO] [stderr] Compiling anchor-derive-serde v1.0.0 [INFO] [stderr] Compiling anchor-attribute-program v1.0.0 [INFO] [stderr] Compiling anchor-attribute-account v1.0.0 [INFO] [stderr] Compiling anchor-derive-accounts v1.0.0 [INFO] [stderr] Compiling anchor-attribute-event v1.0.0 [INFO] [stderr] Compiling anchor-attribute-constant v1.0.0 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling solana-program-pack v3.1.0 [INFO] [stderr] Compiling anchor-derive-space v1.0.0 [INFO] [stderr] Compiling anchor-attribute-access-control v1.0.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling solana-program-option v3.1.0 [INFO] [stderr] Compiling anchor-lang v1.0.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling 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] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | pub program_data: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub current_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | pub new_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | pub buffer: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | pub current_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub new_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | pub buffer: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | pub current_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | pub new_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | pub program: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | pub program_data: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | pub buffer: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | pub authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | pub spill: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | pub rent: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::deprecated_account_info_usage`: Use `UncheckedAccount` instead of `AccountInfo` for safer unchecked accounts. [INFO] [stdout] --> src/cpi/bpf_loader_upgradeable.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | pub clock: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: std::convert::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 `std::convert::From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `std::convert::From`: [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::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: std::convert::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 `std::convert::From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `std::convert::From`: [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::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] [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: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&__Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [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: expected enum `Option<&solana_program::pubkey::Pubkey>` [INFO] [stdout] found enum `Option<&__Pubkey>` [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-3.4.0/src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | 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: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&__Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [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-3.4.0/src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | 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: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [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-3.4.0/src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | 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: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [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-3.4.0/src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | 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: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [INFO] [stdout] = note: expected reference `&solana_program::pubkey::Pubkey` [INFO] [stdout] found reference `&'info __Pubkey` [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-3.4.0/src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | 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[E0609]: no field `program` on type `CpiContext<'_, '_, '_, 'info, CreateAccount<'info>>` [INFO] [stdout] --> src/cpi/system_program.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | ctx.program.to_account_info(), [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `accounts`, `remaining_accounts`, `program_id`, `signer_seeds` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wormhole_solana_utils-785b134122723604.long-type-12347227698246676526.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `program` on type `CpiContext<'_, '_, '_, 'info, CreateAccount<'info>>` [INFO] [stdout] --> src/cpi/system_program.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | ctx.program.to_account_info(), [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `accounts`, `remaining_accounts`, `program_id`, `signer_seeds` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wormhole_solana_utils-785b134122723604.long-type-12347227698246676526.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `program` on type `CpiContext<'_, '_, '_, 'info, CreateAccount<'info>>` [INFO] [stdout] --> src/cpi/system_program.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | ctx.program, [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `accounts`, `remaining_accounts`, `program_id`, `signer_seeds` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wormhole_solana_utils-785b134122723604.long-type-12347227698246676526.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_to_vec` found for type parameter `T` in the current scope [INFO] [stdout] --> src/cpi/mod.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn invoke_data_with_context<'info, A, T>( [INFO] [stdout] | - method `try_to_vec` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 17 | invoke_raw_data_with_context(data.try_to_vec()?, ctx) [INFO] [stdout] | ^^^^^^^^^^ method not found in `T` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `try_to_vec`, perhaps you need to restrict type parameter `T` with one of them: [INFO] [stdout] | [INFO] [stdout] 15 | T: AnchorSerialize + borsh::ser::BorshSerialize, [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] 15 | T: AnchorSerialize + borsh::ser::BorshSerialize, [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `program` on type `anchor_lang::context::CpiContext<'_, '_, '_, 'info, A>` [INFO] [stdout] --> src/cpi/mod.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | program_id: ctx.program.key(), [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `accounts`, `remaining_accounts`, `program_id`, `signer_seeds` [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-3.4.0/src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | 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: std::convert::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 `std::convert::From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `std::convert::From`: [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::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: std::convert::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 `std::convert::From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `std::convert::From`: [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::From` [INFO] [stdout] `anchor_lang::error::Error` implements `std::convert::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, E0599, E0609. [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 21 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a64bd59bb3f6d369a88f4f79ba7fc89dcd07ce876c1ea6262bf6a5f88539288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a64bd59bb3f6d369a88f4f79ba7fc89dcd07ce876c1ea6262bf6a5f88539288", kill_on_drop: false }` [INFO] [stdout] 4a64bd59bb3f6d369a88f4f79ba7fc89dcd07ce876c1ea6262bf6a5f88539288