[INFO] cloning repository https://github.com/ksolana/solana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ksolana/solana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksolana%2Fsolana", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksolana%2Fsolana'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90c3620683f0171b35b60c82bad57a1a386e5ece [INFO] testing ksolana/solana against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksolana%2Fsolana" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 53% (1314/2462) Updating files: 54% (1330/2462) Updating files: 55% (1355/2462) Updating files: 56% (1379/2462) Updating files: 57% (1404/2462) Updating files: 58% (1428/2462) Updating files: 59% (1453/2462) Updating files: 60% (1478/2462) Updating files: 61% (1502/2462) Updating files: 62% (1527/2462) Updating files: 63% (1552/2462) Updating files: 64% (1576/2462) Updating files: 65% (1601/2462) Updating files: 66% (1625/2462) Updating files: 67% (1650/2462) Updating files: 68% (1675/2462) Updating files: 69% (1699/2462) Updating files: 70% (1724/2462) Updating files: 71% (1749/2462) Updating files: 72% (1773/2462) Updating files: 73% (1798/2462) Updating files: 74% (1822/2462) Updating files: 75% (1847/2462) Updating files: 76% (1872/2462) Updating files: 77% (1896/2462) Updating files: 78% (1921/2462) Updating files: 79% (1945/2462) Updating files: 80% (1970/2462) Updating files: 81% (1995/2462) Updating files: 82% (2019/2462) Updating files: 83% (2044/2462) Updating files: 84% (2069/2462) Updating files: 85% (2093/2462) Updating files: 86% (2118/2462) Updating files: 87% (2142/2462) Updating files: 88% (2167/2462) Updating files: 89% (2192/2462) Updating files: 90% (2216/2462) Updating files: 91% (2241/2462) Updating files: 92% (2266/2462) Updating files: 93% (2290/2462) Updating files: 94% (2315/2462) Updating files: 95% (2339/2462) Updating files: 96% (2364/2462) Updating files: 97% (2389/2462) Updating files: 98% (2413/2462) Updating files: 99% (2438/2462) Updating files: 100% (2462/2462) Updating files: 100% (2462/2462), done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ksolana/solana [INFO] finished tweaking git repo https://github.com/ksolana/solana [INFO] tweaked toml for git repo https://github.com/ksolana/solana written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ksolana/solana on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ksolana/solana already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd24daff72fc8cbbb6900b911d3ad81ddc65940ff78f988e7ecc3ce6dcff236d [INFO] running `Command { std: "docker" "start" "-a" "dd24daff72fc8cbbb6900b911d3ad81ddc65940ff78f988e7ecc3ce6dcff236d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd24daff72fc8cbbb6900b911d3ad81ddc65940ff78f988e7ecc3ce6dcff236d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd24daff72fc8cbbb6900b911d3ad81ddc65940ff78f988e7ecc3ce6dcff236d", kill_on_drop: false }` [INFO] [stdout] dd24daff72fc8cbbb6900b911d3ad81ddc65940ff78f988e7ecc3ce6dcff236d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b909941ee66a1ad8c0ab1aaf1e459cbbfd4fc2ba78c1bd0a3a7c091ead0d1923 [INFO] running `Command { std: "docker" "start" "-a" "b909941ee66a1ad8c0ab1aaf1e459cbbfd4fc2ba78c1bd0a3a7c091ead0d1923", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.19 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling zerocopy v0.7.31 [INFO] [stderr] Compiling winnow v0.5.16 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling solana-sanitize v2.1.16 (/opt/rustwide/workdir/sdk/sanitize) [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling solana-atomic-u64 v2.1.16 (/opt/rustwide/workdir/sdk/atomic-u64) [INFO] [stderr] Compiling solana-decode-error v2.1.16 (/opt/rustwide/workdir/sdk/decode-error) [INFO] [stderr] Compiling five8_core v0.1.0 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling solana-msg v2.1.16 (/opt/rustwide/workdir/sdk/msg) [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling solana-sdk-macro v2.1.16 (/opt/rustwide/workdir/sdk/macro) [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling solana-program-memory v2.1.16 (/opt/rustwide/workdir/sdk/program-memory) [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling solana-native-token v2.1.16 (/opt/rustwide/workdir/sdk/native-token) [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling solana-program-option v2.1.16 (/opt/rustwide/workdir/sdk/program-option) [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling solana-borsh v2.1.16 (/opt/rustwide/workdir/sdk/borsh) [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling ed25519 v1.2.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling iana-time-zone v0.1.46 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling cfg_eval v0.1.2 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling solana-hash v2.1.16 (/opt/rustwide/workdir/sdk/hash) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling solana-serde-varint v2.1.16 (/opt/rustwide/workdir/sdk/serde-varint) [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> sdk/hash/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / /// A hash; the 32-byte output of a hashing algorithm. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// This struct is used most often in `solana-sdk` and related crates to contain [INFO] [stdout] 37 | | /// a [SHA-256] hash, but may instead contain a [blake3] hash. [INFO] [stdout] ... | [INFO] [stdout] 52 | | #[repr(transparent)] [INFO] [stdout] 53 | | pub struct Hash(pub(crate) [u8; HASH_BYTES]); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling solana-short-vec v2.1.16 (/opt/rustwide/workdir/short-vec) [INFO] [stderr] Compiling solana-fee-calculator v2.1.16 (/opt/rustwide/workdir/sdk/fee-calculator) [INFO] [stderr] Compiling darling_macro v0.20.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling solana-sha256-hasher v2.1.16 (/opt/rustwide/workdir/sdk/sha256-hasher) [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling darling v0.20.1 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling solana-pubkey v2.1.16 (/opt/rustwide/workdir/sdk/pubkey) [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> sdk/pubkey/src/lib.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / /// The address of a [Solana account][acc]. [INFO] [stdout] 137 | | /// [INFO] [stdout] 138 | | /// Some account addresses are [ed25519] public keys, with corresponding secret [INFO] [stdout] 139 | | /// keys that are managed off-chain. Often, though, account addresses do not [INFO] [stdout] ... | [INFO] [stdout] 162 | | #[cfg_attr(feature = "dev-context-only-utils", derive(Arbitrary))] [INFO] [stdout] 163 | | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-sysvar-id v2.1.16 (/opt/rustwide/workdir/sdk/sysvar-id) [INFO] [stderr] Compiling solana-instruction v2.1.16 (/opt/rustwide/workdir/sdk/instruction) [INFO] [stderr] Compiling solana-clock v2.1.16 (/opt/rustwide/workdir/sdk/clock) [INFO] [stderr] Compiling solana-epoch-schedule v2.1.16 (/opt/rustwide/workdir/sdk/epoch-schedule) [INFO] [stderr] Compiling solana-program-error v2.1.16 (/opt/rustwide/workdir/sdk/program-error) [INFO] [stderr] Compiling solana-account-info v2.1.16 (/opt/rustwide/workdir/sdk/account-info) [INFO] [stderr] Compiling solana-program-pack v2.1.16 (/opt/rustwide/workdir/sdk/program-pack) [INFO] [stderr] Compiling solana-stable-layout v2.1.16 (/opt/rustwide/workdir/sdk/stable-layout) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/account-info/src/lib.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn try_borrow_lamports(&self) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn try_borrow_lamports(&self) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/account-info/src/lib.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn try_borrow_mut_lamports(&self) -> Result, ProgramError> { [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] 115 | pub fn try_borrow_mut_lamports(&self) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/account-info/src/lib.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn try_borrow_data(&self) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided 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] 121 | pub fn try_borrow_data(&self) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/account-info/src/lib.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn try_borrow_mut_data(&self) -> Result, ProgramError> { [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] 127 | pub fn try_borrow_mut_data(&self) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-program-entrypoint v2.1.16 (/opt/rustwide/workdir/sdk/program-entrypoint) [INFO] [stderr] Compiling solana-cpi v2.1.16 (/opt/rustwide/workdir/sdk/cpi) [INFO] [stderr] Compiling solana-transaction-error v2.1.16 (/opt/rustwide/workdir/sdk/transaction-error) [INFO] [stderr] Compiling solana-serialize-utils v2.1.16 (/opt/rustwide/workdir/sdk/serialize-utils) [INFO] [stderr] Compiling solana-bincode v2.1.16 (/opt/rustwide/workdir/sdk/bincode) [INFO] [stderr] Compiling solana-last-restart-slot v2.1.16 (/opt/rustwide/workdir/sdk/last-restart-slot) [INFO] [stderr] Compiling solana-slot-hashes v2.1.16 (/opt/rustwide/workdir/sdk/slot-hashes) [INFO] [stderr] Compiling solana-rent v2.1.16 (/opt/rustwide/workdir/sdk/rent) [INFO] [stderr] Compiling solana-slot-history v2.1.16 (/opt/rustwide/workdir/sdk/slot-history) [INFO] [stderr] Compiling solana-feature-set v2.1.16 (/opt/rustwide/workdir/sdk/feature-set) [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling solana-secp256k1-recover v2.1.16 (/opt/rustwide/workdir/curves/secp256k1-recover) [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling solana-precompile-error v2.1.16 (/opt/rustwide/workdir/sdk/precompile-error) [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling solana-program v2.1.16 (/opt/rustwide/workdir/sdk/program) [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling solana-derivation-path v2.1.16 (/opt/rustwide/workdir/sdk/derivation-path) [INFO] [stderr] Compiling solana-signature v2.1.16 (/opt/rustwide/workdir/sdk/signature) [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling solana-packet v2.1.16 (/opt/rustwide/workdir/sdk/packet) [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling solana-inflation v2.1.16 (/opt/rustwide/workdir/sdk/inflation) [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 (https://github.com/anza-xyz/crossbeam?rev=fd279d707025f0e60951e429bf778b4813d1b6bf#fd279d70) [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ring v0.17.3 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sdk/program/src/sysvar/slot_hashes.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct PodSlotHash { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> sdk/program/src/sysvar/slot_hashes.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / /// A bytemuck-compatible (plain old data) version of `SlotHash`. [INFO] [stdout] 83 | | #[derive(Copy, Clone, Default, Pod, Zeroable)] [INFO] [stdout] 84 | | #[repr(C)] [INFO] [stdout] 85 | | pub struct PodSlotHash { [INFO] [stdout] 86 | | pub slot: Slot, [INFO] [stdout] 87 | | pub hash: Hash, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http v0.2.12 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/program/src/message/sanitized.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn account_keys(&self) -> AccountKeys { [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] 68 | pub fn account_keys(&self) -> AccountKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/program/src/message/sanitized.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn account_keys(&self) -> AccountKeys { [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] 189 | pub fn account_keys(&self) -> AccountKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/program/src/message/sanitized.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn decompile_instructions(&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] 277 | pub fn decompile_instructions(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/program/src/message/versions/v0/loaded.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn account_keys(&self) -> AccountKeys { [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] 100 | pub fn account_keys(&self) -> AccountKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> sdk/program/src/program.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!((*(*data_ptr).as_ptr())[..], data[..]); [INFO] [stdout] | ^^--------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut &mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> sdk/program/src/program.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!((*(*data_ptr).as_ptr())[..], data[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!((&(*(*data_ptr).as_ptr()))[..], data[..]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sdk/program/src/vote/authorized_voters.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> std::collections::btree_map::Iter { [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] 85 | pub fn iter(&self) -> std::collections::btree_map::Iter<'_, Epoch, Pubkey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-program` (lib) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b909941ee66a1ad8c0ab1aaf1e459cbbfd4fc2ba78c1bd0a3a7c091ead0d1923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b909941ee66a1ad8c0ab1aaf1e459cbbfd4fc2ba78c1bd0a3a7c091ead0d1923", kill_on_drop: false }` [INFO] [stdout] b909941ee66a1ad8c0ab1aaf1e459cbbfd4fc2ba78c1bd0a3a7c091ead0d1923