You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
I'd love to play around with redbpf, but I'm getting the following obscure error and am not sure what to do to resolve it.
error[E0507]: cannot move out of `self.bip_inline_vecs` which is behind a shared reference
--> .../target/bpf/release/build/redbpf-probes-bbeb8db105248625/out/gen_bindings.rs:69581:9
|
69569 | #[derive(Debug)]
| ----- in this derive macro expansion
...
69581 | pub bip_inline_vecs: __IncompleteArrayField<bio_vec>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.bip_inline_vecs` has type `__IncompleteArrayField<bio_vec>`, which does not implement the `Copy` trait
|
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
Version info:
$ uname -a
Linux {REDACTED} 6.1.27-43.48.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 2 04:53:36 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ cargo --version
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
$ rustc --version
rustc 1.70.0 (90c541806 2023-05-31)
$ llvm-config --version
llvm-config: /usr/lib64/libtinfo.so.5: no version information available (required by llvm-config)
13.0.1
$ cargo bpf --version
cargo-bpf 2.3.0