[INFO] cloning repository https://github.com/heihotech/ray_swap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heihotech/ray_swap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheihotech%2Fray_swap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheihotech%2Fray_swap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6473ec05a76ca4785d416e6ef0e372e6c883382 [INFO] checking heihotech/ray_swap/b6473ec05a76ca4785d416e6ef0e372e6c883382 against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheihotech%2Fray_swap" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/heihotech/ray_swap [INFO] finished tweaking git repo https://github.com/heihotech/ray_swap [INFO] tweaked toml for git repo https://github.com/heihotech/ray_swap written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/heihotech/ray_swap on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/heihotech/ray_swap already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.18.17 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.17 [INFO] [stderr] Downloaded solana-sdk-macro v1.18.17 [INFO] [stderr] Downloaded anchor-spl v0.29.0 [INFO] [stderr] Downloaded spl-pod v0.1.1 [INFO] [stderr] Downloaded spl-program-error v0.3.1 [INFO] [stderr] Downloaded spl-type-length-value v0.3.1 [INFO] [stderr] Downloaded spl-discriminator v0.1.1 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Downloaded solana-logger v1.18.17 [INFO] [stderr] Downloaded spl-associated-token-account v2.3.1 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Downloaded spl-token-group-interface v0.1.1 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.5.1 [INFO] [stderr] Downloaded spl-token-2022 v0.9.0 [INFO] [stderr] Downloaded spl-memo v4.0.1 [INFO] [stderr] Downloaded spl-token v4.0.1 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.2.1 [INFO] [stderr] Downloaded solana-program v1.18.17 [INFO] [stderr] Downloaded solana-sdk v1.18.17 [INFO] [stderr] Downloaded spl-token-2022 v2.0.2 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.18.17 [INFO] [stderr] Downloaded solana-sdk-macro v2.0.0 [INFO] [stderr] Downloaded solana-program v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 003d598e1b7c3759587bc227974ab1d60b7998fec3e0c57ac253348c8612f612 [INFO] running `Command { std: "docker" "start" "-a" "003d598e1b7c3759587bc227974ab1d60b7998fec3e0c57ac253348c8612f612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "003d598e1b7c3759587bc227974ab1d60b7998fec3e0c57ac253348c8612f612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "003d598e1b7c3759587bc227974ab1d60b7998fec3e0c57ac253348c8612f612", kill_on_drop: false }` [INFO] [stdout] 003d598e1b7c3759587bc227974ab1d60b7998fec3e0c57ac253348c8612f612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db665d3ff0dfae3d94891c4c2e143b985760e032abdd28ce9d9bdcdf2b93718d [INFO] running `Command { std: "docker" "start" "-a" "db665d3ff0dfae3d94891c4c2e143b985760e032abdd28ce9d9bdcdf2b93718d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.17 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.17 [INFO] [stderr] Compiling solana-program v2.0.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling solana-program v1.18.17 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling solana-sdk v1.18.17 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling solana-sdk-macro v2.0.0 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling solana-sdk-macro v1.18.17 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking solana-logger v1.18.17 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Checking borsh v1.5.1 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking spl-program-error v0.3.1 [INFO] [stderr] Checking spl-discriminator v0.1.1 [INFO] [stderr] Checking spl-memo v4.0.1 [INFO] [stderr] Checking spl-token v4.0.1 [INFO] [stderr] Checking anchor-lang v0.29.0 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.17 [INFO] [stderr] Checking spl-pod v0.1.1 [INFO] [stderr] Checking spl-type-length-value v0.3.1 [INFO] [stderr] Checking spl-token-group-interface v0.1.1 [INFO] [stderr] Checking spl-token-metadata-interface v0.2.1 [INFO] [stderr] Checking spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Checking spl-tlv-account-resolution v0.4.0 [INFO] [stdout] error[E0659]: `solana_program` is ambiguous [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/error.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[spl_program_error(hash_error_code_start = 2_724_315_840)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] = note: `solana_program` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::solana_program` to refer to this crate unambiguously [INFO] [stdout] note: `solana_program` could also refer to the crate imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spl_program_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `solana_program` to disambiguate [INFO] [stdout] = help: or use `self::solana_program` to refer to this crate unambiguously [INFO] [stdout] = note: this error originates in the attribute macro `spl_program_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | let state = TlvStateBorrowed::unpack(data)?; [INFO] [stdout] | ------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:269:49 [INFO] [stdout] | [INFO] [stdout] 269 | let bytes = state.get_first_bytes::()?; [INFO] [stdout] | ----------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:270:78 [INFO] [stdout] | [INFO] [stdout] 270 | let extra_account_metas = PodSlice::::unpack(bytes)?; [INFO] [stdout] | -------------------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:278:64 [INFO] [stdout] | [INFO] [stdout] 278 | AccountResolutionError::AccountFetchFailed.into() [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:298:68 [INFO] [stdout] | [INFO] [stdout] 298 | AccountResolutionError::AccountFetchFailed.into() [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking spl-transfer-hook-interface v0.5.1 [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:36:80 [INFO] [stdout] | [INFO] [stdout] 36 | return Err(AccountResolutionError::InstructionDataTooSmall.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:43:84 [INFO] [stdout] | [INFO] [stdout] 43 | .ok_or::(AccountResolutionError::AccountNotFound.into())? [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:54:84 [INFO] [stdout] | [INFO] [stdout] 54 | .ok_or::(AccountResolutionError::AccountNotFound.into())? [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:56:88 [INFO] [stdout] | [INFO] [stdout] 56 | .ok_or::(AccountResolutionError::AccountDataNotFound.into())?; [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:60:76 [INFO] [stdout] | [INFO] [stdout] 60 | return Err(AccountResolutionError::AccountDataTooSmall.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:136:66 [INFO] [stdout] | [INFO] [stdout] 136 | .ok_or(AccountResolutionError::InvalidSeedConfig)?, [INFO] [stdout] | ------------------------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, AccountResolutionError>` [INFO] [stdout] | [INFO] [stdout] note: `AccountResolutionError` needs to implement `Into` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AccountResolutionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:161:88 [INFO] [stdout] | [INFO] [stdout] 161 | .ok_or::(AccountResolutionError::AccountNotFound.into())? [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|_| ProgramError::from(AccountResolutionError::InvalidPubkey))?, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:224:67 [INFO] [stdout] | [INFO] [stdout] 224 | Err(AccountResolutionError::AccountTypeNotAccountMeta.into()) [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:112:70 [INFO] [stdout] | [INFO] [stdout] 112 | return Err(AccountResolutionError::NotEnoughBytesForSeed.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | return Err(AccountResolutionError::SeedConfigsTooLarge.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:118:89 [INFO] [stdout] | [INFO] [stdout] 118 | Self::Uninitialized => return Err(AccountResolutionError::InvalidSeedConfig.into()), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:156:72 [INFO] [stdout] | [INFO] [stdout] 156 | return Err(AccountResolutionError::SeedConfigsTooLarge.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:201:76 [INFO] [stdout] | [INFO] [stdout] 201 | .ok_or::(AccountResolutionError::InvalidBytesForSeed.into())?; [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:205:64 [INFO] [stdout] | [INFO] [stdout] 205 | return Err(AccountResolutionError::InvalidBytesForSeed.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:215:64 [INFO] [stdout] | [INFO] [stdout] 215 | return Err(AccountResolutionError::InvalidBytesForSeed.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:226:64 [INFO] [stdout] | [INFO] [stdout] 226 | return Err(AccountResolutionError::InvalidBytesForSeed.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/seeds.rs:234:64 [INFO] [stdout] | [INFO] [stdout] 234 | return Err(AccountResolutionError::InvalidBytesForSeed.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:175:88 [INFO] [stdout] | [INFO] [stdout] 175 | let tlv_size = PodSlice::::size_of(extra_account_metas.len())?; [INFO] [stdout] | ----------------------------------------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:176:59 [INFO] [stdout] | [INFO] [stdout] 174 | let mut state = TlvStateMut::unpack(data).unwrap(); [INFO] [stdout] | ------------------------- this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] 175 | let tlv_size = PodSlice::::size_of(extra_account_metas.len())?; [INFO] [stdout] 176 | let (bytes, _) = state.alloc::(tlv_size, false)?; [INFO] [stdout] | ---------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:177:59 [INFO] [stdout] | [INFO] [stdout] 177 | let mut validation_data = PodSliceMut::init(bytes)?; [INFO] [stdout] | ------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:179:40 [INFO] [stdout] | [INFO] [stdout] 179 | validation_data.push(*meta)?; [INFO] [stdout] | -----------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:192:53 [INFO] [stdout] | [INFO] [stdout] 192 | let bytes = tlv_state.get_first_bytes::()?; [INFO] [stdout] | ----------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 191 | ) -> Result, ProgramError> { [INFO] [stdout] | ---------------------------------------------------- expected `Result, solana_program::program_error::ProgramError>` because of return type [INFO] [stdout] 192 | let bytes = tlv_state.get_first_bytes::()?; [INFO] [stdout] 193 | PodSlice::::unpack(bytes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ProgramError`, found a different `ProgramError` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `solana_program` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.18.17/src/program_error.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ProgramError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-2.0.0/src/program_error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ProgramError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `spl_pod::solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/account.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | solana_program::{ [INFO] [stdout] | -------------- one version of crate `solana_program` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 13 | spl_pod::primitives::PodBool, [INFO] [stdout] | ------- one version of crate `solana_program` used here, as a dependency of crate `spl_pod` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:199:77 [INFO] [stdout] | [INFO] [stdout] 199 | .saturating_add(PodSlice::::size_of(num_items)?)) [INFO] [stdout] | ------------------------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:249:83 [INFO] [stdout] | [INFO] [stdout] 249 | .ok_or::(AccountResolutionError::CalculationFailure.into())?; [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `solana_program::program_error::ProgramError: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:251:69 [INFO] [stdout] | [INFO] [stdout] 251 | return Err(AccountResolutionError::IncorrectAccount.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] = note: required for `AccountResolutionError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:313:51 [INFO] [stdout] | [INFO] [stdout] 313 | let state = TlvStateBorrowed::unpack(data)?; [INFO] [stdout] | ------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:314:49 [INFO] [stdout] | [INFO] [stdout] 314 | let bytes = state.get_first_bytes::()?; [INFO] [stdout] | ----------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:315:78 [INFO] [stdout] | [INFO] [stdout] 315 | let extra_account_metas = PodSlice::::unpack(bytes)?; [INFO] [stdout] | -------------------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_pod::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `solana_program::program_error::ProgramError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/state.rs:345:65 [INFO] [stdout] | [INFO] [stdout] 345 | .ok_or(AccountResolutionError::IncorrectAccount)? [INFO] [stdout] | -----------------------------------------------^ the trait `From` is not implemented for `solana_program::program_error::ProgramError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, AccountResolutionError>` [INFO] [stdout] | [INFO] [stdout] note: `AccountResolutionError` needs to implement `Into` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spl-tlv-account-resolution-0.4.0/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AccountResolutionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] `solana_program::program_error::ProgramError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spl-tlv-account-resolution` (lib) due to 37 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "db665d3ff0dfae3d94891c4c2e143b985760e032abdd28ce9d9bdcdf2b93718d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db665d3ff0dfae3d94891c4c2e143b985760e032abdd28ce9d9bdcdf2b93718d", kill_on_drop: false }` [INFO] [stdout] db665d3ff0dfae3d94891c4c2e143b985760e032abdd28ce9d9bdcdf2b93718d