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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", 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] 190ac6652662ac2ff86d1c7f2a3940cc1837b2e64cb738a75477d5b414a811d0
[INFO] running `Command { std: "docker" "start" "-a" "190ac6652662ac2ff86d1c7f2a3940cc1837b2e64cb738a75477d5b414a811d0", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking aya-obj v0.2.0
[INFO] [stderr] error[E0432]: unresolved import `crate::generated::btf_header`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/btf/btf.rs:23:33
[INFO] [stderr]    |
[INFO] [stderr] 23 |     generated::{btf_ext_header, btf_header},
[INFO] [stderr]    |                                 ^^^^^^^^^^ no `btf_header` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::generated::bpf_func_info`, `crate::generated::bpf_line_info`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/btf/info.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 |     generated::{bpf_func_info, bpf_line_info},
[INFO] [stderr]   |                 ^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `bpf_line_info` in `generated`
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 no `bpf_func_info` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::generated::bpf_insn`, `crate::generated::BPF_ALU`, `crate::generated::BPF_ALU64`, `crate::generated::BPF_B`, `crate::generated::BPF_CALL`, `crate::generated::BPF_DW`, `crate::generated::BPF_H`, `crate::generated::BPF_JMP`, `crate::generated::BPF_K`, `crate::generated::BPF_LD`, `crate::generated::BPF_LDX`, `crate::generated::BPF_ST`, `crate::generated::BPF_STX`, `crate::generated::BPF_W`, `crate::generated::BTF_INT_SIGNED`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/btf/relocation.rs:21:47
[INFO] [stderr]    |
[INFO] [stderr] 21 |         bpf_core_relo, bpf_core_relo_kind::*, bpf_insn, BPF_ALU, BPF_ALU64, BPF_B, BPF_CALL,
[INFO] [stderr]    |                                               ^^^^^^^^  ^^^^^^^  ^^^^^^^^^  ^^^^^  ^^^^^^^^ no `BPF_CALL` in `generated`
[INFO] [stderr]    |                                               |         |        |          |
[INFO] [stderr]    |                                               |         |        |          no `BPF_B` in `generated`
[INFO] [stderr]    |                                               |         |        no `BPF_ALU64` in `generated`
[INFO] [stderr]    |                                               |         no `BPF_ALU` in `generated`
[INFO] [stderr]    |                                               no `bpf_insn` in `generated`
[INFO] [stderr] 22 |         BPF_DW, BPF_H, BPF_JMP, BPF_K, BPF_LD, BPF_LDX, BPF_ST, BPF_STX, BPF_W, BTF_INT_SIGNED,
[INFO] [stderr]    |         ^^^^^^  ^^^^^  ^^^^^^^  ^^^^^  ^^^^^^  ^^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr]    |         |       |      |        |      |
[INFO] [stderr]    |         |       |      |        |      no `BPF_LD` in `generated`
[INFO] [stderr]    |         |       |      |        no `BPF_K` in `generated`
[INFO] [stderr]    |         |       |      no `BPF_JMP` in `generated`
[INFO] [stderr]    |         |       no `BPF_H` in `generated`
[INFO] [stderr]    |         no `BPF_DW` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::generated::bpf_attach_type`, `crate::generated::bpf_link_type`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/links.rs:4:17
[INFO] [stderr]   |
[INFO] [stderr] 4 |     generated::{bpf_attach_type, bpf_link_type},
[INFO] [stderr]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `bpf_link_type` in `generated`
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 no `bpf_attach_type` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::generated::bpf_map_type`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/maps.rs:14:31
[INFO] [stderr]    |
[INFO] [stderr] 14 |         use crate::generated::bpf_map_type::*;
[INFO] [stderr]    |                               ^^^^^^^^^^^^ could not find `bpf_map_type` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::generated::bpf_insn`, `crate::generated::bpf_map_info`, `crate::generated::bpf_map_type`, `crate::generated::BPF_CALL`, `crate::generated::BPF_F_RDONLY_PROG`, `crate::generated::BPF_JMP`, `crate::generated::BPF_K`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/obj.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         bpf_insn, bpf_map_info, bpf_map_type::BPF_MAP_TYPE_ARRAY, BPF_CALL, BPF_F_RDONLY_PROG,
[INFO] [stderr]    |         ^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^                      ^^^^^^^^  ^^^^^^^^^^^^^^^^^ no `BPF_F_RDONLY_PROG` in `generated`
[INFO] [stderr]    |         |         |             |                                 |
[INFO] [stderr]    |         |         |             |                                 no `BPF_CALL` in `generated`
[INFO] [stderr]    |         |         |             could not find `bpf_map_type` in `generated`
[INFO] [stderr]    |         |         no `bpf_map_info` in `generated`
[INFO] [stderr]    |         no `bpf_insn` in `generated`
[INFO] [stderr] 27 |         BPF_JMP, BPF_K,
[INFO] [stderr]    |         ^^^^^^^  ^^^^^ no `BPF_K` in `generated`
[INFO] [stderr]    |         |
[INFO] [stderr]    |         no `BPF_JMP` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::generated::bpf_attach_type`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/programs/cgroup_sock.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::generated::bpf_attach_type;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `bpf_attach_type` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::generated::bpf_attach_type`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/programs/cgroup_sock_addr.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::generated::bpf_attach_type;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `bpf_attach_type` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::generated::bpf_attach_type`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/programs/cgroup_sockopt.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::generated::bpf_attach_type;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `bpf_attach_type` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::generated::bpf_prog_type`, `crate::generated::bpf_prog_type`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/programs/types.rs:4:16
[INFO] [stderr]   |
[INFO] [stderr] 4 |     generated::bpf_prog_type::{self, *},
[INFO] [stderr]   |                ^^^^^^^^^^^^^   ^^^^ no `bpf_prog_type` in `generated`
[INFO] [stderr]   |                |
[INFO] [stderr]   |                could not find `bpf_prog_type` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::generated::bpf_attach_type`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/programs/xdp.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::generated::bpf_attach_type;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `bpf_attach_type` in `generated`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::generated::bpf_insn`, `crate::generated::BPF_CALL`, `crate::generated::BPF_JMP`, `crate::generated::BPF_K`, `crate::generated::BPF_PSEUDO_CALL`, `crate::generated::BPF_PSEUDO_FUNC`, `crate::generated::BPF_PSEUDO_MAP_FD`, `crate::generated::BPF_PSEUDO_MAP_VALUE`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/aya-obj-0.2.0/src/relocation.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |         bpf_insn, BPF_CALL, BPF_JMP, BPF_K, BPF_PSEUDO_CALL, BPF_PSEUDO_FUNC, BPF_PSEUDO_MAP_FD,
[INFO] [stderr]    |         ^^^^^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^ no `BPF_PSEUDO_MAP_FD` in `generated`
[INFO] [stderr]    |         |         |         |        |      |                |
[INFO] [stderr]    |         |         |         |        |      |                no `BPF_PSEUDO_FUNC` in `generated`
[INFO] [stderr]    |         |         |         |        |      no `BPF_PSEUDO_CALL` in `generated`
[INFO] [stderr]    |         |         |         |        no `BPF_K` in `generated`
[INFO] [stderr]    |         |         |         no `BPF_JMP` in `generated`
[INFO] [stderr]    |         |         no `BPF_CALL` in `generated`
[INFO] [stderr]    |         no `bpf_insn` in `generated`
[INFO] [stderr] 14 |         BPF_PSEUDO_MAP_VALUE,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^ no `BPF_PSEUDO_MAP_VALUE` in `generated`
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not compile `aya-obj` (lib) due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "190ac6652662ac2ff86d1c7f2a3940cc1837b2e64cb738a75477d5b414a811d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "190ac6652662ac2ff86d1c7f2a3940cc1837b2e64cb738a75477d5b414a811d0", kill_on_drop: false }`
[INFO] [stdout] 190ac6652662ac2ff86d1c7f2a3940cc1837b2e64cb738a75477d5b414a811d0