aya 0.13.0

An eBPF library with a focus on developer experience and operability.
Documentation
Build #1385096 2024-10-09T10:03:11.947708+00:00
# rustc version
rustc 1.83.0-nightly (6f4ae0f34 2024-10-08)# docs.rs version
docsrs 0.6.0 (d5a37845 2024-09-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/aya-0.13.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/aya-0.13.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-D\", \"warnings\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241008-1.83.0-nightly-6f4ae0f34\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 498d13bf330109dfdbeef64a70d5be75962ec0c38ac5e515cda9bcd4d9b8b4d0
[INFO] running `Command { std: "docker" "start" "-a" "498d13bf330109dfdbeef64a70d5be75962ec0c38ac5e515cda9bcd4d9b8b4d0", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting aya v0.13.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `libc::nlattr`, `libc::nlmsgerr`, `libc::nlmsghdr`, `libc::sockaddr_nl`, `libc::AF_NETLINK`, `libc::ETH_P_ALL`, `libc::IFLA_XDP`, `libc::NETLINK_EXT_ACK`, `libc::NETLINK_ROUTE`, `libc::NLA_ALIGNTO`, `libc::NLA_F_NESTED`, `libc::NLA_TYPE_MASK`, `libc::NLMSG_DONE`, `libc::NLMSG_ERROR`, `libc::NLM_F_ACK`, `libc::NLM_F_CREATE`, `libc::NLM_F_DUMP`, `libc::NLM_F_ECHO`, `libc::NLM_F_EXCL`, `libc::NLM_F_MULTI`, `libc::NLM_F_REQUEST`, `libc::RTM_DELTFILTER`, `libc::RTM_GETTFILTER`, `libc::RTM_NEWQDISC`, `libc::RTM_NEWTFILTER`, `libc::RTM_SETLINK`, `libc::SOL_NETLINK`
[INFO] [stderr]   --> src/sys/netlink.rs:10:18
[INFO] [stderr]    |
[INFO] [stderr] 10 |     getsockname, nlattr, nlmsgerr, nlmsghdr, recv, send, setsockopt, sockaddr_nl, socket,
[INFO] [stderr]    |                  ^^^^^^  ^^^^^^^^  ^^^^^^^^                          ^^^^^^^^^^^ no `sockaddr_nl` in the root
[INFO] [stderr]    |                  |       |         |
[INFO] [stderr]    |                  |       |         no `nlmsghdr` in the root
[INFO] [stderr]    |                  |       no `nlmsgerr` in the root
[INFO] [stderr]    |                  no `nlattr` in the root
[INFO] [stderr] 11 |     AF_NETLINK, AF_UNSPEC, ETH_P_ALL, IFF_UP, IFLA_XDP, NETLINK_EXT_ACK, NETLINK_ROUTE,
[INFO] [stderr]    |     ^^^^^^^^^^             ^^^^^^^^^          ^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `NETLINK_ROUTE` in the root
[INFO] [stderr]    |     |                      |                  |         |
[INFO] [stderr]    |     |                      |                  |         no `NETLINK_EXT_ACK` in the root
[INFO] [stderr]    |     |                      |                  no `IFLA_XDP` in the root
[INFO] [stderr]    |     |                      no `ETH_P_ALL` in the root
[INFO] [stderr]    |     no `AF_NETLINK` in the root
[INFO] [stderr] 12 |     NLA_ALIGNTO, NLA_F_NESTED, NLA_TYPE_MASK, NLMSG_DONE, NLMSG_ERROR, NLM_F_ACK, NLM_F_CREATE,
[INFO] [stderr]    |     ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     no `NLA_ALIGNTO` in the root
[INFO] [stderr] 13 |     NLM_F_DUMP, NLM_F_ECHO, NLM_F_EXCL, NLM_F_MULTI, NLM_F_REQUEST, RTM_DELTFILTER, RTM_GETTFILTER,
[INFO] [stderr]    |     ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     RTM_NEWQDISC, RTM_NEWTFILTER, RTM_SETLINK, SOCK_RAW, SOL_NETLINK,
[INFO] [stderr]    |     ^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^            ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 10 |     getsockname, nlattr, nlmsgerr, msghdr, recv, send, setsockopt, sockaddr_nl, socket,
[INFO] [stderr]    |                                    ~~~~~~
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 10 |     getsockname, nlattr, nlmsgerr, nlmsghdr, recv, send, setsockopt, sockaddr_dl, socket,
[INFO] [stderr]    |                                                                      ~~~~~~~~~~~
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 11 |     AF_IMPLINK, AF_UNSPEC, ETH_P_ALL, IFF_UP, IFLA_XDP, NETLINK_EXT_ACK, NETLINK_ROUTE,
[INFO] [stderr]    |     ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `libc::SYS_bpf`, `libc::SYS_perf_event_open`
[INFO] [stderr]   --> src/sys/mod.rs:19:19
[INFO] [stderr]    |
[INFO] [stderr] 19 | use libc::{pid_t, SYS_bpf, SYS_perf_event_open};
[INFO] [stderr]    |                   ^^^^^^^  ^^^^^^^^^^^^^^^^^^^ no `SYS_perf_event_open` in the root
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   no `SYS_bpf` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not resolve path `nlattr`
[INFO] [stderr]   --> src/sys/netlink.rs:28:52
[INFO] [stderr]    |
[INFO] [stderr] 28 | const NLA_HDR_LEN: usize = align_to(mem::size_of::<nlattr>(), NLA_ALIGNTO as usize);
[INFO] [stderr]    |                                                    ^^^^^^ could not resolve path `nlattr`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stderr]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not resolve path `NLA_ALIGNTO`
[INFO] [stderr]   --> src/sys/netlink.rs:28:63
[INFO] [stderr]    |
[INFO] [stderr] 28 | const NLA_HDR_LEN: usize = align_to(mem::size_of::<nlattr>(), NLA_ALIGNTO as usize);
[INFO] [stderr]    |                                                               ^^^^^^^^^^^ could not resolve path `NLA_ALIGNTO`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stderr]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `aya`
[INFO] running `Command { std: "docker" "inspect" "498d13bf330109dfdbeef64a70d5be75962ec0c38ac5e515cda9bcd4d9b8b4d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "498d13bf330109dfdbeef64a70d5be75962ec0c38ac5e515cda9bcd4d9b8b4d0", kill_on_drop: false }`
[INFO] [stdout] 498d13bf330109dfdbeef64a70d5be75962ec0c38ac5e515cda9bcd4d9b8b4d0