[INFO] fetching crate waffles-solana-runtime 1.16.0-alpha.10... [INFO] checking waffles-solana-runtime-1.16.0-alpha.10 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate waffles-solana-runtime 1.16.0-alpha.10 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate waffles-solana-runtime 1.16.0-alpha.10 [INFO] finished tweaking crates.io crate waffles-solana-runtime 1.16.0-alpha.10 [INFO] tweaked toml for crates.io crate waffles-solana-runtime 1.16.0-alpha.10 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate waffles-solana-runtime 1.16.0-alpha.10 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 422 packages to latest compatible versions [INFO] [stderr] Adding array-bytes v1.4.1 (available: v1.6.0) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bzip2 v0.4.4 (available: v0.6.0) [INFO] [stderr] Adding dashmap v4.0.2 (available: v6.1.0) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding libsecp256k1 v0.6.0 (available: v0.7.2) [INFO] [stderr] Adding lru v0.7.8 (available: v0.16.0) [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.8) [INFO] [stderr] Adding memoffset v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding ouroboros v0.15.6 (available: v0.18.5) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.9.0) [INFO] [stderr] Adding solana_rbpf v0.2.38 (available: v0.2.40) [INFO] [stderr] Adding strum v0.24.1 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.27.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding test-case v2.2.2 (available: v3.3.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding waffles-solana-address-lookup-table-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-bpf-loader-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-bucket-map v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-compute-budget-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-config-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-frozen-abi v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-frozen-abi-macro v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-logger v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-measure v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-metrics v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-perf v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-program-runtime v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-rayon-threadlimit v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-sdk v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-sdk-macro v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-stake-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-vote-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-zk-token-proof-program v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding waffles-solana-zk-token-sdk v1.16.0-alpha.10 (available: v1.16.0) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 (available: v0.13.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30c958372f8e794c4d192db33b507183c4636077a335e4b88272ba0e28aafc35 [INFO] running `Command { std: "docker" "start" "-a" "30c958372f8e794c4d192db33b507183c4636077a335e4b88272ba0e28aafc35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30c958372f8e794c4d192db33b507183c4636077a335e4b88272ba0e28aafc35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30c958372f8e794c4d192db33b507183c4636077a335e4b88272ba0e28aafc35", kill_on_drop: false }` [INFO] [stdout] 30c958372f8e794c4d192db33b507183c4636077a335e4b88272ba0e28aafc35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ff5d7abcbd1995435723638ef5564919b6bc0d59a6f7bd62007ed43e7519e13 [INFO] running `Command { std: "docker" "start" "-a" "8ff5d7abcbd1995435723638ef5564919b6bc0d59a6f7bd62007ed43e7519e13", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking ark-std v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling waffles-solana-frozen-abi-macro v1.16.0-alpha.10 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling waffles-solana-frozen-abi v1.16.0-alpha.10 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking find-msvc-tools v0.1.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling waffles-solana-program v1.16.0-alpha.10 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Compiling waffles-solana-sdk-macro v1.16.0-alpha.10 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling waffles-solana-sdk v1.16.0-alpha.10 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking array-bytes v1.4.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling ark-ff v0.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking waffles-solana-logger v1.16.0-alpha.10 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking compression-core v0.4.29 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling waffles-solana-program-runtime v1.16.0-alpha.10 [INFO] [stderr] Checking goblin v0.5.4 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking eager v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking ark-serialize v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking compression-codecs v0.4.30 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.30 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking solana_rbpf v0.2.38 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling waffles-solana-vote-program v1.16.0-alpha.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling waffles-solana-stake-program v1.16.0-alpha.10 [INFO] [stderr] Compiling waffles-solana-address-lookup-table-program v1.16.0-alpha.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling waffles-solana-perf v1.16.0-alpha.10 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling ouroboros_macro v0.15.6 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking waffles-solana-rayon-threadlimit v1.16.0-alpha.10 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Compiling waffles-solana-runtime v1.16.0-alpha.10 (/opt/rustwide/workdir) [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling test-case-macros v2.2.2 [INFO] [stderr] Checking ouroboros v0.15.6 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking dir-diff v0.3.3 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking lru v0.7.8 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking index_list v0.2.16 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking test-case v2.2.2 [INFO] [stderr] Checking ark-ec v0.3.0 [INFO] [stderr] Checking ark-bn254 v0.3.0 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking waffles-solana-measure v1.16.0-alpha.10 [INFO] [stderr] Checking waffles-solana-metrics v1.16.0-alpha.10 [INFO] [stderr] Checking waffles-solana-zk-token-sdk v1.16.0-alpha.10 [INFO] [stderr] Checking waffles-solana-bucket-map v1.16.0-alpha.10 [INFO] [stderr] Checking waffles-solana-config-program v1.16.0-alpha.10 [INFO] [stderr] Checking waffles-solana-compute-budget-program v1.16.0-alpha.10 [INFO] [stderr] Checking waffles-solana-zk-token-proof-program v1.16.0-alpha.10 [INFO] [stderr] Checking waffles-solana-bpf-loader-program v1.16.0-alpha.10 [INFO] [stderr] Checking lz4 v1.28.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/accounts_db.rs:2231:17 [INFO] [stdout] | [INFO] [stdout] 2231 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/append_vec.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | serde::{Deserialize, Serialize}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:325:7 [INFO] [stdout] | [INFO] [stdout] 325 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:925:7 [INFO] [stdout] | [INFO] [stdout] 925 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:937:7 [INFO] [stdout] | [INFO] [stdout] 937 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/builtins.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/builtins.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/message_processor.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot.rs:527:7 [INFO] [stdout] | [INFO] [stdout] 527 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/newer.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/storage.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/snapshot_utils.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/stake_account.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/stake_account.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/accounts_background_service/stats.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/accounts_db.rs:2231:17 [INFO] [stdout] | [INFO] [stdout] 2231 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/accounts_db.rs:9624:13 [INFO] [stdout] | [INFO] [stdout] 9624 | /// global write version [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9625 | write_version_obsolete: 0, [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/accounts_db.rs:9626:13 [INFO] [stdout] | [INFO] [stdout] 9626 | /// key for the account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9627 | pubkey, [INFO] [stdout] | ------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/accounts_db.rs:9632:13 [INFO] [stdout] | [INFO] [stdout] 9632 | /// account data [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9633 | account_meta: &account_meta, [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ancient_append_vecs.rs:1616:13 [INFO] [stdout] | [INFO] [stdout] 1616 | /// global write version [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1617 | write_version_obsolete: 0, [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ancient_append_vecs.rs:1618:13 [INFO] [stdout] | [INFO] [stdout] 1618 | /// key for the account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1619 | pubkey, [INFO] [stdout] | ------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ancient_append_vecs.rs:1624:13 [INFO] [stdout] | [INFO] [stdout] 1624 | /// account data [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1625 | account_meta: &account_meta, [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/append_vec.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | serde::{Deserialize, Serialize}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:325:7 [INFO] [stdout] | [INFO] [stdout] 325 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:925:7 [INFO] [stdout] | [INFO] [stdout] 925 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/bank.rs:937:7 [INFO] [stdout] | [INFO] [stdout] 937 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/builtins.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/builtins.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/epoch_stakes.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|v| (v.vote_account)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - .map(|v| (v.vote_account)) [INFO] [stdout] 175 + .map(|v| v.vote_account) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/message_processor.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot.rs:527:7 [INFO] [stdout] | [INFO] [stdout] 527 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/newer.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/storage.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/tests.rs:716:7 [INFO] [stdout] | [INFO] [stdout] 716 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/serde_snapshot/utils.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(all(test, RUSTC_WITH_SPECIALIZATION))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/snapshot_utils.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/stake_account.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `RUSTC_WITH_SPECIALIZATION` [INFO] [stdout] --> src/stake_account.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(RUSTC_WITH_SPECIALIZATION)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(RUSTC_WITH_SPECIALIZATION)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(RUSTC_WITH_SPECIALIZATION)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/accounts_background_service/stats.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_db.rs:7192:9 [INFO] [stdout] | [INFO] [stdout] 7192 | mut stats: &mut crate::accounts_hash::HashStats, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_db.rs:7346:9 [INFO] [stdout] | [INFO] [stdout] 7346 | mut stats: &mut crate::accounts_hash::HashStats, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_db.rs:9156:17 [INFO] [stdout] | [INFO] [stdout] 9156 | let mut info = storage_info_local [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_hash.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut count_and_writer = self.count_and_writer.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_hash.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | mut stats: &mut HashStats, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache_hash_data.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut header = cache_file.get_header_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_append_vec_id` [INFO] [stdout] --> src/snapshot_utils.rs:1234:73 [INFO] [stdout] | [INFO] [stdout] 1234 | let (unarchived_full_snapshot, mut unarchived_incremental_snapshot, next_append_vec_id) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_append_vec_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_append_vec_id` [INFO] [stdout] --> src/snapshot_utils.rs:1298:73 [INFO] [stdout] | [INFO] [stdout] 1298 | let (unarchived_full_snapshot, mut unarchived_incremental_snapshot, next_append_vec_id) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_append_vec_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Versioned` is never used [INFO] [stdout] --> src/accounts_db.rs:748:7 [INFO] [stdout] | [INFO] [stdout] 748 | trait Versioned { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_accum` and `set_accum` are never used [INFO] [stdout] --> src/accounts_db.rs:2290:8 [INFO] [stdout] | [INFO] [stdout] 2279 | trait AppendVecScan: Send + Sync + Clone { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 2290 | fn get_accum(&mut self) -> BinnedHashData; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2291 | fn set_accum(&mut self, accum: BinnedHashData); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorableAccountsMovingSlots` is never constructed [INFO] [stdout] --> src/storable_accounts.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct StorableAccountsMovingSlots<'a, T: ReadableAccount + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:796:37 [INFO] [stdout] | [INFO] [stdout] 796 | fn check_and_get_loaded_account(&mut self) -> LoadedAccount { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 796 | fn check_and_get_loaded_account(&mut self) -> LoadedAccount<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:821:27 [INFO] [stdout] | [INFO] [stdout] 821 | fn get_loaded_account(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 821 | fn get_loaded_account(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:1135:32 [INFO] [stdout] | [INFO] [stdout] 1135 | fn get_stored_account_meta(&self, offset: usize) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1135 | fn get_stored_account_meta(&self, offset: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | pub fn all_accounts(&self) -> Vec { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1158 | pub fn all_accounts(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:1284:13 [INFO] [stdout] | [INFO] [stdout] 1284 | fn iter(&self) -> std::slice::Iter<(Instant, Arc)> { [INFO] [stdout] | ^^^^^ ----------------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1284 | fn iter(&self) -> std::slice::Iter<'_, (Instant, Arc)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_file.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn account_iter(&self) -> AccountsFileIter { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn account_iter(&self) -> AccountsFileIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_file.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn accounts(&self, offset: usize) -> Vec { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn accounts(&self, offset: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_index.rs:762:16 [INFO] [stdout] | [INFO] [stdout] 762 | fn iter(&self, range: Option<&R>, collect_all_unsorted: bool) -> AccountsIndexIterator [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 762 | fn iter(&self, range: Option<&R>, collect_all_unsorted: bool) -> AccountsIndexIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_index.rs:1575:27 [INFO] [stdout] | [INFO] [stdout] 1575 | pub(crate) fn get_bin(&self, pubkey: &Pubkey) -> AccountMaps { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1575 | pub(crate) fn get_bin(&self, pubkey: &Pubkey) -> AccountMaps<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/append_vec.rs:657:25 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn account_iter(&self) -> AppendVecAccountsIter { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 657 | pub fn account_iter(&self) -> AppendVecAccountsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/append_vec.rs:662:21 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn accounts(&self, mut offset: usize) -> Vec { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 662 | pub fn accounts(&self, mut offset: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:2050:24 [INFO] [stdout] | [INFO] [stdout] 2050 | pub fn freeze_lock(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2050 | pub fn freeze_lock(&self) -> RwLockReadGuard<'_, Hash> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/bank.rs:2735:61 [INFO] [stdout] | [INFO] [stdout] 2735 | let vote_state = match vote_account.vote_state().deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::result::Result` does not implement `Deref`, so calling `deref` on `&std::result::Result` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 2735 - let vote_state = match vote_account.vote_state().deref() { [INFO] [stdout] 2735 + let vote_state = match vote_account.vote_state() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:3656:36 [INFO] [stdout] | [INFO] [stdout] 3656 | pub fn prepare_batch_for_tests(&self, txs: Vec) -> TransactionBatch { [INFO] [stdout] | ^^^^^ ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3656 | pub fn prepare_batch_for_tests(&self, txs: Vec) -> TransactionBatch<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:3671:32 [INFO] [stdout] | [INFO] [stdout] 3671 | pub fn prepare_entry_batch(&self, txs: Vec) -> Result { [INFO] [stdout] | ^^^^^ ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3671 | pub fn prepare_entry_batch(&self, txs: Vec) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:7444:30 [INFO] [stdout] | [INFO] [stdout] 7444 | pub fn read_cost_tracker(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7444 | pub fn read_cost_tracker(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:7448:31 [INFO] [stdout] | [INFO] [stdout] 7448 | pub fn write_cost_tracker(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ----------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7448 | pub fn write_cost_tracker(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockhash_queue.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn get_recent_blockhashes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn get_recent_blockhashes(&self) -> impl Iterator> { [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] --> src/stakes.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, PartialEq, Eq, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_InvalidCacheEntryReason` [INFO] [stdout] 47 | pub enum InvalidCacheEntryReason { [INFO] [stdout] | ----------------------- `InvalidCacheEntryReason` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stakes.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn stakes(&self) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^ ------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn stakes(&self) -> RwLockReadGuard<'_, Stakes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_db.rs:7192:9 [INFO] [stdout] | [INFO] [stdout] 7192 | mut stats: &mut crate::accounts_hash::HashStats, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_db.rs:7346:9 [INFO] [stdout] | [INFO] [stdout] 7346 | mut stats: &mut crate::accounts_hash::HashStats, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_db.rs:9156:17 [INFO] [stdout] | [INFO] [stdout] 9156 | let mut info = storage_info_local [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_hash.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut count_and_writer = self.count_and_writer.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounts_hash.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | mut stats: &mut HashStats, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache_hash_data.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut header = cache_file.get_header_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_append_vec_id` [INFO] [stdout] --> src/snapshot_utils.rs:1234:73 [INFO] [stdout] | [INFO] [stdout] 1234 | let (unarchived_full_snapshot, mut unarchived_incremental_snapshot, next_append_vec_id) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_append_vec_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_append_vec_id` [INFO] [stdout] --> src/snapshot_utils.rs:1298:73 [INFO] [stdout] | [INFO] [stdout] 1298 | let (unarchived_full_snapshot, mut unarchived_incremental_snapshot, next_append_vec_id) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_append_vec_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Versioned` is never used [INFO] [stdout] --> src/accounts_db.rs:748:7 [INFO] [stdout] | [INFO] [stdout] 748 | trait Versioned { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_accum` and `set_accum` are never used [INFO] [stdout] --> src/accounts_db.rs:2290:8 [INFO] [stdout] | [INFO] [stdout] 2279 | trait AppendVecScan: Send + Sync + Clone { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 2290 | fn get_accum(&mut self) -> BinnedHashData; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2291 | fn set_accum(&mut self, accum: BinnedHashData); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MockInstruction` is never used [INFO] [stdout] --> src/message_processor.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | enum MockInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:796:37 [INFO] [stdout] | [INFO] [stdout] 796 | fn check_and_get_loaded_account(&mut self) -> LoadedAccount { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 796 | fn check_and_get_loaded_account(&mut self) -> LoadedAccount<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:821:27 [INFO] [stdout] | [INFO] [stdout] 821 | fn get_loaded_account(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 821 | fn get_loaded_account(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:1135:32 [INFO] [stdout] | [INFO] [stdout] 1135 | fn get_stored_account_meta(&self, offset: usize) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1135 | fn get_stored_account_meta(&self, offset: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | pub fn all_accounts(&self) -> Vec { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1158 | pub fn all_accounts(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:1284:13 [INFO] [stdout] | [INFO] [stdout] 1284 | fn iter(&self) -> std::slice::Iter<(Instant, Arc)> { [INFO] [stdout] | ^^^^^ ----------------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1284 | fn iter(&self) -> std::slice::Iter<'_, (Instant, Arc)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_db.rs:9946:32 [INFO] [stdout] | [INFO] [stdout] 9946 | fn get_storage_refs(input: &[Arc]) -> SortedStorages { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9946 | fn get_storage_refs(input: &[Arc]) -> SortedStorages<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_file.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn account_iter(&self) -> AccountsFileIter { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn account_iter(&self) -> AccountsFileIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_file.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn accounts(&self, offset: usize) -> Vec { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn accounts(&self, offset: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_index.rs:762:16 [INFO] [stdout] | [INFO] [stdout] 762 | fn iter(&self, range: Option<&R>, collect_all_unsorted: bool) -> AccountsIndexIterator [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 762 | fn iter(&self, range: Option<&R>, collect_all_unsorted: bool) -> AccountsIndexIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/accounts_index.rs:1575:27 [INFO] [stdout] | [INFO] [stdout] 1575 | pub(crate) fn get_bin(&self, pubkey: &Pubkey) -> AccountMaps { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1575 | pub(crate) fn get_bin(&self, pubkey: &Pubkey) -> AccountMaps<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/append_vec.rs:657:25 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn account_iter(&self) -> AppendVecAccountsIter { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 657 | pub fn account_iter(&self) -> AppendVecAccountsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/append_vec.rs:662:21 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn accounts(&self, mut offset: usize) -> Vec { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 662 | pub fn accounts(&self, mut offset: usize) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/append_vec.rs:788:17 [INFO] [stdout] | [INFO] [stdout] 788 | *(&self.meta.data_len as *const u64 as *mut u64) = new_data_len; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/append_vec.rs:795:48 [INFO] [stdout] | [INFO] [stdout] 795 | let executable_byte: u8 = unsafe { std::mem::transmute::(executable_bool) }; [INFO] [stdout] | -------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/append_vec.rs:803:17 [INFO] [stdout] | [INFO] [stdout] 803 | *(&self.account_meta.executable as *const bool as *mut u8) = new_executable_byte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:2050:24 [INFO] [stdout] | [INFO] [stdout] 2050 | pub fn freeze_lock(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2050 | pub fn freeze_lock(&self) -> RwLockReadGuard<'_, Hash> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/bank.rs:2735:61 [INFO] [stdout] | [INFO] [stdout] 2735 | let vote_state = match vote_account.vote_state().deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::result::Result` does not implement `Deref`, so calling `deref` on `&std::result::Result` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 2735 - let vote_state = match vote_account.vote_state().deref() { [INFO] [stdout] 2735 + let vote_state = match vote_account.vote_state() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:3656:36 [INFO] [stdout] | [INFO] [stdout] 3656 | pub fn prepare_batch_for_tests(&self, txs: Vec) -> TransactionBatch { [INFO] [stdout] | ^^^^^ ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3656 | pub fn prepare_batch_for_tests(&self, txs: Vec) -> TransactionBatch<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:3671:32 [INFO] [stdout] | [INFO] [stdout] 3671 | pub fn prepare_entry_batch(&self, txs: Vec) -> Result { [INFO] [stdout] | ^^^^^ ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3671 | pub fn prepare_entry_batch(&self, txs: Vec) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:7444:30 [INFO] [stdout] | [INFO] [stdout] 7444 | pub fn read_cost_tracker(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7444 | pub fn read_cost_tracker(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bank.rs:7448:31 [INFO] [stdout] | [INFO] [stdout] 7448 | pub fn write_cost_tracker(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ----------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7448 | pub fn write_cost_tracker(&self) -> LockResult> { [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] --> src/bank/tests.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 396 | fn test_bank_update_epoch_stakes() { [INFO] [stdout] | ---------------------------------- move the `impl` block outside of this function `test_bank_update_epoch_stakes` [INFO] [stdout] 397 | impl Bank { [INFO] [stdout] | ^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | `Bank` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockhash_queue.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn get_recent_blockhashes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn get_recent_blockhashes(&self) -> impl Iterator> { [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] --> src/stakes.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, PartialEq, Eq, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_InvalidCacheEntryReason` [INFO] [stdout] 47 | pub enum InvalidCacheEntryReason { [INFO] [stdout] | ----------------------- `InvalidCacheEntryReason` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` 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: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stakes.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn stakes(&self) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^ ------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn stakes(&self) -> RwLockReadGuard<'_, Stakes> { [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] --> src/stakes.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 892 | fn test_vote_balance_and_staked_normal() { [INFO] [stdout] | ---------------------------------------- move the `impl` block outside of this function `test_vote_balance_and_staked_normal` [INFO] [stdout] 893 | let stakes_cache = StakesCache::default(); [INFO] [stdout] 894 | impl Stakes { [INFO] [stdout] | ^^^^^------^------------^ [INFO] [stdout] | | | [INFO] [stdout] | | `StakeAccount` is not local [INFO] [stdout] | `Stakes` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `waffles-solana-runtime` (lib test) due to 2 previous errors; 64 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ff5d7abcbd1995435723638ef5564919b6bc0d59a6f7bd62007ed43e7519e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff5d7abcbd1995435723638ef5564919b6bc0d59a6f7bd62007ed43e7519e13", kill_on_drop: false }` [INFO] [stdout] 8ff5d7abcbd1995435723638ef5564919b6bc0d59a6f7bd62007ed43e7519e13