[INFO] cloning repository https://github.com/igneous-labs/sanctum-solana-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igneous-labs/sanctum-solana-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figneous-labs%2Fsanctum-solana-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figneous-labs%2Fsanctum-solana-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc8426210a11e2c74ff21ae272dee953d457d0cd [INFO] linting igneous-labs/sanctum-solana-utils against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figneous-labs%2Fsanctum-solana-utils" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/igneous-labs/sanctum-solana-utils [INFO] finished tweaking git repo https://github.com/igneous-labs/sanctum-solana-utils [INFO] tweaked toml for git repo https://github.com/igneous-labs/sanctum-solana-utils written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/igneous-labs/sanctum-solana-utils on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/igneous-labs/sanctum-solana-utils 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" "+nightly" "fetch" "--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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded keccak v0.1.4 [INFO] [stderr] Downloaded spl-program-error v0.5.0 [INFO] [stderr] Downloaded solana-sdk-macro v2.0.4 [INFO] [stderr] Downloaded num-derive v0.4.1 [INFO] [stderr] Downloaded solana-loader-v4-program v2.0.4 [INFO] [stderr] Downloaded solana-inline-spl v2.0.4 [INFO] [stderr] Downloaded reqwest-middleware v0.2.5 [INFO] [stderr] Downloaded spl-associated-token-account v4.0.0 [INFO] [stderr] Downloaded solana-banks-interface v2.0.4 [INFO] [stderr] Downloaded solana-quic-client v2.0.4 [INFO] [stderr] Downloaded solana-connection-cache v2.0.4 [INFO] [stderr] Downloaded medians v3.0.8 [INFO] [stderr] Downloaded solana-cli-config v2.0.4 [INFO] [stderr] Downloaded solana-poseidon v2.0.4 [INFO] [stderr] Downloaded task-local-extensions v0.1.4 [INFO] [stderr] Downloaded libredox v0.0.1 [INFO] [stderr] Downloaded solana-net-utils v2.0.4 [INFO] [stderr] Downloaded solana-client v2.0.4 [INFO] [stderr] Downloaded solana-remote-wallet v2.0.4 [INFO] [stderr] Downloaded indxvec v1.8.9 [INFO] [stderr] Downloaded solana-rpc-client v2.0.4 [INFO] [stderr] Downloaded solana-streamer v2.0.4 [INFO] [stderr] Downloaded solana-bucket-map v2.0.4 [INFO] [stderr] Downloaded solana-bpf-loader-program v2.0.4 [INFO] [stderr] Downloaded spl-token-2022 v4.0.0 [INFO] [stderr] Downloaded winnow v0.5.28 [INFO] [stderr] Downloaded solana_rbpf v0.8.1 [INFO] [stderr] Downloaded solana-sdk v2.0.4 [INFO] [stderr] Downloaded solana-program v2.0.4 [INFO] [stderr] Downloaded serde_with v3.5.0 [INFO] [stderr] Downloaded solana-program-test v2.0.4 [INFO] [stderr] Downloaded webpki-roots v0.25.3 [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] [stderr] Downloaded async-compression v0.4.5 [INFO] [stderr] Downloaded solana-svm v2.0.4 [INFO] [stderr] Downloaded solana-runtime v2.0.4 [INFO] [stderr] Downloaded solana-stake-program v2.0.4 [INFO] [stderr] Downloaded solana-program-runtime v2.0.4 [INFO] [stderr] Downloaded spl-token v6.0.0 [INFO] [stderr] Downloaded solana-accounts-db v2.0.4 [INFO] [stderr] Downloaded serde_with_macros v3.5.0 [INFO] [stderr] Downloaded lz4-sys v1.10.0 [INFO] [stderr] Downloaded solana-clap-utils v2.0.4 [INFO] [stderr] Downloaded deranged v0.3.10 [INFO] [stderr] Downloaded walkdir v2.4.0 [INFO] [stderr] Downloaded index_list v0.2.11 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.16 [INFO] [stderr] Downloaded crossbeam-deque v0.8.4 [INFO] [stderr] Downloaded solana-perf v2.0.4 [INFO] [stderr] Downloaded solana-transaction-status v2.0.4 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.7.0 [INFO] [stderr] Downloaded lz4 v1.26.0 [INFO] [stderr] Downloaded solana-vote-program v2.0.4 [INFO] [stderr] Downloaded solana-measure v2.0.4 [INFO] [stderr] Downloaded data-encoding v2.5.0 [INFO] [stderr] Downloaded zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.4.0 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.7.0 [INFO] [stderr] Downloaded redox_users v0.4.4 [INFO] [stderr] Downloaded solana-rpc-client-nonce-utils v2.0.4 [INFO] [stderr] Downloaded tokio v1.35.0 [INFO] [stderr] Downloaded solana-thin-client v2.0.4 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded solana-udp-client v2.0.4 [INFO] [stderr] Downloaded solana-pubsub-client v2.0.4 [INFO] [stderr] Downloaded solana-cost-model v2.0.4 [INFO] [stderr] Downloaded caps v0.5.5 [INFO] [stderr] Downloaded solana-zk-elgamal-proof-program v2.0.4 [INFO] [stderr] Downloaded solana-zk-token-proof-program v2.0.4 [INFO] [stderr] Downloaded solana-version v2.0.4 [INFO] [stderr] Downloaded spl-memo v5.0.0 [INFO] [stderr] Downloaded spl-token-group-interface v0.3.0 [INFO] [stderr] Downloaded solana-curve25519 v2.0.4 [INFO] [stderr] Downloaded solana-compute-budget v2.0.4 [INFO] [stderr] Downloaded solana-metrics v2.0.4 [INFO] [stderr] Downloaded solana-account-decoder v2.0.4 [INFO] [stderr] Downloaded enum-iterator-derive v1.4.0 [INFO] [stderr] Downloaded solana-type-overrides v2.0.4 [INFO] [stderr] Downloaded solana-vote v2.0.4 [INFO] [stderr] Downloaded solana-banks-client v2.0.4 [INFO] [stderr] Downloaded solana-tpu-client v2.0.4 [INFO] [stderr] Downloaded solana-transaction-metrics-tracker v2.0.4 [INFO] [stderr] Downloaded solana-banks-server v2.0.4 [INFO] [stderr] Downloaded solana-rpc-client-api v2.0.4 [INFO] [stderr] Downloaded solana-address-lookup-table-program v2.0.4 [INFO] [stderr] Downloaded solana-system-program v2.0.4 [INFO] [stderr] Downloaded solana-rayon-threadlimit v2.0.4 [INFO] [stderr] Downloaded solana-config-program v2.0.4 [INFO] [stderr] Downloaded solana-send-transaction-service v2.0.4 [INFO] [stderr] Downloaded brotli v3.4.0 [INFO] [stderr] Downloaded solana-logger v2.0.4 [INFO] [stderr] Downloaded solana-compute-budget-program v2.0.4 [INFO] [stderr] Downloaded xattr v1.1.3 [INFO] [stderr] Downloaded spl-discriminator v0.3.0 [INFO] [stderr] Downloaded spl-pod v0.3.1 [INFO] [stderr] Downloaded spl-type-length-value v0.5.0 [INFO] [stderr] Downloaded aquamarine v0.3.3 [INFO] [stderr] Downloaded solana-zk-sdk v2.0.4 [INFO] [stderr] Downloaded solana-zk-token-sdk v2.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 237968b004f1d7e43fbd251c429a555ec6235a0cd51a8ea85c44c1a2f9bc9689 [INFO] running `Command { std: "docker" "start" "-a" "237968b004f1d7e43fbd251c429a555ec6235a0cd51a8ea85c44c1a2f9bc9689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "237968b004f1d7e43fbd251c429a555ec6235a0cd51a8ea85c44c1a2f9bc9689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237968b004f1d7e43fbd251c429a555ec6235a0cd51a8ea85c44c1a2f9bc9689", kill_on_drop: false }` [INFO] [stdout] 237968b004f1d7e43fbd251c429a555ec6235a0cd51a8ea85c44c1a2f9bc9689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2deea77a87ef20e5f44f18de4f7b82c42b5f1ad4326ae2dfbf422e2e8bef3ef0 [INFO] running `Command { std: "docker" "start" "-a" "2deea77a87ef20e5f44f18de4f7b82c42b5f1ad4326ae2dfbf422e2e8bef3ef0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling winnow v0.5.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling solana-program v2.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling solana-sdk v2.0.4 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Compiling solana-compute-budget v2.0.4 [INFO] [stderr] Compiling solana-vote v2.0.4 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Compiling solana-program-runtime v2.0.4 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking solana-type-overrides v2.0.4 [INFO] [stderr] Checking eager v0.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Compiling solana-vote-program v2.0.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling solana-version v2.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking deranged v0.3.10 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking task-local-extensions v0.1.4 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking percentage v0.1.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking solana-rayon-threadlimit v2.0.4 [INFO] [stderr] Compiling solana-perf v2.0.4 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling solana-sdk-macro v2.0.4 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking goblin v0.5.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling dlopen2_derive v0.3.0 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking dlopen2 v0.5.0 [INFO] [stderr] Checking solana-logger v2.0.4 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lz4-sys v1.10.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling solana-address-lookup-table-program v2.0.4 [INFO] [stderr] Compiling solana-stake-program v2.0.4 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking borsh v1.5.1 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling solana-cost-model v2.0.4 [INFO] [stderr] Compiling solana-accounts-db v2.0.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking solana_rbpf v0.8.1 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking opentelemetry v0.17.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Checking seqlock v0.2.0 [INFO] [stderr] Compiling tempfile v3.11.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking tracing-opentelemetry v0.17.4 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-runtime v2.0.4 [INFO] [stderr] Checking solana-nohash-hasher v0.2.1 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking index_list v0.2.11 [INFO] [stderr] Compiling aquamarine v0.3.3 [INFO] [stderr] Checking dir-diff v0.3.3 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking indxvec v1.8.9 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking medians v3.0.8 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking async-compression v0.4.5 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling solana-svm v2.0.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking xattr v1.1.3 [INFO] [stderr] Checking tarpc v0.29.0 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking webpki-roots v0.24.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking lz4 v1.26.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking reqwest-middleware v0.2.5 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking solana-poseidon v2.0.4 [INFO] [stderr] Checking solana-curve25519 v2.0.4 [INFO] [stderr] Checking spl-program-error v0.5.0 [INFO] [stderr] Checking spl-discriminator v0.3.0 [INFO] [stderr] Checking spl-memo v5.0.0 [INFO] [stderr] Checking spl-token v6.0.0 [INFO] [stderr] Checking stake_program_interface v1.17.13 (/opt/rustwide/workdir/generated/stake_program_interface) [INFO] [stderr] Checking spl_token_interface v4.0.0 (/opt/rustwide/workdir/generated/spl_token_interface) [INFO] [stderr] Checking spl_associated_token_account_interface v2.0.0 (/opt/rustwide/workdir/generated/spl_associated_token_account_interface) [INFO] [stderr] Checking system_program_interface v1.17.13 (/opt/rustwide/workdir/generated/system_program_interface) [INFO] [stderr] Checking spl_stake_pool_interface v1.0.0 (/opt/rustwide/workdir/generated/spl_stake_pool_interface) [INFO] [stderr] Checking sanctum-token-ratio v0.2.0 (/opt/rustwide/workdir/sanctum-token-ratio) [INFO] [stderr] Checking sanctum-misc-utils v0.1.0 (/opt/rustwide/workdir/sanctum-misc-utils) [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | _ => Err(std::io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 27 | | std::io::ErrorKind::Other, [INFO] [stdout] 28 | | format!("discm {:?} not found", maybe_discm), [INFO] [stdout] 29 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 26 ~ _ => Err(std::io::Error::other( [INFO] [stdout] 27 ~ format!("discm {:?} not found", maybe_discm), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 188 | | std::io::ErrorKind::Other, [INFO] [stdout] 189 | | format!( [INFO] [stdout] 190 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 191 | | CREATE_IX_DISCM, maybe_discm [INFO] [stdout] 192 | | ), [INFO] [stdout] 193 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 187 ~ return Err(std::io::Error::other( [INFO] [stdout] 188 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 420 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 421 | | std::io::ErrorKind::Other, [INFO] [stdout] 422 | | format!( [INFO] [stdout] 423 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 424 | | CREATE_IDEMPOTENT_IX_DISCM, maybe_discm [INFO] [stdout] 425 | | ), [INFO] [stdout] 426 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 420 ~ return Err(std::io::Error::other( [INFO] [stdout] 421 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:669:24 [INFO] [stdout] | [INFO] [stdout] 669 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 670 | | std::io::ErrorKind::Other, [INFO] [stdout] 671 | | format!( [INFO] [stdout] 672 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 673 | | RECOVER_NESTED_IX_DISCM, maybe_discm [INFO] [stdout] 674 | | ), [INFO] [stdout] 675 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 669 ~ return Err(std::io::Error::other( [INFO] [stdout] 670 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/errors.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Error, num_derive::FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SplAssociatedTokenAccountError` [INFO] [stdout] 8 | pub enum SplAssociatedTokenAccountError { [INFO] [stdout] | ------------------------------ `SplAssociatedTokenAccountError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | _ => Err(std::io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 27 | | std::io::ErrorKind::Other, [INFO] [stdout] 28 | | format!("discm {:?} not found", maybe_discm), [INFO] [stdout] 29 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 26 ~ _ => Err(std::io::Error::other( [INFO] [stdout] 27 ~ format!("discm {:?} not found", maybe_discm), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 188 | | std::io::ErrorKind::Other, [INFO] [stdout] 189 | | format!( [INFO] [stdout] 190 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 191 | | CREATE_IX_DISCM, maybe_discm [INFO] [stdout] 192 | | ), [INFO] [stdout] 193 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 187 ~ return Err(std::io::Error::other( [INFO] [stdout] 188 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 420 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 421 | | std::io::ErrorKind::Other, [INFO] [stdout] 422 | | format!( [INFO] [stdout] 423 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 424 | | CREATE_IDEMPOTENT_IX_DISCM, maybe_discm [INFO] [stdout] 425 | | ), [INFO] [stdout] 426 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 420 ~ return Err(std::io::Error::other( [INFO] [stdout] 421 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/instructions.rs:669:24 [INFO] [stdout] | [INFO] [stdout] 669 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 670 | | std::io::ErrorKind::Other, [INFO] [stdout] 671 | | format!( [INFO] [stdout] 672 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 673 | | RECOVER_NESTED_IX_DISCM, maybe_discm [INFO] [stdout] 674 | | ), [INFO] [stdout] 675 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 669 ~ return Err(std::io::Error::other( [INFO] [stdout] 670 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> generated/spl_associated_token_account_interface/src/errors.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Error, num_derive::FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SplAssociatedTokenAccountError` [INFO] [stdout] 8 | pub enum SplAssociatedTokenAccountError { [INFO] [stdout] | ------------------------------ `SplAssociatedTokenAccountError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | _ => Err(std::io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 93 | | std::io::ErrorKind::Other, [INFO] [stdout] 94 | | format!("discm {:?} not found", maybe_discm), [INFO] [stdout] 95 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 92 ~ _ => Err(std::io::Error::other( [INFO] [stdout] 93 ~ format!("discm {:?} not found", maybe_discm), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 282 | | std::io::ErrorKind::Other, [INFO] [stdout] 283 | | format!( [INFO] [stdout] 284 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 285 | | INITIALIZE_MINT_IX_DISCM, maybe_discm [INFO] [stdout] 286 | | ), [INFO] [stdout] 287 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 281 ~ return Err(std::io::Error::other( [INFO] [stdout] 282 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 486 | | std::io::ErrorKind::Other, [INFO] [stdout] 487 | | format!( [INFO] [stdout] 488 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 489 | | INITIALIZE_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 490 | | ), [INFO] [stdout] 491 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 485 ~ return Err(std::io::Error::other( [INFO] [stdout] 486 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:660:24 [INFO] [stdout] | [INFO] [stdout] 660 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 661 | | std::io::ErrorKind::Other, [INFO] [stdout] 662 | | format!( [INFO] [stdout] 663 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 664 | | INITIALIZE_MULTISIG_IX_DISCM, maybe_discm [INFO] [stdout] 665 | | ), [INFO] [stdout] 666 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 660 ~ return Err(std::io::Error::other( [INFO] [stdout] 661 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:859:24 [INFO] [stdout] | [INFO] [stdout] 859 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 860 | | std::io::ErrorKind::Other, [INFO] [stdout] 861 | | format!( [INFO] [stdout] 862 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 863 | | APPROVE_IX_DISCM, maybe_discm [INFO] [stdout] 864 | | ), [INFO] [stdout] 865 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 859 ~ return Err(std::io::Error::other( [INFO] [stdout] 860 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1038:24 [INFO] [stdout] | [INFO] [stdout] 1038 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1039 | | std::io::ErrorKind::Other, [INFO] [stdout] 1040 | | format!( [INFO] [stdout] 1041 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1042 | | REVOKE_IX_DISCM, maybe_discm [INFO] [stdout] 1043 | | ), [INFO] [stdout] 1044 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1038 ~ return Err(std::io::Error::other( [INFO] [stdout] 1039 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1220:24 [INFO] [stdout] | [INFO] [stdout] 1220 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1221 | | std::io::ErrorKind::Other, [INFO] [stdout] 1222 | | format!( [INFO] [stdout] 1223 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1224 | | SET_AUTHORITY_IX_DISCM, maybe_discm [INFO] [stdout] 1225 | | ), [INFO] [stdout] 1226 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1220 ~ return Err(std::io::Error::other( [INFO] [stdout] 1221 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1430:24 [INFO] [stdout] | [INFO] [stdout] 1430 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1431 | | std::io::ErrorKind::Other, [INFO] [stdout] 1432 | | format!( [INFO] [stdout] 1433 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1434 | | MINT_TO_IX_DISCM, maybe_discm [INFO] [stdout] 1435 | | ), [INFO] [stdout] 1436 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1430 ~ return Err(std::io::Error::other( [INFO] [stdout] 1431 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1635:24 [INFO] [stdout] | [INFO] [stdout] 1635 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1636 | | std::io::ErrorKind::Other, [INFO] [stdout] 1637 | | format!( [INFO] [stdout] 1638 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1639 | | BURN_IX_DISCM, maybe_discm [INFO] [stdout] 1640 | | ), [INFO] [stdout] 1641 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1635 ~ return Err(std::io::Error::other( [INFO] [stdout] 1636 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1832:24 [INFO] [stdout] | [INFO] [stdout] 1832 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1833 | | std::io::ErrorKind::Other, [INFO] [stdout] 1834 | | format!( [INFO] [stdout] 1835 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1836 | | CLOSE_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 1837 | | ), [INFO] [stdout] 1838 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1832 ~ return Err(std::io::Error::other( [INFO] [stdout] 1833 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | _ => Err(std::io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 83 | | std::io::ErrorKind::Other, [INFO] [stdout] 84 | | format!("discm {:?} not found", maybe_discm), [INFO] [stdout] 85 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 82 ~ _ => Err(std::io::Error::other( [INFO] [stdout] 83 ~ format!("discm {:?} not found", maybe_discm), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2023:24 [INFO] [stdout] | [INFO] [stdout] 2023 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2024 | | std::io::ErrorKind::Other, [INFO] [stdout] 2025 | | format!( [INFO] [stdout] 2026 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2027 | | FREEZE_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 2028 | | ), [INFO] [stdout] 2029 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2023 ~ return Err(std::io::Error::other( [INFO] [stdout] 2024 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:352:24 [INFO] [stdout] | [INFO] [stdout] 352 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 353 | | std::io::ErrorKind::Other, [INFO] [stdout] 354 | | format!( [INFO] [stdout] 355 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 356 | | INITIALIZE_IX_DISCM, maybe_discm [INFO] [stdout] 357 | | ), [INFO] [stdout] 358 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 352 ~ return Err(std::io::Error::other( [INFO] [stdout] 353 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:703:24 [INFO] [stdout] | [INFO] [stdout] 703 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 704 | | std::io::ErrorKind::Other, [INFO] [stdout] 705 | | format!( [INFO] [stdout] 706 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 707 | | ADD_VALIDATOR_TO_POOL_IX_DISCM, maybe_discm [INFO] [stdout] 708 | | ), [INFO] [stdout] 709 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 703 ~ return Err(std::io::Error::other( [INFO] [stdout] 704 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2214:24 [INFO] [stdout] | [INFO] [stdout] 2214 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2215 | | std::io::ErrorKind::Other, [INFO] [stdout] 2216 | | format!( [INFO] [stdout] 2217 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2218 | | THAW_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 2219 | | ), [INFO] [stdout] 2220 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2214 ~ return Err(std::io::Error::other( [INFO] [stdout] 2215 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:991:24 [INFO] [stdout] | [INFO] [stdout] 991 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 992 | | std::io::ErrorKind::Other, [INFO] [stdout] 993 | | format!( [INFO] [stdout] 994 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 995 | | REMOVE_VALIDATOR_FROM_POOL_IX_DISCM, maybe_discm [INFO] [stdout] 996 | | ), [INFO] [stdout] 997 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 991 ~ return Err(std::io::Error::other( [INFO] [stdout] 992 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1213:24 [INFO] [stdout] | [INFO] [stdout] 1213 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1214 | | std::io::ErrorKind::Other, [INFO] [stdout] 1215 | | format!( [INFO] [stdout] 1216 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1217 | | SET_PREFERRED_VALIDATOR_IX_DISCM, maybe_discm [INFO] [stdout] 1218 | | ), [INFO] [stdout] 1219 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1213 ~ return Err(std::io::Error::other( [INFO] [stdout] 1214 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1483:24 [INFO] [stdout] | [INFO] [stdout] 1483 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1484 | | std::io::ErrorKind::Other, [INFO] [stdout] 1485 | | format!( [INFO] [stdout] 1486 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1487 | | UPDATE_VALIDATOR_LIST_BALANCE_IX_DISCM, maybe_discm [INFO] [stdout] 1488 | | ), [INFO] [stdout] 1489 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1483 ~ return Err(std::io::Error::other( [INFO] [stdout] 1484 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2428:24 [INFO] [stdout] | [INFO] [stdout] 2428 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2429 | | std::io::ErrorKind::Other, [INFO] [stdout] 2430 | | format!( [INFO] [stdout] 2431 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2432 | | TRANSFER_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 2433 | | ), [INFO] [stdout] 2434 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2428 ~ return Err(std::io::Error::other( [INFO] [stdout] 2429 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1733:24 [INFO] [stdout] | [INFO] [stdout] 1733 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1734 | | std::io::ErrorKind::Other, [INFO] [stdout] 1735 | | format!( [INFO] [stdout] 1736 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1737 | | UPDATE_STAKE_POOL_BALANCE_IX_DISCM, maybe_discm [INFO] [stdout] 1738 | | ), [INFO] [stdout] 1739 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1733 ~ return Err(std::io::Error::other( [INFO] [stdout] 1734 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1916:24 [INFO] [stdout] | [INFO] [stdout] 1916 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1917 | | std::io::ErrorKind::Other, [INFO] [stdout] 1918 | | format!( [INFO] [stdout] 1919 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1920 | | CLEANUP_REMOVED_VALIDATOR_ENTRIES_IX_DISCM, maybe_discm [INFO] [stdout] 1921 | | ), [INFO] [stdout] 1922 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1916 ~ return Err(std::io::Error::other( [INFO] [stdout] 1917 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2112:24 [INFO] [stdout] | [INFO] [stdout] 2112 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2113 | | std::io::ErrorKind::Other, [INFO] [stdout] 2114 | | format!( [INFO] [stdout] 2115 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2116 | | SET_MANAGER_IX_DISCM, maybe_discm [INFO] [stdout] 2117 | | ), [INFO] [stdout] 2118 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2112 ~ return Err(std::io::Error::other( [INFO] [stdout] 2113 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2299:24 [INFO] [stdout] | [INFO] [stdout] 2299 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2300 | | std::io::ErrorKind::Other, [INFO] [stdout] 2301 | | format!( [INFO] [stdout] 2302 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2303 | | SET_FEE_IX_DISCM, maybe_discm [INFO] [stdout] 2304 | | ), [INFO] [stdout] 2305 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2299 ~ return Err(std::io::Error::other( [INFO] [stdout] 2300 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2495:24 [INFO] [stdout] | [INFO] [stdout] 2495 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2496 | | std::io::ErrorKind::Other, [INFO] [stdout] 2497 | | format!( [INFO] [stdout] 2498 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2499 | | SET_STAKER_IX_DISCM, maybe_discm [INFO] [stdout] 2500 | | ), [INFO] [stdout] 2501 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2495 ~ return Err(std::io::Error::other( [INFO] [stdout] 2496 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2696:24 [INFO] [stdout] | [INFO] [stdout] 2696 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2697 | | std::io::ErrorKind::Other, [INFO] [stdout] 2698 | | format!( [INFO] [stdout] 2699 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2700 | | SET_FUNDING_AUTHORITY_IX_DISCM, maybe_discm [INFO] [stdout] 2701 | | ), [INFO] [stdout] 2702 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2696 ~ return Err(std::io::Error::other( [INFO] [stdout] 2697 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2655:24 [INFO] [stdout] | [INFO] [stdout] 2655 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2656 | | std::io::ErrorKind::Other, [INFO] [stdout] 2657 | | format!( [INFO] [stdout] 2658 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2659 | | APPROVE_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 2660 | | ), [INFO] [stdout] 2661 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2655 ~ return Err(std::io::Error::other( [INFO] [stdout] 2656 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:3064:24 [INFO] [stdout] | [INFO] [stdout] 3064 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3065 | | std::io::ErrorKind::Other, [INFO] [stdout] 3066 | | format!( [INFO] [stdout] 3067 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3068 | | INCREASE_ADDITIONAL_VALIDATOR_STAKE_IX_DISCM, maybe_discm [INFO] [stdout] 3069 | | ), [INFO] [stdout] 3070 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3064 ~ return Err(std::io::Error::other( [INFO] [stdout] 3065 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:3435:24 [INFO] [stdout] | [INFO] [stdout] 3435 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3436 | | std::io::ErrorKind::Other, [INFO] [stdout] 3437 | | format!( [INFO] [stdout] 3438 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3439 | | DECREASE_ADDITIONAL_VALIDATOR_STAKE_IX_DISCM, maybe_discm [INFO] [stdout] 3440 | | ), [INFO] [stdout] 3441 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3435 ~ return Err(std::io::Error::other( [INFO] [stdout] 3436 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:3837:24 [INFO] [stdout] | [INFO] [stdout] 3837 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3838 | | std::io::ErrorKind::Other, [INFO] [stdout] 3839 | | format!( [INFO] [stdout] 3840 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3841 | | DEPOSIT_STAKE_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 3842 | | ), [INFO] [stdout] 3843 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3837 ~ return Err(std::io::Error::other( [INFO] [stdout] 3838 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2869:24 [INFO] [stdout] | [INFO] [stdout] 2869 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2870 | | std::io::ErrorKind::Other, [INFO] [stdout] 2871 | | format!( [INFO] [stdout] 2872 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2873 | | MINT_TO_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 2874 | | ), [INFO] [stdout] 2875 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2869 ~ return Err(std::io::Error::other( [INFO] [stdout] 2870 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:4204:24 [INFO] [stdout] | [INFO] [stdout] 4204 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4205 | | std::io::ErrorKind::Other, [INFO] [stdout] 4206 | | format!( [INFO] [stdout] 4207 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4208 | | WITHDRAW_STAKE_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 4209 | | ), [INFO] [stdout] 4210 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4204 ~ return Err(std::io::Error::other( [INFO] [stdout] 4205 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:4529:24 [INFO] [stdout] | [INFO] [stdout] 4529 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4530 | | std::io::ErrorKind::Other, [INFO] [stdout] 4531 | | format!( [INFO] [stdout] 4532 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4533 | | DEPOSIT_SOL_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 4534 | | ), [INFO] [stdout] 4535 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4529 ~ return Err(std::io::Error::other( [INFO] [stdout] 4530 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:4879:24 [INFO] [stdout] | [INFO] [stdout] 4879 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4880 | | std::io::ErrorKind::Other, [INFO] [stdout] 4881 | | format!( [INFO] [stdout] 4882 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4883 | | WITHDRAW_SOL_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 4884 | | ), [INFO] [stdout] 4885 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4879 ~ return Err(std::io::Error::other( [INFO] [stdout] 4880 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3082:24 [INFO] [stdout] | [INFO] [stdout] 3082 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3083 | | std::io::ErrorKind::Other, [INFO] [stdout] 3084 | | format!( [INFO] [stdout] 3085 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3086 | | BURN_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 3087 | | ), [INFO] [stdout] 3088 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3082 ~ return Err(std::io::Error::other( [INFO] [stdout] 3083 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3295:24 [INFO] [stdout] | [INFO] [stdout] 3295 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3296 | | std::io::ErrorKind::Other, [INFO] [stdout] 3297 | | format!( [INFO] [stdout] 3298 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3299 | | INITIALIZE_ACCOUNT2_IX_DISCM, maybe_discm [INFO] [stdout] 3300 | | ), [INFO] [stdout] 3301 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3295 ~ return Err(std::io::Error::other( [INFO] [stdout] 3296 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3457:24 [INFO] [stdout] | [INFO] [stdout] 3457 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3458 | | std::io::ErrorKind::Other, [INFO] [stdout] 3459 | | format!( [INFO] [stdout] 3460 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3461 | | SYNC_NATIVE_IX_DISCM, maybe_discm [INFO] [stdout] 3462 | | ), [INFO] [stdout] 3463 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3457 ~ return Err(std::io::Error::other( [INFO] [stdout] 3458 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3627:24 [INFO] [stdout] | [INFO] [stdout] 3627 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3628 | | std::io::ErrorKind::Other, [INFO] [stdout] 3629 | | format!( [INFO] [stdout] 3630 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3631 | | INITIALIZE_ACCOUNT3_IX_DISCM, maybe_discm [INFO] [stdout] 3632 | | ), [INFO] [stdout] 3633 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3627 ~ return Err(std::io::Error::other( [INFO] [stdout] 3628 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3796:24 [INFO] [stdout] | [INFO] [stdout] 3796 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3797 | | std::io::ErrorKind::Other, [INFO] [stdout] 3798 | | format!( [INFO] [stdout] 3799 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3800 | | INITIALIZE_MULTISIG2_IX_DISCM, maybe_discm [INFO] [stdout] 3801 | | ), [INFO] [stdout] 3802 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3796 ~ return Err(std::io::Error::other( [INFO] [stdout] 3797 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3962:24 [INFO] [stdout] | [INFO] [stdout] 3962 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3963 | | std::io::ErrorKind::Other, [INFO] [stdout] 3964 | | format!( [INFO] [stdout] 3965 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3966 | | INITIALIZE_MINT2_IX_DISCM, maybe_discm [INFO] [stdout] 3967 | | ), [INFO] [stdout] 3968 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3962 ~ return Err(std::io::Error::other( [INFO] [stdout] 3963 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:4118:24 [INFO] [stdout] | [INFO] [stdout] 4118 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4119 | | std::io::ErrorKind::Other, [INFO] [stdout] 4120 | | format!( [INFO] [stdout] 4121 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4122 | | GET_TOKEN_ACCOUNT_DATA_SIZE_IX_DISCM, maybe_discm [INFO] [stdout] 4123 | | ), [INFO] [stdout] 4124 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4118 ~ return Err(std::io::Error::other( [INFO] [stdout] 4119 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:4254:24 [INFO] [stdout] | [INFO] [stdout] 4254 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4255 | | std::io::ErrorKind::Other, [INFO] [stdout] 4256 | | format!( [INFO] [stdout] 4257 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4258 | | INITIALIZE_IMMUTABLE_OWNER_IX_DISCM, maybe_discm [INFO] [stdout] 4259 | | ), [INFO] [stdout] 4260 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4254 ~ return Err(std::io::Error::other( [INFO] [stdout] 4255 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:4410:24 [INFO] [stdout] | [INFO] [stdout] 4410 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4411 | | std::io::ErrorKind::Other, [INFO] [stdout] 4412 | | format!( [INFO] [stdout] 4413 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4414 | | AMOUNT_TO_UI_AMOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 4415 | | ), [INFO] [stdout] 4416 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4410 ~ return Err(std::io::Error::other( [INFO] [stdout] 4411 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> generated/spl_token_interface/src/errors.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Error, num_derive::FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SplTokenError` [INFO] [stdout] 8 | pub enum SplTokenError { [INFO] [stdout] | ------------- `SplTokenError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | _ => Err(std::io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 83 | | std::io::ErrorKind::Other, [INFO] [stdout] 84 | | format!("discm {:?} not found", maybe_discm), [INFO] [stdout] 85 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 82 ~ _ => Err(std::io::Error::other( [INFO] [stdout] 83 ~ format!("discm {:?} not found", maybe_discm), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:352:24 [INFO] [stdout] | [INFO] [stdout] 352 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 353 | | std::io::ErrorKind::Other, [INFO] [stdout] 354 | | format!( [INFO] [stdout] 355 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 356 | | INITIALIZE_IX_DISCM, maybe_discm [INFO] [stdout] 357 | | ), [INFO] [stdout] 358 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 352 ~ return Err(std::io::Error::other( [INFO] [stdout] 353 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:703:24 [INFO] [stdout] | [INFO] [stdout] 703 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 704 | | std::io::ErrorKind::Other, [INFO] [stdout] 705 | | format!( [INFO] [stdout] 706 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 707 | | ADD_VALIDATOR_TO_POOL_IX_DISCM, maybe_discm [INFO] [stdout] 708 | | ), [INFO] [stdout] 709 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 703 ~ return Err(std::io::Error::other( [INFO] [stdout] 704 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:991:24 [INFO] [stdout] | [INFO] [stdout] 991 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 992 | | std::io::ErrorKind::Other, [INFO] [stdout] 993 | | format!( [INFO] [stdout] 994 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 995 | | REMOVE_VALIDATOR_FROM_POOL_IX_DISCM, maybe_discm [INFO] [stdout] 996 | | ), [INFO] [stdout] 997 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 991 ~ return Err(std::io::Error::other( [INFO] [stdout] 992 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1213:24 [INFO] [stdout] | [INFO] [stdout] 1213 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1214 | | std::io::ErrorKind::Other, [INFO] [stdout] 1215 | | format!( [INFO] [stdout] 1216 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1217 | | SET_PREFERRED_VALIDATOR_IX_DISCM, maybe_discm [INFO] [stdout] 1218 | | ), [INFO] [stdout] 1219 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1213 ~ return Err(std::io::Error::other( [INFO] [stdout] 1214 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | _ => Err(std::io::Error::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 93 | | std::io::ErrorKind::Other, [INFO] [stdout] 94 | | format!("discm {:?} not found", maybe_discm), [INFO] [stdout] 95 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 92 ~ _ => Err(std::io::Error::other( [INFO] [stdout] 93 ~ format!("discm {:?} not found", maybe_discm), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1483:24 [INFO] [stdout] | [INFO] [stdout] 1483 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1484 | | std::io::ErrorKind::Other, [INFO] [stdout] 1485 | | format!( [INFO] [stdout] 1486 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1487 | | UPDATE_VALIDATOR_LIST_BALANCE_IX_DISCM, maybe_discm [INFO] [stdout] 1488 | | ), [INFO] [stdout] 1489 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1483 ~ return Err(std::io::Error::other( [INFO] [stdout] 1484 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1733:24 [INFO] [stdout] | [INFO] [stdout] 1733 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1734 | | std::io::ErrorKind::Other, [INFO] [stdout] 1735 | | format!( [INFO] [stdout] 1736 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1737 | | UPDATE_STAKE_POOL_BALANCE_IX_DISCM, maybe_discm [INFO] [stdout] 1738 | | ), [INFO] [stdout] 1739 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1733 ~ return Err(std::io::Error::other( [INFO] [stdout] 1734 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 282 | | std::io::ErrorKind::Other, [INFO] [stdout] 283 | | format!( [INFO] [stdout] 284 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 285 | | INITIALIZE_MINT_IX_DISCM, maybe_discm [INFO] [stdout] 286 | | ), [INFO] [stdout] 287 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 281 ~ return Err(std::io::Error::other( [INFO] [stdout] 282 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 486 | | std::io::ErrorKind::Other, [INFO] [stdout] 487 | | format!( [INFO] [stdout] 488 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 489 | | INITIALIZE_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 490 | | ), [INFO] [stdout] 491 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 485 ~ return Err(std::io::Error::other( [INFO] [stdout] 486 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:1916:24 [INFO] [stdout] | [INFO] [stdout] 1916 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1917 | | std::io::ErrorKind::Other, [INFO] [stdout] 1918 | | format!( [INFO] [stdout] 1919 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1920 | | CLEANUP_REMOVED_VALIDATOR_ENTRIES_IX_DISCM, maybe_discm [INFO] [stdout] 1921 | | ), [INFO] [stdout] 1922 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1916 ~ return Err(std::io::Error::other( [INFO] [stdout] 1917 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2112:24 [INFO] [stdout] | [INFO] [stdout] 2112 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2113 | | std::io::ErrorKind::Other, [INFO] [stdout] 2114 | | format!( [INFO] [stdout] 2115 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2116 | | SET_MANAGER_IX_DISCM, maybe_discm [INFO] [stdout] 2117 | | ), [INFO] [stdout] 2118 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2112 ~ return Err(std::io::Error::other( [INFO] [stdout] 2113 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:660:24 [INFO] [stdout] | [INFO] [stdout] 660 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 661 | | std::io::ErrorKind::Other, [INFO] [stdout] 662 | | format!( [INFO] [stdout] 663 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 664 | | INITIALIZE_MULTISIG_IX_DISCM, maybe_discm [INFO] [stdout] 665 | | ), [INFO] [stdout] 666 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 660 ~ return Err(std::io::Error::other( [INFO] [stdout] 661 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2299:24 [INFO] [stdout] | [INFO] [stdout] 2299 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2300 | | std::io::ErrorKind::Other, [INFO] [stdout] 2301 | | format!( [INFO] [stdout] 2302 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2303 | | SET_FEE_IX_DISCM, maybe_discm [INFO] [stdout] 2304 | | ), [INFO] [stdout] 2305 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2299 ~ return Err(std::io::Error::other( [INFO] [stdout] 2300 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:859:24 [INFO] [stdout] | [INFO] [stdout] 859 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 860 | | std::io::ErrorKind::Other, [INFO] [stdout] 861 | | format!( [INFO] [stdout] 862 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 863 | | APPROVE_IX_DISCM, maybe_discm [INFO] [stdout] 864 | | ), [INFO] [stdout] 865 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 859 ~ return Err(std::io::Error::other( [INFO] [stdout] 860 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1038:24 [INFO] [stdout] | [INFO] [stdout] 1038 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1039 | | std::io::ErrorKind::Other, [INFO] [stdout] 1040 | | format!( [INFO] [stdout] 1041 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1042 | | REVOKE_IX_DISCM, maybe_discm [INFO] [stdout] 1043 | | ), [INFO] [stdout] 1044 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1038 ~ return Err(std::io::Error::other( [INFO] [stdout] 1039 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2495:24 [INFO] [stdout] | [INFO] [stdout] 2495 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2496 | | std::io::ErrorKind::Other, [INFO] [stdout] 2497 | | format!( [INFO] [stdout] 2498 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2499 | | SET_STAKER_IX_DISCM, maybe_discm [INFO] [stdout] 2500 | | ), [INFO] [stdout] 2501 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2495 ~ return Err(std::io::Error::other( [INFO] [stdout] 2496 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1220:24 [INFO] [stdout] | [INFO] [stdout] 1220 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1221 | | std::io::ErrorKind::Other, [INFO] [stdout] 1222 | | format!( [INFO] [stdout] 1223 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1224 | | SET_AUTHORITY_IX_DISCM, maybe_discm [INFO] [stdout] 1225 | | ), [INFO] [stdout] 1226 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1220 ~ return Err(std::io::Error::other( [INFO] [stdout] 1221 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:2696:24 [INFO] [stdout] | [INFO] [stdout] 2696 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2697 | | std::io::ErrorKind::Other, [INFO] [stdout] 2698 | | format!( [INFO] [stdout] 2699 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2700 | | SET_FUNDING_AUTHORITY_IX_DISCM, maybe_discm [INFO] [stdout] 2701 | | ), [INFO] [stdout] 2702 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2696 ~ return Err(std::io::Error::other( [INFO] [stdout] 2697 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1430:24 [INFO] [stdout] | [INFO] [stdout] 1430 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1431 | | std::io::ErrorKind::Other, [INFO] [stdout] 1432 | | format!( [INFO] [stdout] 1433 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1434 | | MINT_TO_IX_DISCM, maybe_discm [INFO] [stdout] 1435 | | ), [INFO] [stdout] 1436 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1430 ~ return Err(std::io::Error::other( [INFO] [stdout] 1431 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1635:24 [INFO] [stdout] | [INFO] [stdout] 1635 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1636 | | std::io::ErrorKind::Other, [INFO] [stdout] 1637 | | format!( [INFO] [stdout] 1638 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1639 | | BURN_IX_DISCM, maybe_discm [INFO] [stdout] 1640 | | ), [INFO] [stdout] 1641 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1635 ~ return Err(std::io::Error::other( [INFO] [stdout] 1636 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:1832:24 [INFO] [stdout] | [INFO] [stdout] 1832 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1833 | | std::io::ErrorKind::Other, [INFO] [stdout] 1834 | | format!( [INFO] [stdout] 1835 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 1836 | | CLOSE_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 1837 | | ), [INFO] [stdout] 1838 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 1832 ~ return Err(std::io::Error::other( [INFO] [stdout] 1833 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:3064:24 [INFO] [stdout] | [INFO] [stdout] 3064 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3065 | | std::io::ErrorKind::Other, [INFO] [stdout] 3066 | | format!( [INFO] [stdout] 3067 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3068 | | INCREASE_ADDITIONAL_VALIDATOR_STAKE_IX_DISCM, maybe_discm [INFO] [stdout] 3069 | | ), [INFO] [stdout] 3070 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3064 ~ return Err(std::io::Error::other( [INFO] [stdout] 3065 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2023:24 [INFO] [stdout] | [INFO] [stdout] 2023 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2024 | | std::io::ErrorKind::Other, [INFO] [stdout] 2025 | | format!( [INFO] [stdout] 2026 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2027 | | FREEZE_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 2028 | | ), [INFO] [stdout] 2029 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2023 ~ return Err(std::io::Error::other( [INFO] [stdout] 2024 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2214:24 [INFO] [stdout] | [INFO] [stdout] 2214 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2215 | | std::io::ErrorKind::Other, [INFO] [stdout] 2216 | | format!( [INFO] [stdout] 2217 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2218 | | THAW_ACCOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 2219 | | ), [INFO] [stdout] 2220 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2214 ~ return Err(std::io::Error::other( [INFO] [stdout] 2215 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2428:24 [INFO] [stdout] | [INFO] [stdout] 2428 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2429 | | std::io::ErrorKind::Other, [INFO] [stdout] 2430 | | format!( [INFO] [stdout] 2431 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2432 | | TRANSFER_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 2433 | | ), [INFO] [stdout] 2434 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2428 ~ return Err(std::io::Error::other( [INFO] [stdout] 2429 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:3435:24 [INFO] [stdout] | [INFO] [stdout] 3435 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3436 | | std::io::ErrorKind::Other, [INFO] [stdout] 3437 | | format!( [INFO] [stdout] 3438 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3439 | | DECREASE_ADDITIONAL_VALIDATOR_STAKE_IX_DISCM, maybe_discm [INFO] [stdout] 3440 | | ), [INFO] [stdout] 3441 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3435 ~ return Err(std::io::Error::other( [INFO] [stdout] 3436 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2655:24 [INFO] [stdout] | [INFO] [stdout] 2655 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2656 | | std::io::ErrorKind::Other, [INFO] [stdout] 2657 | | format!( [INFO] [stdout] 2658 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2659 | | APPROVE_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 2660 | | ), [INFO] [stdout] 2661 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2655 ~ return Err(std::io::Error::other( [INFO] [stdout] 2656 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:2869:24 [INFO] [stdout] | [INFO] [stdout] 2869 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2870 | | std::io::ErrorKind::Other, [INFO] [stdout] 2871 | | format!( [INFO] [stdout] 2872 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 2873 | | MINT_TO_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 2874 | | ), [INFO] [stdout] 2875 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 2869 ~ return Err(std::io::Error::other( [INFO] [stdout] 2870 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:3837:24 [INFO] [stdout] | [INFO] [stdout] 3837 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3838 | | std::io::ErrorKind::Other, [INFO] [stdout] 3839 | | format!( [INFO] [stdout] 3840 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3841 | | DEPOSIT_STAKE_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 3842 | | ), [INFO] [stdout] 3843 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3837 ~ return Err(std::io::Error::other( [INFO] [stdout] 3838 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3082:24 [INFO] [stdout] | [INFO] [stdout] 3082 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3083 | | std::io::ErrorKind::Other, [INFO] [stdout] 3084 | | format!( [INFO] [stdout] 3085 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3086 | | BURN_CHECKED_IX_DISCM, maybe_discm [INFO] [stdout] 3087 | | ), [INFO] [stdout] 3088 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3082 ~ return Err(std::io::Error::other( [INFO] [stdout] 3083 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3295:24 [INFO] [stdout] | [INFO] [stdout] 3295 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3296 | | std::io::ErrorKind::Other, [INFO] [stdout] 3297 | | format!( [INFO] [stdout] 3298 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3299 | | INITIALIZE_ACCOUNT2_IX_DISCM, maybe_discm [INFO] [stdout] 3300 | | ), [INFO] [stdout] 3301 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3295 ~ return Err(std::io::Error::other( [INFO] [stdout] 3296 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3457:24 [INFO] [stdout] | [INFO] [stdout] 3457 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3458 | | std::io::ErrorKind::Other, [INFO] [stdout] 3459 | | format!( [INFO] [stdout] 3460 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3461 | | SYNC_NATIVE_IX_DISCM, maybe_discm [INFO] [stdout] 3462 | | ), [INFO] [stdout] 3463 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3457 ~ return Err(std::io::Error::other( [INFO] [stdout] 3458 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3627:24 [INFO] [stdout] | [INFO] [stdout] 3627 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3628 | | std::io::ErrorKind::Other, [INFO] [stdout] 3629 | | format!( [INFO] [stdout] 3630 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3631 | | INITIALIZE_ACCOUNT3_IX_DISCM, maybe_discm [INFO] [stdout] 3632 | | ), [INFO] [stdout] 3633 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3627 ~ return Err(std::io::Error::other( [INFO] [stdout] 3628 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3796:24 [INFO] [stdout] | [INFO] [stdout] 3796 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3797 | | std::io::ErrorKind::Other, [INFO] [stdout] 3798 | | format!( [INFO] [stdout] 3799 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3800 | | INITIALIZE_MULTISIG2_IX_DISCM, maybe_discm [INFO] [stdout] 3801 | | ), [INFO] [stdout] 3802 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3796 ~ return Err(std::io::Error::other( [INFO] [stdout] 3797 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:3962:24 [INFO] [stdout] | [INFO] [stdout] 3962 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 3963 | | std::io::ErrorKind::Other, [INFO] [stdout] 3964 | | format!( [INFO] [stdout] 3965 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 3966 | | INITIALIZE_MINT2_IX_DISCM, maybe_discm [INFO] [stdout] 3967 | | ), [INFO] [stdout] 3968 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 3962 ~ return Err(std::io::Error::other( [INFO] [stdout] 3963 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:4204:24 [INFO] [stdout] | [INFO] [stdout] 4204 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4205 | | std::io::ErrorKind::Other, [INFO] [stdout] 4206 | | format!( [INFO] [stdout] 4207 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4208 | | WITHDRAW_STAKE_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 4209 | | ), [INFO] [stdout] 4210 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4204 ~ return Err(std::io::Error::other( [INFO] [stdout] 4205 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:4118:24 [INFO] [stdout] | [INFO] [stdout] 4118 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4119 | | std::io::ErrorKind::Other, [INFO] [stdout] 4120 | | format!( [INFO] [stdout] 4121 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4122 | | GET_TOKEN_ACCOUNT_DATA_SIZE_IX_DISCM, maybe_discm [INFO] [stdout] 4123 | | ), [INFO] [stdout] 4124 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4118 ~ return Err(std::io::Error::other( [INFO] [stdout] 4119 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:4254:24 [INFO] [stdout] | [INFO] [stdout] 4254 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4255 | | std::io::ErrorKind::Other, [INFO] [stdout] 4256 | | format!( [INFO] [stdout] 4257 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4258 | | INITIALIZE_IMMUTABLE_OWNER_IX_DISCM, maybe_discm [INFO] [stdout] 4259 | | ), [INFO] [stdout] 4260 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4254 ~ return Err(std::io::Error::other( [INFO] [stdout] 4255 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_token_interface/src/instructions.rs:4410:24 [INFO] [stdout] | [INFO] [stdout] 4410 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4411 | | std::io::ErrorKind::Other, [INFO] [stdout] 4412 | | format!( [INFO] [stdout] 4413 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4414 | | AMOUNT_TO_UI_AMOUNT_IX_DISCM, maybe_discm [INFO] [stdout] 4415 | | ), [INFO] [stdout] 4416 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4410 ~ return Err(std::io::Error::other( [INFO] [stdout] 4411 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:4529:24 [INFO] [stdout] | [INFO] [stdout] 4529 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4530 | | std::io::ErrorKind::Other, [INFO] [stdout] 4531 | | format!( [INFO] [stdout] 4532 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4533 | | DEPOSIT_SOL_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 4534 | | ), [INFO] [stdout] 4535 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4529 ~ return Err(std::io::Error::other( [INFO] [stdout] 4530 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> generated/spl_token_interface/src/errors.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Copy, Debug, Eq, Error, num_derive::FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SplTokenError` [INFO] [stdout] 8 | pub enum SplTokenError { [INFO] [stdout] | ------------- `SplTokenError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> generated/spl_stake_pool_interface/src/instructions.rs:4879:24 [INFO] [stdout] | [INFO] [stdout] 4879 | return Err(std::io::Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4880 | | std::io::ErrorKind::Other, [INFO] [stdout] 4881 | | format!( [INFO] [stdout] 4882 | | "discm does not match. Expected: {:?}. Received: {:?}", [INFO] [stdout] 4883 | | WITHDRAW_SOL_WITH_SLIPPAGE_IX_DISCM, maybe_discm [INFO] [stdout] 4884 | | ), [INFO] [stdout] 4885 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 4879 ~ return Err(std::io::Error::other( [INFO] [stdout] 4880 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking solana-measure v2.0.4 [INFO] [stderr] Checking solana-metrics v2.0.4 [INFO] [stderr] Checking solana-zk-token-sdk v2.0.4 [INFO] [stderr] Checking solana-inline-spl v2.0.4 [INFO] [stderr] Checking solana-remote-wallet v2.0.4 [INFO] [stderr] Checking solana-readonly-account v2.0.0 (/opt/rustwide/workdir/solana-readonly-account) [INFO] [stderr] Checking solana-zk-sdk v2.0.4 [INFO] [stderr] Checking solana-banks-interface v2.0.4 [INFO] [stderr] Checking sanctum-solana-compute-budget-utils v0.1.0 (/opt/rustwide/workdir/sanctum-solana-compute-budget-utils) [INFO] [stderr] Checking solana-bucket-map v2.0.4 [INFO] [stderr] Checking sanctum-system-program-lib v0.1.0 (/opt/rustwide/workdir/libs/sanctum-system-program-lib) [INFO] [stderr] Checking sanctum-spl-stake-pool-lib v0.1.0 (/opt/rustwide/workdir/libs/sanctum-spl-stake-pool-lib) [INFO] [stderr] Checking sanctum-stored-account v0.1.0 (/opt/rustwide/workdir/sanctum-stored-account) [INFO] [stderr] Checking sanctum-stake-lib v0.1.0 (/opt/rustwide/workdir/libs/sanctum-stake-lib) [INFO] [stderr] Checking sanctum-token-lib v0.1.0 (/opt/rustwide/workdir/libs/sanctum-token-lib) [INFO] [stderr] Checking sanctum-associated-token-lib v0.1.0 (/opt/rustwide/workdir/libs/sanctum-associated-token-lib) [INFO] [stderr] Checking solana-clap-utils v2.0.4 [INFO] [stderr] Checking solana-net-utils v2.0.4 [INFO] [stderr] Checking solana-connection-cache v2.0.4 [INFO] [stderr] Checking solana-banks-client v2.0.4 [INFO] [stderr] Checking solana-cli-config v2.0.4 [INFO] [stderr] Checking solana-config-program v2.0.4 [INFO] [stderr] Checking solana-system-program v2.0.4 [INFO] [stderr] Checking solana-bpf-loader-program v2.0.4 [INFO] [stderr] Checking solana-loader-v4-program v2.0.4 [INFO] [stderr] Checking solana-compute-budget-program v2.0.4 [INFO] [stderr] Checking spl-pod v0.3.1 [INFO] [stderr] Checking solana-zk-token-proof-program v2.0.4 [INFO] [stderr] Checking spl-type-length-value v0.5.0 [INFO] [stderr] Checking spl-token-group-interface v0.3.0 [INFO] [stderr] Checking solana-zk-elgamal-proof-program v2.0.4 [INFO] [stderr] Checking spl-tlv-account-resolution v0.7.0 [INFO] [stderr] Checking spl-token-metadata-interface v0.4.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.7.0 [INFO] [stderr] Checking spl-token-2022 v4.0.0 [INFO] [stderr] Checking solana-transaction-metrics-tracker v2.0.4 [INFO] [stderr] Checking solana-streamer v2.0.4 [INFO] [stderr] Checking solana-udp-client v2.0.4 [INFO] [stderr] Checking spl-associated-token-account v4.0.0 [INFO] [stderr] Checking solana-account-decoder v2.0.4 [INFO] [stderr] Checking solana-transaction-status v2.0.4 [INFO] [stderr] Checking solana-rpc-client-api v2.0.4 [INFO] [stderr] Checking solana-rpc-client v2.0.4 [INFO] [stderr] Checking solana-pubsub-client v2.0.4 [INFO] [stderr] Checking solana-quic-client v2.0.4 [INFO] [stderr] Checking solana-rpc-client-nonce-utils v2.0.4 [INFO] [stderr] Checking solana-tpu-client v2.0.4 [INFO] [stderr] Checking solana-thin-client v2.0.4 [INFO] [stderr] Checking solana-client v2.0.4 [INFO] [stderr] Checking solana-send-transaction-service v2.0.4 [INFO] [stderr] Checking sanctum-solana-cli-utils v0.5.0 (/opt/rustwide/workdir/sanctum-solana-cli-utils) [INFO] [stderr] Checking sanctum-solana-client-utils v0.1.0 (/opt/rustwide/workdir/sanctum-solana-client-utils) [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> sanctum-solana-cli-utils/src/argparse/signer.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// so you can't actually use this fn as a [`clap::builder::TypedValueParser`] in an Args struct. [INFO] [stdout] | ^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> sanctum-solana-cli-utils/src/argparse/signer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | /// Guess you can type the arg to a `String` first and then run this afterwards. [INFO] [stdout] | ^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> sanctum-solana-cli-utils/src/clap_helpers.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | / io::Error::new( [INFO] [stdout] 113 | | io::ErrorKind::Other, [INFO] [stdout] 114 | | "Solana CONFIG_FILE could not identify the user's home directory", [INFO] [stdout] 115 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 112 ~ io::Error::other( [INFO] [stdout] 113 ~ "Solana CONFIG_FILE could not identify the user's home directory", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> sanctum-solana-cli-utils/src/tx_send_mode.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Default for TxSendMode { [INFO] [stdout] 29 | | fn default() -> Self { [INFO] [stdout] 30 | | Self::SendActual [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Default)] [INFO] [stdout] 23 | pub enum TxSendMode { [INFO] [stdout] 24 ~ #[default] [INFO] [stdout] 25 ~ SendActual, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-cli-utils/src/tx_send_mode.rs:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | fn get_confirmed_blockhash(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-cli-utils/src/tx_send_mode.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result<(), ClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | /// Should be >= 1.0 [INFO] [stdout] | ^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | limit_micro_lamports_per_cu as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `limit_micro_lamports_per_cu` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking solana-banks-server v2.0.4 [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | /// Should be >= 1.0 [INFO] [stdout] | ^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:299:6 [INFO] [stdout] | [INFO] [stdout] 299 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u64` -> `u64`) [INFO] [stdout] --> sanctum-solana-client-utils/src/prioritization_fee.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | limit_micro_lamports_per_cu as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `limit_micro_lamports_per_cu` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> sanctum-solana-cli-utils/src/argparse/signer.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// so you can't actually use this fn as a [`clap::builder::TypedValueParser`] in an Args struct. [INFO] [stdout] | ^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> sanctum-solana-cli-utils/src/argparse/signer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | /// Guess you can type the arg to a `String` first and then run this afterwards. [INFO] [stdout] | ^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> sanctum-solana-cli-utils/src/clap_helpers.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | / io::Error::new( [INFO] [stdout] 113 | | io::ErrorKind::Other, [INFO] [stdout] 114 | | "Solana CONFIG_FILE could not identify the user's home directory", [INFO] [stdout] 115 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 112 ~ io::Error::other( [INFO] [stdout] 113 ~ "Solana CONFIG_FILE could not identify the user's home directory", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> sanctum-solana-cli-utils/src/tx_send_mode.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Default for TxSendMode { [INFO] [stdout] 29 | | fn default() -> Self { [INFO] [stdout] 30 | | Self::SendActual [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Default)] [INFO] [stdout] 23 | pub enum TxSendMode { [INFO] [stdout] 24 ~ #[default] [INFO] [stdout] 25 ~ SendActual, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-cli-utils/src/tx_send_mode.rs:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | fn get_confirmed_blockhash(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] = note: `#[warn(clippy::result_large_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `Err`-variant returned from this function is very large [INFO] [stdout] --> sanctum-solana-cli-utils/src/tx_send_mode.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result<(), ClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 256 bytes [INFO] [stdout] | [INFO] [stdout] = help: try reducing the size of `solana_client::client_error::ClientError`, for example by boxing large elements or replacing it with `Box` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking solana-program-test v2.0.4 [INFO] [stderr] Checking sanctum-solana-test-utils v0.1.0 (/opt/rustwide/workdir/sanctum-solana-test-utils) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> sanctum-solana-test-utils/src/extended_program_test_context.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 40 | &mut self, [INFO] [stdout] | - the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 44 | ) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'life0` [INFO] [stdout] | [INFO] [stdout] 44 | ) -> &'life0 mut Self; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> sanctum-solana-test-utils/src/extended_program_test_context.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 50 | &mut self, [INFO] [stdout] | - the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 54 | ) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'life0` [INFO] [stdout] | [INFO] [stdout] 54 | ) -> &'life0 mut Self { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> sanctum-solana-test-utils/src/extended_program_test_context.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 40 | &mut self, [INFO] [stdout] | - the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 44 | ) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'life0` [INFO] [stdout] | [INFO] [stdout] 44 | ) -> &'life0 mut Self; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> sanctum-solana-test-utils/src/extended_program_test_context.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 50 | &mut self, [INFO] [stdout] | - the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 54 | ) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'life0` [INFO] [stdout] | [INFO] [stdout] 54 | ) -> &'life0 mut Self { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: solana-client v2.0.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "2deea77a87ef20e5f44f18de4f7b82c42b5f1ad4326ae2dfbf422e2e8bef3ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2deea77a87ef20e5f44f18de4f7b82c42b5f1ad4326ae2dfbf422e2e8bef3ef0", kill_on_drop: false }` [INFO] [stdout] 2deea77a87ef20e5f44f18de4f7b82c42b5f1ad4326ae2dfbf422e2e8bef3ef0