[INFO] fetching crate gemachain-bpf-loader-program 1.8.2... [INFO] checking gemachain-bpf-loader-program-1.8.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate gemachain-bpf-loader-program 1.8.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate gemachain-bpf-loader-program 1.8.2 [INFO] finished tweaking crates.io crate gemachain-bpf-loader-program 1.8.2 [INFO] tweaked toml for crates.io crate gemachain-bpf-loader-program 1.8.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gemachain-bpf-loader-program 1.8.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 347 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding libsecp256k1 v0.6.0 (available: v0.7.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] [stderr] Adding zstd-safe v4.1.3+zstd.1.5.1 (available: v4.1.6+zstd.1.5.2) [INFO] [stderr] Adding zstd-sys v1.6.2+zstd.1.5.1 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ouroboros_macro v0.10.1 [INFO] [stderr] Downloaded gemachain-vote-program v1.8.2 [INFO] [stderr] Downloaded zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Downloaded gemachain-secp256k1-program v1.8.2 [INFO] [stderr] Downloaded ouroboros v0.10.1 [INFO] [stderr] Downloaded gemachain-ed25519-program v1.8.2 [INFO] [stderr] Downloaded gemachain-measure v1.8.2 [INFO] [stderr] Downloaded gemachain-compute-budget-program v1.8.2 [INFO] [stderr] Downloaded gemachain-config-program v1.8.2 [INFO] [stderr] Downloaded gemachain-bucket-map v1.8.2 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded gemachain-stake-program v1.8.2 [INFO] [stderr] Downloaded gemachain-metrics v1.8.2 [INFO] [stderr] Downloaded gemachain-program-runtime v1.8.2 [INFO] [stderr] Downloaded zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Downloaded gemachain-rayon-threadlimit v1.8.2 [INFO] [stderr] Downloaded gemachain_rbpf v0.2.14 [INFO] [stderr] Downloaded goblin v0.4.3 [INFO] [stderr] Downloaded gemachain-runtime v1.8.2 [INFO] [stderr] Downloaded zstd-sys v1.6.2+zstd.1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49c05ed818654d3feea6f2e811e20141417ce5a20745145014e666c6ec5eae0a [INFO] running `Command { std: "docker" "start" "-a" "49c05ed818654d3feea6f2e811e20141417ce5a20745145014e666c6ec5eae0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49c05ed818654d3feea6f2e811e20141417ce5a20745145014e666c6ec5eae0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c05ed818654d3feea6f2e811e20141417ce5a20745145014e666c6ec5eae0a", kill_on_drop: false }` [INFO] [stdout] 49c05ed818654d3feea6f2e811e20141417ce5a20745145014e666c6ec5eae0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d3acc6da5f8739ce7b6725ed26c0eebe239536d335ceefe3289b2f99e52912 [INFO] running `Command { std: "docker" "start" "-a" "e4d3acc6da5f8739ce7b6725ed26c0eebe239536d335ceefe3289b2f99e52912", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling gemachain-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling gemachain-frozen-abi v1.8.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking gemachain-logger v1.8.2 [INFO] [stderr] Compiling gemachain-program v1.8.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling gemachain-sdk-macro v1.8.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking derivation-path v0.1.3 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling gemachain-sdk v1.8.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking pbkdf2 v0.9.0 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling gemachain-program-runtime v1.8.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling gemachain-vote-program v1.8.2 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling gemachain-stake-program v1.8.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Compiling ouroboros_macro v0.10.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking goblin v0.4.3 [INFO] [stderr] Compiling gemachain-bpf-loader-program v1.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking gemachain-crate-features v1.8.2 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling gemachain-runtime v1.8.2 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking dir-diff v0.3.3 [INFO] [stderr] Checking gemachain-rayon-threadlimit v1.8.2 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking ouroboros v0.10.1 [INFO] [stderr] Checking gemachain_rbpf v0.2.14 [INFO] [stderr] Checking gemachain-metrics v1.8.2 [INFO] [stderr] Checking gemachain-measure v1.8.2 [INFO] [stderr] Checking gemachain-config-program v1.8.2 [INFO] [stderr] Checking gemachain-bucket-map v1.8.2 [INFO] [stderr] Checking gemachain-compute-budget-program v1.8.2 [INFO] [stderr] Checking gemachain-secp256k1-program v1.8.2 [INFO] [stderr] Checking gemachain-ed25519-program v1.8.2 [INFO] [stdout] warning: field `heap` is never read [INFO] [stdout] --> src/allocator_bump.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BpfAllocator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | heap: AlignedMemory, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BpfAllocator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_context` is never used [INFO] [stdout] --> src/syscalls.rs:1543:8 [INFO] [stdout] | [INFO] [stdout] 1541 | trait SyscallInvokeSigned<'a> { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 1542 | fn get_context_mut(&self) -> Result, EbpfError>; [INFO] [stdout] 1543 | fn get_context(&self) -> Result, EbpfError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_signer` and `is_writable` are never read [INFO] [stdout] --> src/syscalls.rs:1820:5 [INFO] [stdout] | [INFO] [stdout] 1813 | struct GemaAccountInfo { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1820 | is_signer: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1821 | is_writable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GemaAccountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GemaSignerSeedsC` is never constructed [INFO] [stdout] --> src/syscalls.rs:1834:8 [INFO] [stdout] | [INFO] [stdout] 1834 | struct GemaSignerSeedsC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syscalls.rs:1542:24 [INFO] [stdout] | [INFO] [stdout] 1542 | fn get_context_mut(&self) -> Result, EbpfError>; [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] 1542 | fn get_context_mut(&self) -> Result, EbpfError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syscalls.rs:1543:20 [INFO] [stdout] | [INFO] [stdout] 1543 | fn get_context(&self) -> Result, EbpfError>; [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] 1543 | fn get_context(&self) -> Result, EbpfError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syscalls.rs:1573:24 [INFO] [stdout] | [INFO] [stdout] 1573 | fn get_context_mut(&self) -> Result, EbpfError> { [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] 1573 | fn get_context_mut(&self) -> Result, EbpfError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syscalls.rs:1578:20 [INFO] [stdout] | [INFO] [stdout] 1578 | fn get_context(&self) -> Result, EbpfError> { [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] 1578 | fn get_context(&self) -> Result, EbpfError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syscalls.rs:1845:24 [INFO] [stdout] | [INFO] [stdout] 1845 | fn get_context_mut(&self) -> Result, EbpfError> { [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] 1845 | fn get_context_mut(&self) -> Result, EbpfError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syscalls.rs:1850:20 [INFO] [stdout] | [INFO] [stdout] 1850 | fn get_context(&self) -> Result, EbpfError> { [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] 1850 | fn get_context(&self) -> Result, EbpfError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/syscalls.rs:1957:45 [INFO] [stdout] | [INFO] [stdout] 1957 | let ref_to_len_in_vm = unsafe { &mut *(addr as *mut u64) }; [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] [stderr] error: could not compile `gemachain-bpf-loader-program` (lib) due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e4d3acc6da5f8739ce7b6725ed26c0eebe239536d335ceefe3289b2f99e52912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d3acc6da5f8739ce7b6725ed26c0eebe239536d335ceefe3289b2f99e52912", kill_on_drop: false }` [INFO] [stdout] e4d3acc6da5f8739ce7b6725ed26c0eebe239536d335ceefe3289b2f99e52912