[INFO] updating cached repository ilsken/demon [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ilsken/demon [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ilsken/demon" "work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/ilsken/demon"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/ilsken/demon'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ilsken/demon" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/ilsken/demon"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/ilsken/demon'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f99834d2f0235c65f3a443be44e9111eda9fbf11 [INFO] sha for GitHub repo ilsken/demon: f99834d2f0235c65f3a443be44e9111eda9fbf11 [INFO] validating manifest of ilsken/demon on toolchain master#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ilsken/demon on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ilsken/demon [INFO] finished frobbing ilsken/demon [INFO] frobbed toml for ilsken/demon written to work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/ilsken/demon/Cargo.toml [INFO] started frobbing ilsken/demon [INFO] finished frobbing ilsken/demon [INFO] frobbed toml for ilsken/demon written to work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/ilsken/demon/Cargo.toml [INFO] crate ilsken/demon already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking ilsken/demon against try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-5/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/ilsken/demon:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 66ec5dc0fa324f116362e9667607858d7d8a3f1e1c115f790fe1260709995714 [INFO] running `"docker" "start" "-a" "66ec5dc0fa324f116362e9667607858d7d8a3f1e1c115f790fe1260709995714"` [INFO] [stderr] Compiling bindgen v0.43.0 [INFO] [stderr] Compiling clang-sys v0.26.1 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling cexpr v0.3.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling demon v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: type `__nlink_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub type __nlink_t = ::std::os::raw::c_ulong; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NlinkT` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_camel_case_types)] on by default [INFO] [stderr] [INFO] [stderr] warning: type `__off_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | pub type __off_t = ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `OffT` [INFO] [stderr] [INFO] [stderr] warning: type `__off64_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub type __off64_t = ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Off64T` [INFO] [stderr] [INFO] [stderr] warning: type `__socklen_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub type __socklen_t = ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SocklenT` [INFO] [stderr] [INFO] [stderr] warning: type `_IO_lock_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | pub type _IO_lock_t = ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IoLockT` [INFO] [stderr] [INFO] [stderr] warning: type `nlink_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:395:10 [INFO] [stderr] | [INFO] [stderr] 395 | pub type nlink_t = __nlink_t; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `NlinkT` [INFO] [stderr] [INFO] [stderr] warning: type `socklen_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:435:10 [INFO] [stderr] | [INFO] [stderr] 435 | pub type socklen_t = __socklen_t; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SocklenT` [INFO] [stderr] [INFO] [stderr] warning: type `sa_family_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:436:10 [INFO] [stderr] | [INFO] [stderr] 436 | pub type sa_family_t = ::std::os::raw::c_ushort; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaFamilyT` [INFO] [stderr] [INFO] [stderr] warning: type `__u8` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:675:10 [INFO] [stderr] | [INFO] [stderr] 675 | pub type __u8 = ::std::os::raw::c_uchar; [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case: `U8` [INFO] [stderr] [INFO] [stderr] warning: type `__u16` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:676:10 [INFO] [stderr] | [INFO] [stderr] 676 | pub type __u16 = ::std::os::raw::c_ushort; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `U16` [INFO] [stderr] [INFO] [stderr] warning: type `__u32` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:677:10 [INFO] [stderr] | [INFO] [stderr] 677 | pub type __u32 = ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `U32` [INFO] [stderr] [INFO] [stderr] warning: type `__kernel_sa_family_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:678:10 [INFO] [stderr] | [INFO] [stderr] 678 | pub type __kernel_sa_family_t = ::std::os::raw::c_ushort; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KernelSaFamilyT` [INFO] [stderr] [INFO] [stderr] warning: type `nl_mmap_status` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1028:10 [INFO] [stderr] | [INFO] [stderr] 1028 | pub type nl_mmap_status = u32; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlMmapStatus` [INFO] [stderr] [INFO] [stderr] warning: type `nl_dump_type` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1136:10 [INFO] [stderr] | [INFO] [stderr] 1136 | pub type nl_dump_type = u32; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlDumpType` [INFO] [stderr] [INFO] [stderr] warning: type `nl_recvmsg_msg_cb_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1351:10 [INFO] [stderr] | [INFO] [stderr] 1351 | pub type nl_recvmsg_msg_cb_t = ::std::option::Option< [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlRecvmsgMsgCbT` [INFO] [stderr] [INFO] [stderr] warning: type `nl_recvmsg_err_cb_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1360:10 [INFO] [stderr] | [INFO] [stderr] 1360 | pub type nl_recvmsg_err_cb_t = ::std::option::Option< [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlRecvmsgErrCbT` [INFO] [stderr] [INFO] [stderr] warning: type `nl_cb_action` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1375:10 [INFO] [stderr] | [INFO] [stderr] 1375 | pub type nl_cb_action = u32; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlCbAction` [INFO] [stderr] [INFO] [stderr] warning: type `nl_cb_kind` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1388:10 [INFO] [stderr] | [INFO] [stderr] 1388 | pub type nl_cb_kind = u32; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NlCbKind` [INFO] [stderr] [INFO] [stderr] warning: type `nl_cb_type` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1415:10 [INFO] [stderr] | [INFO] [stderr] 1415 | pub type nl_cb_type = u32; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NlCbType` [INFO] [stderr] [INFO] [stderr] warning: type `change_func_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:2706:10 [INFO] [stderr] | [INFO] [stderr] 2706 | pub type change_func_t = ::std::option::Option< [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChangeFuncT` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntoRawFd`, `RawFd` [INFO] [stderr] --> src/netlink/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | IntoRawFd, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 5 | RawFd [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::ToPrimitive` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use num_traits::ToPrimitive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `netlink::*` [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use netlink::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | if (moderr < 0) { [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | std::thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: type `__nlink_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub type __nlink_t = ::std::os::raw::c_ulong; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NlinkT` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_camel_case_types)] on by default [INFO] [stderr] [INFO] [stderr] warning: type `__off_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | pub type __off_t = ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `OffT` [INFO] [stderr] [INFO] [stderr] warning: type `__off64_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub type __off64_t = ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Off64T` [INFO] [stderr] [INFO] [stderr] warning: type `__socklen_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub type __socklen_t = ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SocklenT` [INFO] [stderr] [INFO] [stderr] warning: type `_IO_lock_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | pub type _IO_lock_t = ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `IoLockT` [INFO] [stderr] [INFO] [stderr] warning: type `nlink_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:395:10 [INFO] [stderr] | [INFO] [stderr] 395 | pub type nlink_t = __nlink_t; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `NlinkT` [INFO] [stderr] [INFO] [stderr] warning: type `socklen_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:435:10 [INFO] [stderr] | [INFO] [stderr] 435 | pub type socklen_t = __socklen_t; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SocklenT` [INFO] [stderr] [INFO] [stderr] warning: type `sa_family_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:436:10 [INFO] [stderr] | [INFO] [stderr] 436 | pub type sa_family_t = ::std::os::raw::c_ushort; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaFamilyT` [INFO] [stderr] [INFO] [stderr] warning: type `__u8` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:675:10 [INFO] [stderr] | [INFO] [stderr] 675 | pub type __u8 = ::std::os::raw::c_uchar; [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case: `U8` [INFO] [stderr] [INFO] [stderr] warning: type `__u16` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:676:10 [INFO] [stderr] | [INFO] [stderr] 676 | pub type __u16 = ::std::os::raw::c_ushort; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `U16` [INFO] [stderr] [INFO] [stderr] warning: type `__u32` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:677:10 [INFO] [stderr] | [INFO] [stderr] 677 | pub type __u32 = ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `U32` [INFO] [stderr] [INFO] [stderr] warning: type `__kernel_sa_family_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:678:10 [INFO] [stderr] | [INFO] [stderr] 678 | pub type __kernel_sa_family_t = ::std::os::raw::c_ushort; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KernelSaFamilyT` [INFO] [stderr] [INFO] [stderr] warning: type `nl_mmap_status` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1028:10 [INFO] [stderr] | [INFO] [stderr] 1028 | pub type nl_mmap_status = u32; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlMmapStatus` [INFO] [stderr] [INFO] [stderr] warning: type `nl_dump_type` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1136:10 [INFO] [stderr] | [INFO] [stderr] 1136 | pub type nl_dump_type = u32; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlDumpType` [INFO] [stderr] [INFO] [stderr] warning: type `nl_recvmsg_msg_cb_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1351:10 [INFO] [stderr] | [INFO] [stderr] 1351 | pub type nl_recvmsg_msg_cb_t = ::std::option::Option< [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlRecvmsgMsgCbT` [INFO] [stderr] [INFO] [stderr] warning: type `nl_recvmsg_err_cb_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1360:10 [INFO] [stderr] | [INFO] [stderr] 1360 | pub type nl_recvmsg_err_cb_t = ::std::option::Option< [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlRecvmsgErrCbT` [INFO] [stderr] [INFO] [stderr] warning: type `nl_cb_action` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1375:10 [INFO] [stderr] | [INFO] [stderr] 1375 | pub type nl_cb_action = u32; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NlCbAction` [INFO] [stderr] [INFO] [stderr] warning: type `nl_cb_kind` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1388:10 [INFO] [stderr] | [INFO] [stderr] 1388 | pub type nl_cb_kind = u32; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NlCbKind` [INFO] [stderr] [INFO] [stderr] warning: type `nl_cb_type` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:1415:10 [INFO] [stderr] | [INFO] [stderr] 1415 | pub type nl_cb_type = u32; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NlCbType` [INFO] [stderr] [INFO] [stderr] warning: type `change_func_t` should have an upper camel case name [INFO] [stderr] --> src/netlink/sys.rs:2706:10 [INFO] [stderr] | [INFO] [stderr] 2706 | pub type change_func_t = ::std::option::Option< [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ChangeFuncT` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntoRawFd`, `RawFd` [INFO] [stderr] --> src/netlink/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | IntoRawFd, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 5 | RawFd [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::ToPrimitive` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use num_traits::ToPrimitive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] warning: value assigned to `attr` is never read [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let mut attr: *const nlattr = std::ptr::null(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_assignments)] on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `answer` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let answer = genlmsg_parse(hdr, 0, ptr, 7, [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_answer` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg` [INFO] [stderr] --> src/main.rs:13:63 [INFO] [stderr] | [INFO] [stderr] 13 | extern "C" fn message_handler(msg: *mut netlink::sys::nl_msg, arg: *mut std::os::raw::c_void) -> std::os::raw::c_int [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_arg` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: unused import: `netlink::*` [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use netlink::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | if (moderr < 0) { [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | std::thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/main.rs:49:16 [INFO] [stderr] | [INFO] [stderr] 49 | let name = unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_unsafe)] on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nlink_t` [INFO] [stderr] --> src/netlink/sys.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | pub type nlink_t = __nlink_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_UNUSED` [INFO] [stderr] --> src/netlink/sys.rs:1023:1 [INFO] [stderr] | [INFO] [stderr] 1023 | pub const nl_mmap_status_NL_MMAP_STATUS_UNUSED: nl_mmap_status = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_RESERVED` [INFO] [stderr] --> src/netlink/sys.rs:1024:1 [INFO] [stderr] | [INFO] [stderr] 1024 | pub const nl_mmap_status_NL_MMAP_STATUS_RESERVED: nl_mmap_status = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_VALID` [INFO] [stderr] --> src/netlink/sys.rs:1025:1 [INFO] [stderr] | [INFO] [stderr] 1025 | pub const nl_mmap_status_NL_MMAP_STATUS_VALID: nl_mmap_status = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_COPY` [INFO] [stderr] --> src/netlink/sys.rs:1026:1 [INFO] [stderr] | [INFO] [stderr] 1026 | pub const nl_mmap_status_NL_MMAP_STATUS_COPY: nl_mmap_status = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_SKIP` [INFO] [stderr] --> src/netlink/sys.rs:1027:1 [INFO] [stderr] | [INFO] [stderr] 1027 | pub const nl_mmap_status_NL_MMAP_STATUS_SKIP: nl_mmap_status = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nl_mmap_status` [INFO] [stderr] --> src/netlink/sys.rs:1028:1 [INFO] [stderr] | [INFO] [stderr] 1028 | pub type nl_mmap_status = u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_geterror` [INFO] [stderr] --> src/netlink/sys.rs:1119:5 [INFO] [stderr] | [INFO] [stderr] 1119 | pub fn nl_geterror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_perror` [INFO] [stderr] --> src/netlink/sys.rs:1122:5 [INFO] [stderr] | [INFO] [stderr] 1122 | pub fn nl_perror(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_syserr2nlerr` [INFO] [stderr] --> src/netlink/sys.rs:1125:5 [INFO] [stderr] | [INFO] [stderr] 1125 | pub fn nl_syserr2nlerr(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type_NL_DUMP_LINE` [INFO] [stderr] --> src/netlink/sys.rs:1128:1 [INFO] [stderr] | [INFO] [stderr] 1128 | pub const nl_dump_type_NL_DUMP_LINE: nl_dump_type = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type_NL_DUMP_DETAILS` [INFO] [stderr] --> src/netlink/sys.rs:1130:1 [INFO] [stderr] | [INFO] [stderr] 1130 | pub const nl_dump_type_NL_DUMP_DETAILS: nl_dump_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type_NL_DUMP_STATS` [INFO] [stderr] --> src/netlink/sys.rs:1132:1 [INFO] [stderr] | [INFO] [stderr] 1132 | pub const nl_dump_type_NL_DUMP_STATS: nl_dump_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type___NL_DUMP_MAX` [INFO] [stderr] --> src/netlink/sys.rs:1133:1 [INFO] [stderr] | [INFO] [stderr] 1133 | pub const nl_dump_type___NL_DUMP_MAX: nl_dump_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nl_recvmsg_err_cb_t` [INFO] [stderr] --> src/netlink/sys.rs:1360:1 [INFO] [stderr] | [INFO] [stderr] 1360 | / pub type nl_recvmsg_err_cb_t = ::std::option::Option< [INFO] [stderr] 1361 | | unsafe extern "C" fn( [INFO] [stderr] 1362 | | nla: *mut sockaddr_nl, [INFO] [stderr] 1363 | | nlerr: *mut nlmsgerr, [INFO] [stderr] 1364 | | arg: *mut ::std::os::raw::c_void, [INFO] [stderr] 1365 | | ) -> ::std::os::raw::c_int, [INFO] [stderr] 1366 | | >; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_action_NL_OK` [INFO] [stderr] --> src/netlink/sys.rs:1368:1 [INFO] [stderr] | [INFO] [stderr] 1368 | pub const nl_cb_action_NL_OK: nl_cb_action = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_action_NL_SKIP` [INFO] [stderr] --> src/netlink/sys.rs:1370:1 [INFO] [stderr] | [INFO] [stderr] 1370 | pub const nl_cb_action_NL_SKIP: nl_cb_action = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_action_NL_STOP` [INFO] [stderr] --> src/netlink/sys.rs:1372:1 [INFO] [stderr] | [INFO] [stderr] 1372 | pub const nl_cb_action_NL_STOP: nl_cb_action = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nl_cb_action` [INFO] [stderr] --> src/netlink/sys.rs:1375:1 [INFO] [stderr] | [INFO] [stderr] 1375 | pub type nl_cb_action = u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind_NL_CB_DEFAULT` [INFO] [stderr] --> src/netlink/sys.rs:1377:1 [INFO] [stderr] | [INFO] [stderr] 1377 | pub const nl_cb_kind_NL_CB_DEFAULT: nl_cb_kind = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind_NL_CB_VERBOSE` [INFO] [stderr] --> src/netlink/sys.rs:1379:1 [INFO] [stderr] | [INFO] [stderr] 1379 | pub const nl_cb_kind_NL_CB_VERBOSE: nl_cb_kind = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind_NL_CB_DEBUG` [INFO] [stderr] --> src/netlink/sys.rs:1381:1 [INFO] [stderr] | [INFO] [stderr] 1381 | pub const nl_cb_kind_NL_CB_DEBUG: nl_cb_kind = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind___NL_CB_KIND_MAX` [INFO] [stderr] --> src/netlink/sys.rs:1385:1 [INFO] [stderr] | [INFO] [stderr] 1385 | pub const nl_cb_kind___NL_CB_KIND_MAX: nl_cb_kind = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_FINISH` [INFO] [stderr] --> src/netlink/sys.rs:1392:1 [INFO] [stderr] | [INFO] [stderr] 1392 | pub const nl_cb_type_NL_CB_FINISH: nl_cb_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_OVERRUN` [INFO] [stderr] --> src/netlink/sys.rs:1394:1 [INFO] [stderr] | [INFO] [stderr] 1394 | pub const nl_cb_type_NL_CB_OVERRUN: nl_cb_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_SKIPPED` [INFO] [stderr] --> src/netlink/sys.rs:1396:1 [INFO] [stderr] | [INFO] [stderr] 1396 | pub const nl_cb_type_NL_CB_SKIPPED: nl_cb_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_ACK` [INFO] [stderr] --> src/netlink/sys.rs:1398:1 [INFO] [stderr] | [INFO] [stderr] 1398 | pub const nl_cb_type_NL_CB_ACK: nl_cb_type = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_MSG_IN` [INFO] [stderr] --> src/netlink/sys.rs:1400:1 [INFO] [stderr] | [INFO] [stderr] 1400 | pub const nl_cb_type_NL_CB_MSG_IN: nl_cb_type = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_MSG_OUT` [INFO] [stderr] --> src/netlink/sys.rs:1402:1 [INFO] [stderr] | [INFO] [stderr] 1402 | pub const nl_cb_type_NL_CB_MSG_OUT: nl_cb_type = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_INVALID` [INFO] [stderr] --> src/netlink/sys.rs:1404:1 [INFO] [stderr] | [INFO] [stderr] 1404 | pub const nl_cb_type_NL_CB_INVALID: nl_cb_type = 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_SEQ_CHECK` [INFO] [stderr] --> src/netlink/sys.rs:1406:1 [INFO] [stderr] | [INFO] [stderr] 1406 | pub const nl_cb_type_NL_CB_SEQ_CHECK: nl_cb_type = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_SEND_ACK` [INFO] [stderr] --> src/netlink/sys.rs:1408:1 [INFO] [stderr] | [INFO] [stderr] 1408 | pub const nl_cb_type_NL_CB_SEND_ACK: nl_cb_type = 9; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_DUMP_INTR` [INFO] [stderr] --> src/netlink/sys.rs:1410:1 [INFO] [stderr] | [INFO] [stderr] 1410 | pub const nl_cb_type_NL_CB_DUMP_INTR: nl_cb_type = 10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type___NL_CB_TYPE_MAX` [INFO] [stderr] --> src/netlink/sys.rs:1412:1 [INFO] [stderr] | [INFO] [stderr] 1412 | pub const nl_cb_type___NL_CB_TYPE_MAX: nl_cb_type = 11; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_alloc` [INFO] [stderr] --> src/netlink/sys.rs:1417:5 [INFO] [stderr] | [INFO] [stderr] 1417 | pub fn nl_cb_alloc(arg1: nl_cb_kind) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_clone` [INFO] [stderr] --> src/netlink/sys.rs:1420:5 [INFO] [stderr] | [INFO] [stderr] 1420 | pub fn nl_cb_clone(arg1: *mut nl_cb) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_get` [INFO] [stderr] --> src/netlink/sys.rs:1423:5 [INFO] [stderr] | [INFO] [stderr] 1423 | pub fn nl_cb_get(arg1: *mut nl_cb) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_put` [INFO] [stderr] --> src/netlink/sys.rs:1426:5 [INFO] [stderr] | [INFO] [stderr] 1426 | pub fn nl_cb_put(arg1: *mut nl_cb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_set` [INFO] [stderr] --> src/netlink/sys.rs:1429:5 [INFO] [stderr] | [INFO] [stderr] 1429 | / pub fn nl_cb_set( [INFO] [stderr] 1430 | | arg1: *mut nl_cb, [INFO] [stderr] 1431 | | arg2: nl_cb_type, [INFO] [stderr] 1432 | | arg3: nl_cb_kind, [INFO] [stderr] 1433 | | arg4: nl_recvmsg_msg_cb_t, [INFO] [stderr] 1434 | | arg5: *mut ::std::os::raw::c_void, [INFO] [stderr] 1435 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_set_all` [INFO] [stderr] --> src/netlink/sys.rs:1438:5 [INFO] [stderr] | [INFO] [stderr] 1438 | / pub fn nl_cb_set_all( [INFO] [stderr] 1439 | | arg1: *mut nl_cb, [INFO] [stderr] 1440 | | arg2: nl_cb_kind, [INFO] [stderr] 1441 | | arg3: nl_recvmsg_msg_cb_t, [INFO] [stderr] 1442 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1443 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_err` [INFO] [stderr] --> src/netlink/sys.rs:1446:5 [INFO] [stderr] | [INFO] [stderr] 1446 | / pub fn nl_cb_err( [INFO] [stderr] 1447 | | arg1: *mut nl_cb, [INFO] [stderr] 1448 | | arg2: nl_cb_kind, [INFO] [stderr] 1449 | | arg3: nl_recvmsg_err_cb_t, [INFO] [stderr] 1450 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1451 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_overwrite_recvmsgs` [INFO] [stderr] --> src/netlink/sys.rs:1454:5 [INFO] [stderr] | [INFO] [stderr] 1454 | / pub fn nl_cb_overwrite_recvmsgs( [INFO] [stderr] 1455 | | arg1: *mut nl_cb, [INFO] [stderr] 1456 | | func: ::std::option::Option< [INFO] [stderr] 1457 | | unsafe extern "C" fn(arg1: *mut nl_sock, arg2: *mut nl_cb) -> ::std::os::raw::c_int, [INFO] [stderr] 1458 | | >, [INFO] [stderr] 1459 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_overwrite_recv` [INFO] [stderr] --> src/netlink/sys.rs:1462:5 [INFO] [stderr] | [INFO] [stderr] 1462 | / pub fn nl_cb_overwrite_recv( [INFO] [stderr] 1463 | | arg1: *mut nl_cb, [INFO] [stderr] 1464 | | func: ::std::option::Option< [INFO] [stderr] 1465 | | unsafe extern "C" fn( [INFO] [stderr] ... | [INFO] [stderr] 1471 | | >, [INFO] [stderr] 1472 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_overwrite_send` [INFO] [stderr] --> src/netlink/sys.rs:1475:5 [INFO] [stderr] | [INFO] [stderr] 1475 | / pub fn nl_cb_overwrite_send( [INFO] [stderr] 1476 | | arg1: *mut nl_cb, [INFO] [stderr] 1477 | | func: ::std::option::Option< [INFO] [stderr] 1478 | | unsafe extern "C" fn(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int, [INFO] [stderr] 1479 | | >, [INFO] [stderr] 1480 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_active_type` [INFO] [stderr] --> src/netlink/sys.rs:1483:5 [INFO] [stderr] | [INFO] [stderr] 1483 | pub fn nl_cb_active_type(cb: *mut nl_cb) -> nl_cb_type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_alloc_cb` [INFO] [stderr] --> src/netlink/sys.rs:1489:5 [INFO] [stderr] | [INFO] [stderr] 1489 | pub fn nl_socket_alloc_cb(arg1: *mut nl_cb) -> *mut nl_sock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_free` [INFO] [stderr] --> src/netlink/sys.rs:1492:5 [INFO] [stderr] | [INFO] [stderr] 1492 | pub fn nl_socket_free(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_local_port` [INFO] [stderr] --> src/netlink/sys.rs:1495:5 [INFO] [stderr] | [INFO] [stderr] 1495 | pub fn nl_socket_get_local_port(arg1: *const nl_sock) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_local_port` [INFO] [stderr] --> src/netlink/sys.rs:1498:5 [INFO] [stderr] | [INFO] [stderr] 1498 | pub fn nl_socket_set_local_port(arg1: *mut nl_sock, arg2: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_add_memberships` [INFO] [stderr] --> src/netlink/sys.rs:1501:5 [INFO] [stderr] | [INFO] [stderr] 1501 | / pub fn nl_socket_add_memberships( [INFO] [stderr] 1502 | | arg1: *mut nl_sock, [INFO] [stderr] 1503 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1504 | | ... [INFO] [stderr] 1505 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_add_membership` [INFO] [stderr] --> src/netlink/sys.rs:1508:5 [INFO] [stderr] | [INFO] [stderr] 1508 | / pub fn nl_socket_add_membership( [INFO] [stderr] 1509 | | arg1: *mut nl_sock, [INFO] [stderr] 1510 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1511 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_drop_memberships` [INFO] [stderr] --> src/netlink/sys.rs:1514:5 [INFO] [stderr] | [INFO] [stderr] 1514 | / pub fn nl_socket_drop_memberships( [INFO] [stderr] 1515 | | arg1: *mut nl_sock, [INFO] [stderr] 1516 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1517 | | ... [INFO] [stderr] 1518 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_drop_membership` [INFO] [stderr] --> src/netlink/sys.rs:1521:5 [INFO] [stderr] | [INFO] [stderr] 1521 | / pub fn nl_socket_drop_membership( [INFO] [stderr] 1522 | | arg1: *mut nl_sock, [INFO] [stderr] 1523 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1524 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_join_groups` [INFO] [stderr] --> src/netlink/sys.rs:1527:5 [INFO] [stderr] | [INFO] [stderr] 1527 | pub fn nl_join_groups(arg1: *mut nl_sock, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_peer_port` [INFO] [stderr] --> src/netlink/sys.rs:1530:5 [INFO] [stderr] | [INFO] [stderr] 1530 | pub fn nl_socket_get_peer_port(arg1: *const nl_sock) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_peer_port` [INFO] [stderr] --> src/netlink/sys.rs:1533:5 [INFO] [stderr] | [INFO] [stderr] 1533 | pub fn nl_socket_set_peer_port(arg1: *mut nl_sock, arg2: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_peer_groups` [INFO] [stderr] --> src/netlink/sys.rs:1536:5 [INFO] [stderr] | [INFO] [stderr] 1536 | pub fn nl_socket_get_peer_groups(sk: *const nl_sock) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_peer_groups` [INFO] [stderr] --> src/netlink/sys.rs:1539:5 [INFO] [stderr] | [INFO] [stderr] 1539 | pub fn nl_socket_set_peer_groups(sk: *mut nl_sock, groups: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_cb` [INFO] [stderr] --> src/netlink/sys.rs:1542:5 [INFO] [stderr] | [INFO] [stderr] 1542 | pub fn nl_socket_get_cb(arg1: *const nl_sock) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_cb` [INFO] [stderr] --> src/netlink/sys.rs:1545:5 [INFO] [stderr] | [INFO] [stderr] 1545 | pub fn nl_socket_set_cb(arg1: *mut nl_sock, arg2: *mut nl_cb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_modify_err_cb` [INFO] [stderr] --> src/netlink/sys.rs:1557:5 [INFO] [stderr] | [INFO] [stderr] 1557 | / pub fn nl_socket_modify_err_cb( [INFO] [stderr] 1558 | | arg1: *mut nl_sock, [INFO] [stderr] 1559 | | arg2: nl_cb_kind, [INFO] [stderr] 1560 | | arg3: nl_recvmsg_err_cb_t, [INFO] [stderr] 1561 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1562 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_buffer_size` [INFO] [stderr] --> src/netlink/sys.rs:1565:5 [INFO] [stderr] | [INFO] [stderr] 1565 | / pub fn nl_socket_set_buffer_size( [INFO] [stderr] 1566 | | arg1: *mut nl_sock, [INFO] [stderr] 1567 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1568 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 1569 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_msg_buf_size` [INFO] [stderr] --> src/netlink/sys.rs:1572:5 [INFO] [stderr] | [INFO] [stderr] 1572 | pub fn nl_socket_set_msg_buf_size(arg1: *mut nl_sock, arg2: usize) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_msg_buf_size` [INFO] [stderr] --> src/netlink/sys.rs:1575:5 [INFO] [stderr] | [INFO] [stderr] 1575 | pub fn nl_socket_get_msg_buf_size(arg1: *mut nl_sock) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_passcred` [INFO] [stderr] --> src/netlink/sys.rs:1578:5 [INFO] [stderr] | [INFO] [stderr] 1578 | / pub fn nl_socket_set_passcred( [INFO] [stderr] 1579 | | arg1: *mut nl_sock, [INFO] [stderr] 1580 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1581 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_recv_pktinfo` [INFO] [stderr] --> src/netlink/sys.rs:1584:5 [INFO] [stderr] | [INFO] [stderr] 1584 | / pub fn nl_socket_recv_pktinfo( [INFO] [stderr] 1585 | | arg1: *mut nl_sock, [INFO] [stderr] 1586 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1587 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_disable_seq_check` [INFO] [stderr] --> src/netlink/sys.rs:1590:5 [INFO] [stderr] | [INFO] [stderr] 1590 | pub fn nl_socket_disable_seq_check(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_use_seq` [INFO] [stderr] --> src/netlink/sys.rs:1593:5 [INFO] [stderr] | [INFO] [stderr] 1593 | pub fn nl_socket_use_seq(arg1: *mut nl_sock) -> ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_disable_auto_ack` [INFO] [stderr] --> src/netlink/sys.rs:1596:5 [INFO] [stderr] | [INFO] [stderr] 1596 | pub fn nl_socket_disable_auto_ack(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_enable_auto_ack` [INFO] [stderr] --> src/netlink/sys.rs:1599:5 [INFO] [stderr] | [INFO] [stderr] 1599 | pub fn nl_socket_enable_auto_ack(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_fd` [INFO] [stderr] --> src/netlink/sys.rs:1605:5 [INFO] [stderr] | [INFO] [stderr] 1605 | / pub fn nl_socket_set_fd( [INFO] [stderr] 1606 | | sk: *mut nl_sock, [INFO] [stderr] 1607 | | protocol: ::std::os::raw::c_int, [INFO] [stderr] 1608 | | fd: ::std::os::raw::c_int, [INFO] [stderr] 1609 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_nonblocking` [INFO] [stderr] --> src/netlink/sys.rs:1612:5 [INFO] [stderr] | [INFO] [stderr] 1612 | pub fn nl_socket_set_nonblocking(arg1: *const nl_sock) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_enable_msg_peek` [INFO] [stderr] --> src/netlink/sys.rs:1615:5 [INFO] [stderr] | [INFO] [stderr] 1615 | pub fn nl_socket_enable_msg_peek(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_disable_msg_peek` [INFO] [stderr] --> src/netlink/sys.rs:1618:5 [INFO] [stderr] | [INFO] [stderr] 1618 | pub fn nl_socket_disable_msg_peek(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cancel_down_bytes` [INFO] [stderr] --> src/netlink/sys.rs:1660:5 [INFO] [stderr] | [INFO] [stderr] 1660 | / pub fn nl_cancel_down_bytes( [INFO] [stderr] 1661 | | arg1: ::std::os::raw::c_ulonglong, [INFO] [stderr] 1662 | | arg2: *mut *mut ::std::os::raw::c_char, [INFO] [stderr] 1663 | | ) -> f64; [INFO] [stderr] | |_____________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cancel_down_bits` [INFO] [stderr] --> src/netlink/sys.rs:1666:5 [INFO] [stderr] | [INFO] [stderr] 1666 | / pub fn nl_cancel_down_bits( [INFO] [stderr] 1667 | | arg1: ::std::os::raw::c_ulonglong, [INFO] [stderr] 1668 | | arg2: *mut *mut ::std::os::raw::c_char, [INFO] [stderr] 1669 | | ) -> f64; [INFO] [stderr] | |_____________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_rate2str` [INFO] [stderr] --> src/netlink/sys.rs:1672:5 [INFO] [stderr] | [INFO] [stderr] 1672 | / pub fn nl_rate2str( [INFO] [stderr] 1673 | | arg1: ::std::os::raw::c_ulonglong, [INFO] [stderr] 1674 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1675 | | arg3: *mut ::std::os::raw::c_char, [INFO] [stderr] 1676 | | arg4: usize, [INFO] [stderr] 1677 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cancel_down_us` [INFO] [stderr] --> src/netlink/sys.rs:1680:5 [INFO] [stderr] | [INFO] [stderr] 1680 | pub fn nl_cancel_down_us(arg1: u32, arg2: *mut *mut ::std::os::raw::c_char) -> f64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_size2int` [INFO] [stderr] --> src/netlink/sys.rs:1683:5 [INFO] [stderr] | [INFO] [stderr] 1683 | pub fn nl_size2int(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_size2str` [INFO] [stderr] --> src/netlink/sys.rs:1686:5 [INFO] [stderr] | [INFO] [stderr] 1686 | / pub fn nl_size2str( [INFO] [stderr] 1687 | | arg1: usize, [INFO] [stderr] 1688 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1689 | | arg3: usize, [INFO] [stderr] 1690 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_prob2int` [INFO] [stderr] --> src/netlink/sys.rs:1693:5 [INFO] [stderr] | [INFO] [stderr] 1693 | pub fn nl_prob2int(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_get_user_hz` [INFO] [stderr] --> src/netlink/sys.rs:1696:5 [INFO] [stderr] | [INFO] [stderr] 1696 | pub fn nl_get_user_hz() -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_get_psched_hz` [INFO] [stderr] --> src/netlink/sys.rs:1699:5 [INFO] [stderr] | [INFO] [stderr] 1699 | pub fn nl_get_psched_hz() -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_us2ticks` [INFO] [stderr] --> src/netlink/sys.rs:1702:5 [INFO] [stderr] | [INFO] [stderr] 1702 | pub fn nl_us2ticks(arg1: u32) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_ticks2us` [INFO] [stderr] --> src/netlink/sys.rs:1705:5 [INFO] [stderr] | [INFO] [stderr] 1705 | pub fn nl_ticks2us(arg1: u32) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2msec` [INFO] [stderr] --> src/netlink/sys.rs:1708:5 [INFO] [stderr] | [INFO] [stderr] 1708 | / pub fn nl_str2msec( [INFO] [stderr] 1709 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 1710 | | arg2: *mut u64, [INFO] [stderr] 1711 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msec2str` [INFO] [stderr] --> src/netlink/sys.rs:1714:5 [INFO] [stderr] | [INFO] [stderr] 1714 | / pub fn nl_msec2str( [INFO] [stderr] 1715 | | arg1: u64, [INFO] [stderr] 1716 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1717 | | arg3: usize, [INFO] [stderr] 1718 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_llproto2str` [INFO] [stderr] --> src/netlink/sys.rs:1721:5 [INFO] [stderr] | [INFO] [stderr] 1721 | / pub fn nl_llproto2str( [INFO] [stderr] 1722 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1723 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1724 | | arg3: usize, [INFO] [stderr] 1725 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2llproto` [INFO] [stderr] --> src/netlink/sys.rs:1728:5 [INFO] [stderr] | [INFO] [stderr] 1728 | pub fn nl_str2llproto(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_ether_proto2str` [INFO] [stderr] --> src/netlink/sys.rs:1731:5 [INFO] [stderr] | [INFO] [stderr] 1731 | / pub fn nl_ether_proto2str( [INFO] [stderr] 1732 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1733 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1734 | | arg3: usize, [INFO] [stderr] 1735 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2ether_proto` [INFO] [stderr] --> src/netlink/sys.rs:1738:5 [INFO] [stderr] | [INFO] [stderr] 1738 | pub fn nl_str2ether_proto(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_ip_proto2str` [INFO] [stderr] --> src/netlink/sys.rs:1741:5 [INFO] [stderr] | [INFO] [stderr] 1741 | / pub fn nl_ip_proto2str( [INFO] [stderr] 1742 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1743 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1744 | | arg3: usize, [INFO] [stderr] 1745 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2ip_proto` [INFO] [stderr] --> src/netlink/sys.rs:1748:5 [INFO] [stderr] | [INFO] [stderr] 1748 | pub fn nl_str2ip_proto(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_new_line` [INFO] [stderr] --> src/netlink/sys.rs:1751:5 [INFO] [stderr] | [INFO] [stderr] 1751 | pub fn nl_new_line(arg1: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_dump` [INFO] [stderr] --> src/netlink/sys.rs:1754:5 [INFO] [stderr] | [INFO] [stderr] 1754 | pub fn nl_dump(arg1: *mut nl_dump_params, arg2: *const ::std::os::raw::c_char, ...); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_dump_line` [INFO] [stderr] --> src/netlink/sys.rs:1757:5 [INFO] [stderr] | [INFO] [stderr] 1757 | pub fn nl_dump_line(arg1: *mut nl_dump_params, arg2: *const ::std::os::raw::c_char, ...); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_has_capability` [INFO] [stderr] --> src/netlink/sys.rs:1760:5 [INFO] [stderr] | [INFO] [stderr] 1760 | pub fn nl_has_capability(capability: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_alloc` [INFO] [stderr] --> src/netlink/sys.rs:1778:5 [INFO] [stderr] | [INFO] [stderr] 1778 | pub fn nl_object_alloc(arg1: *mut nl_object_ops) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_alloc_name` [INFO] [stderr] --> src/netlink/sys.rs:1781:5 [INFO] [stderr] | [INFO] [stderr] 1781 | / pub fn nl_object_alloc_name( [INFO] [stderr] 1782 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 1783 | | arg2: *mut *mut nl_object, [INFO] [stderr] 1784 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_free` [INFO] [stderr] --> src/netlink/sys.rs:1787:5 [INFO] [stderr] | [INFO] [stderr] 1787 | pub fn nl_object_free(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_clone` [INFO] [stderr] --> src/netlink/sys.rs:1790:5 [INFO] [stderr] | [INFO] [stderr] 1790 | pub fn nl_object_clone(obj: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_update` [INFO] [stderr] --> src/netlink/sys.rs:1793:5 [INFO] [stderr] | [INFO] [stderr] 1793 | pub fn nl_object_update(dst: *mut nl_object, src: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get` [INFO] [stderr] --> src/netlink/sys.rs:1796:5 [INFO] [stderr] | [INFO] [stderr] 1796 | pub fn nl_object_get(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_put` [INFO] [stderr] --> src/netlink/sys.rs:1799:5 [INFO] [stderr] | [INFO] [stderr] 1799 | pub fn nl_object_put(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_shared` [INFO] [stderr] --> src/netlink/sys.rs:1802:5 [INFO] [stderr] | [INFO] [stderr] 1802 | pub fn nl_object_shared(arg1: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_dump` [INFO] [stderr] --> src/netlink/sys.rs:1805:5 [INFO] [stderr] | [INFO] [stderr] 1805 | pub fn nl_object_dump(arg1: *mut nl_object, arg2: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_dump_buf` [INFO] [stderr] --> src/netlink/sys.rs:1808:5 [INFO] [stderr] | [INFO] [stderr] 1808 | pub fn nl_object_dump_buf(arg1: *mut nl_object, arg2: *mut ::std::os::raw::c_char, arg3: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_identical` [INFO] [stderr] --> src/netlink/sys.rs:1811:5 [INFO] [stderr] | [INFO] [stderr] 1811 | / pub fn nl_object_identical(arg1: *mut nl_object, arg2: *mut nl_object) [INFO] [stderr] 1812 | | -> ::std::os::raw::c_int; [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_diff` [INFO] [stderr] --> src/netlink/sys.rs:1815:5 [INFO] [stderr] | [INFO] [stderr] 1815 | pub fn nl_object_diff(arg1: *mut nl_object, arg2: *mut nl_object) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_match_filter` [INFO] [stderr] --> src/netlink/sys.rs:1818:5 [INFO] [stderr] | [INFO] [stderr] 1818 | / pub fn nl_object_match_filter( [INFO] [stderr] 1819 | | arg1: *mut nl_object, [INFO] [stderr] 1820 | | arg2: *mut nl_object, [INFO] [stderr] 1821 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_attrs2str` [INFO] [stderr] --> src/netlink/sys.rs:1824:5 [INFO] [stderr] | [INFO] [stderr] 1824 | / pub fn nl_object_attrs2str( [INFO] [stderr] 1825 | | arg1: *mut nl_object, [INFO] [stderr] 1826 | | attrs: u32, [INFO] [stderr] 1827 | | buf: *mut ::std::os::raw::c_char, [INFO] [stderr] 1828 | | arg2: usize, [INFO] [stderr] 1829 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_attr_list` [INFO] [stderr] --> src/netlink/sys.rs:1832:5 [INFO] [stderr] | [INFO] [stderr] 1832 | / pub fn nl_object_attr_list( [INFO] [stderr] 1833 | | arg1: *mut nl_object, [INFO] [stderr] 1834 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1835 | | arg3: usize, [INFO] [stderr] 1836 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_keygen` [INFO] [stderr] --> src/netlink/sys.rs:1839:5 [INFO] [stderr] | [INFO] [stderr] 1839 | pub fn nl_object_keygen(arg1: *mut nl_object, arg2: *mut u32, arg3: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_mark` [INFO] [stderr] --> src/netlink/sys.rs:1842:5 [INFO] [stderr] | [INFO] [stderr] 1842 | pub fn nl_object_mark(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_unmark` [INFO] [stderr] --> src/netlink/sys.rs:1845:5 [INFO] [stderr] | [INFO] [stderr] 1845 | pub fn nl_object_unmark(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_is_marked` [INFO] [stderr] --> src/netlink/sys.rs:1848:5 [INFO] [stderr] | [INFO] [stderr] 1848 | pub fn nl_object_is_marked(arg1: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_refcnt` [INFO] [stderr] --> src/netlink/sys.rs:1851:5 [INFO] [stderr] | [INFO] [stderr] 1851 | pub fn nl_object_get_refcnt(arg1: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_cache` [INFO] [stderr] --> src/netlink/sys.rs:1854:5 [INFO] [stderr] | [INFO] [stderr] 1854 | pub fn nl_object_get_cache(arg1: *mut nl_object) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_type` [INFO] [stderr] --> src/netlink/sys.rs:1857:5 [INFO] [stderr] | [INFO] [stderr] 1857 | pub fn nl_object_get_type(arg1: *const nl_object) -> *const ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_msgtype` [INFO] [stderr] --> src/netlink/sys.rs:1860:5 [INFO] [stderr] | [INFO] [stderr] 1860 | pub fn nl_object_get_msgtype(arg1: *const nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_ops` [INFO] [stderr] --> src/netlink/sys.rs:1863:5 [INFO] [stderr] | [INFO] [stderr] 1863 | pub fn nl_object_get_ops(arg1: *const nl_object) -> *mut nl_object_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_id_attrs` [INFO] [stderr] --> src/netlink/sys.rs:1866:5 [INFO] [stderr] | [INFO] [stderr] 1866 | pub fn nl_object_get_id_attrs(obj: *mut nl_object) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_close` [INFO] [stderr] --> src/netlink/sys.rs:1882:5 [INFO] [stderr] | [INFO] [stderr] 1882 | pub fn nl_close(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_sendto` [INFO] [stderr] --> src/netlink/sys.rs:1885:5 [INFO] [stderr] | [INFO] [stderr] 1885 | / pub fn nl_sendto( [INFO] [stderr] 1886 | | arg1: *mut nl_sock, [INFO] [stderr] 1887 | | arg2: *mut ::std::os::raw::c_void, [INFO] [stderr] 1888 | | arg3: usize, [INFO] [stderr] 1889 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_sendmsg` [INFO] [stderr] --> src/netlink/sys.rs:1892:5 [INFO] [stderr] | [INFO] [stderr] 1892 | / pub fn nl_sendmsg( [INFO] [stderr] 1893 | | arg1: *mut nl_sock, [INFO] [stderr] 1894 | | arg2: *mut nl_msg, [INFO] [stderr] 1895 | | arg3: *mut msghdr, [INFO] [stderr] 1896 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send` [INFO] [stderr] --> src/netlink/sys.rs:1899:5 [INFO] [stderr] | [INFO] [stderr] 1899 | pub fn nl_send(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_iovec` [INFO] [stderr] --> src/netlink/sys.rs:1902:5 [INFO] [stderr] | [INFO] [stderr] 1902 | / pub fn nl_send_iovec( [INFO] [stderr] 1903 | | arg1: *mut nl_sock, [INFO] [stderr] 1904 | | arg2: *mut nl_msg, [INFO] [stderr] 1905 | | arg3: *mut iovec, [INFO] [stderr] 1906 | | arg4: ::std::os::raw::c_uint, [INFO] [stderr] 1907 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_complete_msg` [INFO] [stderr] --> src/netlink/sys.rs:1910:5 [INFO] [stderr] | [INFO] [stderr] 1910 | pub fn nl_complete_msg(arg1: *mut nl_sock, arg2: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_auto_complete` [INFO] [stderr] --> src/netlink/sys.rs:1913:5 [INFO] [stderr] | [INFO] [stderr] 1913 | pub fn nl_auto_complete(arg1: *mut nl_sock, arg2: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_auto` [INFO] [stderr] --> src/netlink/sys.rs:1916:5 [INFO] [stderr] | [INFO] [stderr] 1916 | pub fn nl_send_auto(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_auto_complete` [INFO] [stderr] --> src/netlink/sys.rs:1919:5 [INFO] [stderr] | [INFO] [stderr] 1919 | pub fn nl_send_auto_complete(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_simple` [INFO] [stderr] --> src/netlink/sys.rs:1925:5 [INFO] [stderr] | [INFO] [stderr] 1925 | / pub fn nl_send_simple( [INFO] [stderr] 1926 | | arg1: *mut nl_sock, [INFO] [stderr] 1927 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1928 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 1929 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1930 | | arg5: usize, [INFO] [stderr] 1931 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_recv` [INFO] [stderr] --> src/netlink/sys.rs:1934:5 [INFO] [stderr] | [INFO] [stderr] 1934 | / pub fn nl_recv( [INFO] [stderr] 1935 | | arg1: *mut nl_sock, [INFO] [stderr] 1936 | | arg2: *mut sockaddr_nl, [INFO] [stderr] 1937 | | arg3: *mut *mut ::std::os::raw::c_uchar, [INFO] [stderr] 1938 | | arg4: *mut *mut ucred, [INFO] [stderr] 1939 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_recvmsgs` [INFO] [stderr] --> src/netlink/sys.rs:1942:5 [INFO] [stderr] | [INFO] [stderr] 1942 | pub fn nl_recvmsgs(arg1: *mut nl_sock, arg2: *mut nl_cb) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_recvmsgs_report` [INFO] [stderr] --> src/netlink/sys.rs:1945:5 [INFO] [stderr] | [INFO] [stderr] 1945 | pub fn nl_recvmsgs_report(arg1: *mut nl_sock, arg2: *mut nl_cb) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_wait_for_ack` [INFO] [stderr] --> src/netlink/sys.rs:1951:5 [INFO] [stderr] | [INFO] [stderr] 1951 | pub fn nl_wait_for_ack(arg1: *mut nl_sock) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_pickup` [INFO] [stderr] --> src/netlink/sys.rs:1954:5 [INFO] [stderr] | [INFO] [stderr] 1954 | / pub fn nl_pickup( [INFO] [stderr] 1955 | | arg1: *mut nl_sock, [INFO] [stderr] 1956 | | parser: ::std::option::Option< [INFO] [stderr] 1957 | | unsafe extern "C" fn( [INFO] [stderr] ... | [INFO] [stderr] 1964 | | arg2: *mut *mut nl_object, [INFO] [stderr] 1965 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_pickup_keep_syserr` [INFO] [stderr] --> src/netlink/sys.rs:1968:5 [INFO] [stderr] | [INFO] [stderr] 1968 | / pub fn nl_pickup_keep_syserr( [INFO] [stderr] 1969 | | sk: *mut nl_sock, [INFO] [stderr] 1970 | | parser: ::std::option::Option< [INFO] [stderr] 1971 | | unsafe extern "C" fn( [INFO] [stderr] ... | [INFO] [stderr] 1979 | | syserror: *mut ::std::os::raw::c_int, [INFO] [stderr] 1980 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_nlfamily2str` [INFO] [stderr] --> src/netlink/sys.rs:1983:5 [INFO] [stderr] | [INFO] [stderr] 1983 | / pub fn nl_nlfamily2str( [INFO] [stderr] 1984 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1985 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1986 | | arg3: usize, [INFO] [stderr] 1987 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2nlfamily` [INFO] [stderr] --> src/netlink/sys.rs:1990:5 [INFO] [stderr] | [INFO] [stderr] 1990 | pub fn nl_str2nlfamily(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_alloc` [INFO] [stderr] --> src/netlink/sys.rs:1998:5 [INFO] [stderr] | [INFO] [stderr] 1998 | pub fn nl_addr_alloc(arg1: usize) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_alloc_attr` [INFO] [stderr] --> src/netlink/sys.rs:2001:5 [INFO] [stderr] | [INFO] [stderr] 2001 | pub fn nl_addr_alloc_attr(arg1: *const nlattr, arg2: ::std::os::raw::c_int) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_build` [INFO] [stderr] --> src/netlink/sys.rs:2004:5 [INFO] [stderr] | [INFO] [stderr] 2004 | / pub fn nl_addr_build( [INFO] [stderr] 2005 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2006 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2007 | | arg3: usize, [INFO] [stderr] 2008 | | ) -> *mut nl_addr; [INFO] [stderr] | |______________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_parse` [INFO] [stderr] --> src/netlink/sys.rs:2011:5 [INFO] [stderr] | [INFO] [stderr] 2011 | / pub fn nl_addr_parse( [INFO] [stderr] 2012 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 2013 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2014 | | arg3: *mut *mut nl_addr, [INFO] [stderr] 2015 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_clone` [INFO] [stderr] --> src/netlink/sys.rs:2018:5 [INFO] [stderr] | [INFO] [stderr] 2018 | pub fn nl_addr_clone(arg1: *const nl_addr) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get` [INFO] [stderr] --> src/netlink/sys.rs:2021:5 [INFO] [stderr] | [INFO] [stderr] 2021 | pub fn nl_addr_get(arg1: *mut nl_addr) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_put` [INFO] [stderr] --> src/netlink/sys.rs:2024:5 [INFO] [stderr] | [INFO] [stderr] 2024 | pub fn nl_addr_put(arg1: *mut nl_addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_shared` [INFO] [stderr] --> src/netlink/sys.rs:2027:5 [INFO] [stderr] | [INFO] [stderr] 2027 | pub fn nl_addr_shared(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_cmp` [INFO] [stderr] --> src/netlink/sys.rs:2030:5 [INFO] [stderr] | [INFO] [stderr] 2030 | pub fn nl_addr_cmp(arg1: *const nl_addr, arg2: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_cmp_prefix` [INFO] [stderr] --> src/netlink/sys.rs:2033:5 [INFO] [stderr] | [INFO] [stderr] 2033 | pub fn nl_addr_cmp_prefix(arg1: *const nl_addr, arg2: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_iszero` [INFO] [stderr] --> src/netlink/sys.rs:2036:5 [INFO] [stderr] | [INFO] [stderr] 2036 | pub fn nl_addr_iszero(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_valid` [INFO] [stderr] --> src/netlink/sys.rs:2039:5 [INFO] [stderr] | [INFO] [stderr] 2039 | / pub fn nl_addr_valid( [INFO] [stderr] 2040 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 2041 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2042 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_guess_family` [INFO] [stderr] --> src/netlink/sys.rs:2045:5 [INFO] [stderr] | [INFO] [stderr] 2045 | pub fn nl_addr_guess_family(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_fill_sockaddr` [INFO] [stderr] --> src/netlink/sys.rs:2048:5 [INFO] [stderr] | [INFO] [stderr] 2048 | / pub fn nl_addr_fill_sockaddr( [INFO] [stderr] 2049 | | arg1: *const nl_addr, [INFO] [stderr] 2050 | | arg2: *mut sockaddr, [INFO] [stderr] 2051 | | arg3: *mut socklen_t, [INFO] [stderr] 2052 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_info` [INFO] [stderr] --> src/netlink/sys.rs:2055:5 [INFO] [stderr] | [INFO] [stderr] 2055 | pub fn nl_addr_info(arg1: *const nl_addr, arg2: *mut *mut addrinfo) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_resolve` [INFO] [stderr] --> src/netlink/sys.rs:2058:5 [INFO] [stderr] | [INFO] [stderr] 2058 | / pub fn nl_addr_resolve( [INFO] [stderr] 2059 | | arg1: *const nl_addr, [INFO] [stderr] 2060 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2061 | | arg3: usize, [INFO] [stderr] 2062 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_set_family` [INFO] [stderr] --> src/netlink/sys.rs:2065:5 [INFO] [stderr] | [INFO] [stderr] 2065 | pub fn nl_addr_set_family(arg1: *mut nl_addr, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_family` [INFO] [stderr] --> src/netlink/sys.rs:2068:5 [INFO] [stderr] | [INFO] [stderr] 2068 | pub fn nl_addr_get_family(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_set_binary_addr` [INFO] [stderr] --> src/netlink/sys.rs:2071:5 [INFO] [stderr] | [INFO] [stderr] 2071 | / pub fn nl_addr_set_binary_addr( [INFO] [stderr] 2072 | | arg1: *mut nl_addr, [INFO] [stderr] 2073 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2074 | | arg3: usize, [INFO] [stderr] 2075 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_binary_addr` [INFO] [stderr] --> src/netlink/sys.rs:2078:5 [INFO] [stderr] | [INFO] [stderr] 2078 | pub fn nl_addr_get_binary_addr(arg1: *const nl_addr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_len` [INFO] [stderr] --> src/netlink/sys.rs:2081:5 [INFO] [stderr] | [INFO] [stderr] 2081 | pub fn nl_addr_get_len(arg1: *const nl_addr) -> ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_set_prefixlen` [INFO] [stderr] --> src/netlink/sys.rs:2084:5 [INFO] [stderr] | [INFO] [stderr] 2084 | pub fn nl_addr_set_prefixlen(arg1: *mut nl_addr, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_prefixlen` [INFO] [stderr] --> src/netlink/sys.rs:2087:5 [INFO] [stderr] | [INFO] [stderr] 2087 | pub fn nl_addr_get_prefixlen(arg1: *const nl_addr) -> ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_af2str` [INFO] [stderr] --> src/netlink/sys.rs:2090:5 [INFO] [stderr] | [INFO] [stderr] 2090 | / pub fn nl_af2str( [INFO] [stderr] 2091 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2092 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2093 | | arg3: usize, [INFO] [stderr] 2094 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2af` [INFO] [stderr] --> src/netlink/sys.rs:2097:5 [INFO] [stderr] | [INFO] [stderr] 2097 | pub fn nl_str2af(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr2str` [INFO] [stderr] --> src/netlink/sys.rs:2100:5 [INFO] [stderr] | [INFO] [stderr] 2100 | / pub fn nl_addr2str( [INFO] [stderr] 2101 | | arg1: *const nl_addr, [INFO] [stderr] 2102 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2103 | | arg3: usize, [INFO] [stderr] 2104 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_alloc` [INFO] [stderr] --> src/netlink/sys.rs:2112:5 [INFO] [stderr] | [INFO] [stderr] 2112 | pub fn nl_data_alloc(arg1: *const ::std::os::raw::c_void, arg2: usize) -> *mut nl_data; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_alloc_attr` [INFO] [stderr] --> src/netlink/sys.rs:2115:5 [INFO] [stderr] | [INFO] [stderr] 2115 | pub fn nl_data_alloc_attr(arg1: *const nlattr) -> *mut nl_data; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_clone` [INFO] [stderr] --> src/netlink/sys.rs:2118:5 [INFO] [stderr] | [INFO] [stderr] 2118 | pub fn nl_data_clone(arg1: *const nl_data) -> *mut nl_data; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_append` [INFO] [stderr] --> src/netlink/sys.rs:2121:5 [INFO] [stderr] | [INFO] [stderr] 2121 | / pub fn nl_data_append( [INFO] [stderr] 2122 | | arg1: *mut nl_data, [INFO] [stderr] 2123 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2124 | | arg3: usize, [INFO] [stderr] 2125 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_free` [INFO] [stderr] --> src/netlink/sys.rs:2128:5 [INFO] [stderr] | [INFO] [stderr] 2128 | pub fn nl_data_free(arg1: *mut nl_data); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_get` [INFO] [stderr] --> src/netlink/sys.rs:2131:5 [INFO] [stderr] | [INFO] [stderr] 2131 | pub fn nl_data_get(arg1: *const nl_data) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_get_size` [INFO] [stderr] --> src/netlink/sys.rs:2134:5 [INFO] [stderr] | [INFO] [stderr] 2134 | pub fn nl_data_get_size(arg1: *const nl_data) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_cmp` [INFO] [stderr] --> src/netlink/sys.rs:2137:5 [INFO] [stderr] | [INFO] [stderr] 2137 | pub fn nl_data_cmp(arg1: *const nl_data, arg2: *const nl_data) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_attr_size` [INFO] [stderr] --> src/netlink/sys.rs:2197:5 [INFO] [stderr] | [INFO] [stderr] 2197 | pub fn nla_attr_size(payload: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_total_size` [INFO] [stderr] --> src/netlink/sys.rs:2200:5 [INFO] [stderr] | [INFO] [stderr] 2200 | pub fn nla_total_size(payload: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_padlen` [INFO] [stderr] --> src/netlink/sys.rs:2203:5 [INFO] [stderr] | [INFO] [stderr] 2203 | pub fn nla_padlen(payload: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_type` [INFO] [stderr] --> src/netlink/sys.rs:2206:5 [INFO] [stderr] | [INFO] [stderr] 2206 | pub fn nla_type(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_len` [INFO] [stderr] --> src/netlink/sys.rs:2212:5 [INFO] [stderr] | [INFO] [stderr] 2212 | pub fn nla_len(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_ok` [INFO] [stderr] --> src/netlink/sys.rs:2215:5 [INFO] [stderr] | [INFO] [stderr] 2215 | pub fn nla_ok(arg1: *const nlattr, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_parse` [INFO] [stderr] --> src/netlink/sys.rs:2221:5 [INFO] [stderr] | [INFO] [stderr] 2221 | / pub fn nla_parse( [INFO] [stderr] 2222 | | arg1: *mut *mut nlattr, [INFO] [stderr] 2223 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2224 | | arg3: *mut nlattr, [INFO] [stderr] 2225 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2226 | | arg5: *mut nla_policy, [INFO] [stderr] 2227 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_validate` [INFO] [stderr] --> src/netlink/sys.rs:2230:5 [INFO] [stderr] | [INFO] [stderr] 2230 | / pub fn nla_validate( [INFO] [stderr] 2231 | | arg1: *const nlattr, [INFO] [stderr] 2232 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2233 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2234 | | arg4: *const nla_policy, [INFO] [stderr] 2235 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_find` [INFO] [stderr] --> src/netlink/sys.rs:2238:5 [INFO] [stderr] | [INFO] [stderr] 2238 | / pub fn nla_find( [INFO] [stderr] 2239 | | arg1: *const nlattr, [INFO] [stderr] 2240 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2241 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2242 | | ) -> *mut nlattr; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_memcpy` [INFO] [stderr] --> src/netlink/sys.rs:2245:5 [INFO] [stderr] | [INFO] [stderr] 2245 | / pub fn nla_memcpy( [INFO] [stderr] 2246 | | arg1: *mut ::std::os::raw::c_void, [INFO] [stderr] 2247 | | arg2: *const nlattr, [INFO] [stderr] 2248 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2249 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_strlcpy` [INFO] [stderr] --> src/netlink/sys.rs:2252:5 [INFO] [stderr] | [INFO] [stderr] 2252 | / pub fn nla_strlcpy( [INFO] [stderr] 2253 | | arg1: *mut ::std::os::raw::c_char, [INFO] [stderr] 2254 | | arg2: *const nlattr, [INFO] [stderr] 2255 | | arg3: usize, [INFO] [stderr] 2256 | | ) -> usize; [INFO] [stderr] | |_______________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_memcmp` [INFO] [stderr] --> src/netlink/sys.rs:2259:5 [INFO] [stderr] | [INFO] [stderr] 2259 | / pub fn nla_memcmp( [INFO] [stderr] 2260 | | arg1: *const nlattr, [INFO] [stderr] 2261 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2262 | | arg3: usize, [INFO] [stderr] 2263 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_strcmp` [INFO] [stderr] --> src/netlink/sys.rs:2266:5 [INFO] [stderr] | [INFO] [stderr] 2266 | / pub fn nla_strcmp( [INFO] [stderr] 2267 | | arg1: *const nlattr, [INFO] [stderr] 2268 | | arg2: *const ::std::os::raw::c_char, [INFO] [stderr] 2269 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_reserve` [INFO] [stderr] --> src/netlink/sys.rs:2272:5 [INFO] [stderr] | [INFO] [stderr] 2272 | / pub fn nla_reserve( [INFO] [stderr] 2273 | | arg1: *mut nl_msg, [INFO] [stderr] 2274 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2275 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2276 | | ) -> *mut nlattr; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put` [INFO] [stderr] --> src/netlink/sys.rs:2279:5 [INFO] [stderr] | [INFO] [stderr] 2279 | / pub fn nla_put( [INFO] [stderr] 2280 | | arg1: *mut nl_msg, [INFO] [stderr] 2281 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2282 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2283 | | arg4: *const ::std::os::raw::c_void, [INFO] [stderr] 2284 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_data` [INFO] [stderr] --> src/netlink/sys.rs:2287:5 [INFO] [stderr] | [INFO] [stderr] 2287 | / pub fn nla_put_data( [INFO] [stderr] 2288 | | arg1: *mut nl_msg, [INFO] [stderr] 2289 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2290 | | arg3: *const nl_data, [INFO] [stderr] 2291 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_addr` [INFO] [stderr] --> src/netlink/sys.rs:2294:5 [INFO] [stderr] | [INFO] [stderr] 2294 | / pub fn nla_put_addr( [INFO] [stderr] 2295 | | arg1: *mut nl_msg, [INFO] [stderr] 2296 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2297 | | arg3: *mut nl_addr, [INFO] [stderr] 2298 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s8` [INFO] [stderr] --> src/netlink/sys.rs:2301:5 [INFO] [stderr] | [INFO] [stderr] 2301 | pub fn nla_get_s8(arg1: *const nlattr) -> i8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s8` [INFO] [stderr] --> src/netlink/sys.rs:2304:5 [INFO] [stderr] | [INFO] [stderr] 2304 | / pub fn nla_put_s8( [INFO] [stderr] 2305 | | arg1: *mut nl_msg, [INFO] [stderr] 2306 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2307 | | arg3: i8, [INFO] [stderr] 2308 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u8` [INFO] [stderr] --> src/netlink/sys.rs:2311:5 [INFO] [stderr] | [INFO] [stderr] 2311 | pub fn nla_get_u8(arg1: *const nlattr) -> u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_u8` [INFO] [stderr] --> src/netlink/sys.rs:2314:5 [INFO] [stderr] | [INFO] [stderr] 2314 | / pub fn nla_put_u8( [INFO] [stderr] 2315 | | arg1: *mut nl_msg, [INFO] [stderr] 2316 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2317 | | arg3: u8, [INFO] [stderr] 2318 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s16` [INFO] [stderr] --> src/netlink/sys.rs:2321:5 [INFO] [stderr] | [INFO] [stderr] 2321 | pub fn nla_get_s16(arg1: *const nlattr) -> i16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s16` [INFO] [stderr] --> src/netlink/sys.rs:2324:5 [INFO] [stderr] | [INFO] [stderr] 2324 | / pub fn nla_put_s16( [INFO] [stderr] 2325 | | arg1: *mut nl_msg, [INFO] [stderr] 2326 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2327 | | arg3: i16, [INFO] [stderr] 2328 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u16` [INFO] [stderr] --> src/netlink/sys.rs:2331:5 [INFO] [stderr] | [INFO] [stderr] 2331 | pub fn nla_get_u16(arg1: *const nlattr) -> u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_u16` [INFO] [stderr] --> src/netlink/sys.rs:2334:5 [INFO] [stderr] | [INFO] [stderr] 2334 | / pub fn nla_put_u16( [INFO] [stderr] 2335 | | arg1: *mut nl_msg, [INFO] [stderr] 2336 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2337 | | arg3: u16, [INFO] [stderr] 2338 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s32` [INFO] [stderr] --> src/netlink/sys.rs:2341:5 [INFO] [stderr] | [INFO] [stderr] 2341 | pub fn nla_get_s32(arg1: *const nlattr) -> i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s32` [INFO] [stderr] --> src/netlink/sys.rs:2344:5 [INFO] [stderr] | [INFO] [stderr] 2344 | / pub fn nla_put_s32( [INFO] [stderr] 2345 | | arg1: *mut nl_msg, [INFO] [stderr] 2346 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2347 | | arg3: i32, [INFO] [stderr] 2348 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u32` [INFO] [stderr] --> src/netlink/sys.rs:2351:5 [INFO] [stderr] | [INFO] [stderr] 2351 | pub fn nla_get_u32(arg1: *const nlattr) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s64` [INFO] [stderr] --> src/netlink/sys.rs:2361:5 [INFO] [stderr] | [INFO] [stderr] 2361 | pub fn nla_get_s64(arg1: *const nlattr) -> i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s64` [INFO] [stderr] --> src/netlink/sys.rs:2364:5 [INFO] [stderr] | [INFO] [stderr] 2364 | / pub fn nla_put_s64( [INFO] [stderr] 2365 | | arg1: *mut nl_msg, [INFO] [stderr] 2366 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2367 | | arg3: i64, [INFO] [stderr] 2368 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u64` [INFO] [stderr] --> src/netlink/sys.rs:2371:5 [INFO] [stderr] | [INFO] [stderr] 2371 | pub fn nla_get_u64(arg1: *const nlattr) -> u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_u64` [INFO] [stderr] --> src/netlink/sys.rs:2374:5 [INFO] [stderr] | [INFO] [stderr] 2374 | / pub fn nla_put_u64( [INFO] [stderr] 2375 | | arg1: *mut nl_msg, [INFO] [stderr] 2376 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2377 | | arg3: u64, [INFO] [stderr] 2378 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_string` [INFO] [stderr] --> src/netlink/sys.rs:2381:5 [INFO] [stderr] | [INFO] [stderr] 2381 | pub fn nla_get_string(arg1: *const nlattr) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_strdup` [INFO] [stderr] --> src/netlink/sys.rs:2384:5 [INFO] [stderr] | [INFO] [stderr] 2384 | pub fn nla_strdup(arg1: *const nlattr) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_string` [INFO] [stderr] --> src/netlink/sys.rs:2387:5 [INFO] [stderr] | [INFO] [stderr] 2387 | / pub fn nla_put_string( [INFO] [stderr] 2388 | | arg1: *mut nl_msg, [INFO] [stderr] 2389 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2390 | | arg3: *const ::std::os::raw::c_char, [INFO] [stderr] 2391 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_flag` [INFO] [stderr] --> src/netlink/sys.rs:2394:5 [INFO] [stderr] | [INFO] [stderr] 2394 | pub fn nla_get_flag(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_flag` [INFO] [stderr] --> src/netlink/sys.rs:2397:5 [INFO] [stderr] | [INFO] [stderr] 2397 | pub fn nla_put_flag(arg1: *mut nl_msg, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_msecs` [INFO] [stderr] --> src/netlink/sys.rs:2400:5 [INFO] [stderr] | [INFO] [stderr] 2400 | pub fn nla_get_msecs(arg1: *const nlattr) -> ::std::os::raw::c_ulong; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_msecs` [INFO] [stderr] --> src/netlink/sys.rs:2403:5 [INFO] [stderr] | [INFO] [stderr] 2403 | / pub fn nla_put_msecs( [INFO] [stderr] 2404 | | arg1: *mut nl_msg, [INFO] [stderr] 2405 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2406 | | arg3: ::std::os::raw::c_ulong, [INFO] [stderr] 2407 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_nested` [INFO] [stderr] --> src/netlink/sys.rs:2410:5 [INFO] [stderr] | [INFO] [stderr] 2410 | / pub fn nla_put_nested( [INFO] [stderr] 2411 | | arg1: *mut nl_msg, [INFO] [stderr] 2412 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2413 | | arg3: *const nl_msg, [INFO] [stderr] 2414 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_nest_start` [INFO] [stderr] --> src/netlink/sys.rs:2417:5 [INFO] [stderr] | [INFO] [stderr] 2417 | pub fn nla_nest_start(arg1: *mut nl_msg, arg2: ::std::os::raw::c_int) -> *mut nlattr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_nest_end` [INFO] [stderr] --> src/netlink/sys.rs:2420:5 [INFO] [stderr] | [INFO] [stderr] 2420 | pub fn nla_nest_end(arg1: *mut nl_msg, arg2: *mut nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_nest_cancel` [INFO] [stderr] --> src/netlink/sys.rs:2423:5 [INFO] [stderr] | [INFO] [stderr] 2423 | pub fn nla_nest_cancel(arg1: *mut nl_msg, arg2: *const nlattr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_parse_nested` [INFO] [stderr] --> src/netlink/sys.rs:2426:5 [INFO] [stderr] | [INFO] [stderr] 2426 | / pub fn nla_parse_nested( [INFO] [stderr] 2427 | | arg1: *mut *mut nlattr, [INFO] [stderr] 2428 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2429 | | arg3: *mut nlattr, [INFO] [stderr] 2430 | | arg4: *mut nla_policy, [INFO] [stderr] 2431 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_is_nested` [INFO] [stderr] --> src/netlink/sys.rs:2434:5 [INFO] [stderr] | [INFO] [stderr] 2434 | pub fn nla_is_nested(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_size` [INFO] [stderr] --> src/netlink/sys.rs:2442:5 [INFO] [stderr] | [INFO] [stderr] 2442 | pub fn nlmsg_size(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_total_size` [INFO] [stderr] --> src/netlink/sys.rs:2445:5 [INFO] [stderr] | [INFO] [stderr] 2445 | pub fn nlmsg_total_size(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_padlen` [INFO] [stderr] --> src/netlink/sys.rs:2448:5 [INFO] [stderr] | [INFO] [stderr] 2448 | pub fn nlmsg_padlen(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_data` [INFO] [stderr] --> src/netlink/sys.rs:2451:5 [INFO] [stderr] | [INFO] [stderr] 2451 | pub fn nlmsg_data(arg1: *const nlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_datalen` [INFO] [stderr] --> src/netlink/sys.rs:2454:5 [INFO] [stderr] | [INFO] [stderr] 2454 | pub fn nlmsg_datalen(arg1: *const nlmsghdr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_tail` [INFO] [stderr] --> src/netlink/sys.rs:2457:5 [INFO] [stderr] | [INFO] [stderr] 2457 | pub fn nlmsg_tail(arg1: *const nlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_attrdata` [INFO] [stderr] --> src/netlink/sys.rs:2460:5 [INFO] [stderr] | [INFO] [stderr] 2460 | pub fn nlmsg_attrdata(arg1: *const nlmsghdr, arg2: ::std::os::raw::c_int) -> *mut nlattr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_attrlen` [INFO] [stderr] --> src/netlink/sys.rs:2463:5 [INFO] [stderr] | [INFO] [stderr] 2463 | / pub fn nlmsg_attrlen( [INFO] [stderr] 2464 | | arg1: *const nlmsghdr, [INFO] [stderr] 2465 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2466 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_valid_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2469:5 [INFO] [stderr] | [INFO] [stderr] 2469 | / pub fn nlmsg_valid_hdr( [INFO] [stderr] 2470 | | arg1: *const nlmsghdr, [INFO] [stderr] 2471 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2472 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_ok` [INFO] [stderr] --> src/netlink/sys.rs:2475:5 [INFO] [stderr] | [INFO] [stderr] 2475 | pub fn nlmsg_ok(arg1: *const nlmsghdr, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_next` [INFO] [stderr] --> src/netlink/sys.rs:2478:5 [INFO] [stderr] | [INFO] [stderr] 2478 | pub fn nlmsg_next(arg1: *mut nlmsghdr, arg2: *mut ::std::os::raw::c_int) -> *mut nlmsghdr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_parse` [INFO] [stderr] --> src/netlink/sys.rs:2481:5 [INFO] [stderr] | [INFO] [stderr] 2481 | / pub fn nlmsg_parse( [INFO] [stderr] 2482 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2483 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2484 | | arg3: *mut *mut nlattr, [INFO] [stderr] 2485 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2486 | | arg5: *mut nla_policy, [INFO] [stderr] 2487 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_find_attr` [INFO] [stderr] --> src/netlink/sys.rs:2490:5 [INFO] [stderr] | [INFO] [stderr] 2490 | / pub fn nlmsg_find_attr( [INFO] [stderr] 2491 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2492 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2493 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2494 | | ) -> *mut nlattr; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_validate` [INFO] [stderr] --> src/netlink/sys.rs:2497:5 [INFO] [stderr] | [INFO] [stderr] 2497 | / pub fn nlmsg_validate( [INFO] [stderr] 2498 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2499 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2500 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2501 | | arg4: *mut nla_policy, [INFO] [stderr] 2502 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_alloc_size` [INFO] [stderr] --> src/netlink/sys.rs:2508:5 [INFO] [stderr] | [INFO] [stderr] 2508 | pub fn nlmsg_alloc_size(arg1: usize) -> *mut nl_msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_alloc_simple` [INFO] [stderr] --> src/netlink/sys.rs:2511:5 [INFO] [stderr] | [INFO] [stderr] 2511 | / pub fn nlmsg_alloc_simple( [INFO] [stderr] 2512 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2513 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2514 | | ) -> *mut nl_msg; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_default_size` [INFO] [stderr] --> src/netlink/sys.rs:2517:5 [INFO] [stderr] | [INFO] [stderr] 2517 | pub fn nlmsg_set_default_size(arg1: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_inherit` [INFO] [stderr] --> src/netlink/sys.rs:2520:5 [INFO] [stderr] | [INFO] [stderr] 2520 | pub fn nlmsg_inherit(arg1: *mut nlmsghdr) -> *mut nl_msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_convert` [INFO] [stderr] --> src/netlink/sys.rs:2523:5 [INFO] [stderr] | [INFO] [stderr] 2523 | pub fn nlmsg_convert(arg1: *mut nlmsghdr) -> *mut nl_msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_reserve` [INFO] [stderr] --> src/netlink/sys.rs:2526:5 [INFO] [stderr] | [INFO] [stderr] 2526 | / pub fn nlmsg_reserve( [INFO] [stderr] 2527 | | arg1: *mut nl_msg, [INFO] [stderr] 2528 | | arg2: usize, [INFO] [stderr] 2529 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2530 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_append` [INFO] [stderr] --> src/netlink/sys.rs:2533:5 [INFO] [stderr] | [INFO] [stderr] 2533 | / pub fn nlmsg_append( [INFO] [stderr] 2534 | | arg1: *mut nl_msg, [INFO] [stderr] 2535 | | arg2: *mut ::std::os::raw::c_void, [INFO] [stderr] 2536 | | arg3: usize, [INFO] [stderr] 2537 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2538 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_expand` [INFO] [stderr] --> src/netlink/sys.rs:2541:5 [INFO] [stderr] | [INFO] [stderr] 2541 | pub fn nlmsg_expand(arg1: *mut nl_msg, arg2: usize) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_put` [INFO] [stderr] --> src/netlink/sys.rs:2544:5 [INFO] [stderr] | [INFO] [stderr] 2544 | / pub fn nlmsg_put( [INFO] [stderr] 2545 | | arg1: *mut nl_msg, [INFO] [stderr] 2546 | | arg2: u32, [INFO] [stderr] 2547 | | arg3: u32, [INFO] [stderr] ... | [INFO] [stderr] 2550 | | arg6: ::std::os::raw::c_int, [INFO] [stderr] 2551 | | ) -> *mut nlmsghdr; [INFO] [stderr] | |_______________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get` [INFO] [stderr] --> src/netlink/sys.rs:2557:5 [INFO] [stderr] | [INFO] [stderr] 2557 | pub fn nlmsg_get(arg1: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_free` [INFO] [stderr] --> src/netlink/sys.rs:2560:5 [INFO] [stderr] | [INFO] [stderr] 2560 | pub fn nlmsg_free(arg1: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_proto` [INFO] [stderr] --> src/netlink/sys.rs:2563:5 [INFO] [stderr] | [INFO] [stderr] 2563 | pub fn nlmsg_set_proto(arg1: *mut nl_msg, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_proto` [INFO] [stderr] --> src/netlink/sys.rs:2566:5 [INFO] [stderr] | [INFO] [stderr] 2566 | pub fn nlmsg_get_proto(arg1: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_max_size` [INFO] [stderr] --> src/netlink/sys.rs:2569:5 [INFO] [stderr] | [INFO] [stderr] 2569 | pub fn nlmsg_get_max_size(arg1: *mut nl_msg) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_src` [INFO] [stderr] --> src/netlink/sys.rs:2572:5 [INFO] [stderr] | [INFO] [stderr] 2572 | pub fn nlmsg_set_src(arg1: *mut nl_msg, arg2: *mut sockaddr_nl); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_src` [INFO] [stderr] --> src/netlink/sys.rs:2575:5 [INFO] [stderr] | [INFO] [stderr] 2575 | pub fn nlmsg_get_src(arg1: *mut nl_msg) -> *mut sockaddr_nl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_dst` [INFO] [stderr] --> src/netlink/sys.rs:2578:5 [INFO] [stderr] | [INFO] [stderr] 2578 | pub fn nlmsg_set_dst(arg1: *mut nl_msg, arg2: *mut sockaddr_nl); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_dst` [INFO] [stderr] --> src/netlink/sys.rs:2581:5 [INFO] [stderr] | [INFO] [stderr] 2581 | pub fn nlmsg_get_dst(arg1: *mut nl_msg) -> *mut sockaddr_nl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_creds` [INFO] [stderr] --> src/netlink/sys.rs:2584:5 [INFO] [stderr] | [INFO] [stderr] 2584 | pub fn nlmsg_set_creds(arg1: *mut nl_msg, arg2: *mut ucred); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_creds` [INFO] [stderr] --> src/netlink/sys.rs:2587:5 [INFO] [stderr] | [INFO] [stderr] 2587 | pub fn nlmsg_get_creds(arg1: *mut nl_msg) -> *mut ucred; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_nlmsgtype2str` [INFO] [stderr] --> src/netlink/sys.rs:2590:5 [INFO] [stderr] | [INFO] [stderr] 2590 | / pub fn nl_nlmsgtype2str( [INFO] [stderr] 2591 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2592 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2593 | | arg3: usize, [INFO] [stderr] 2594 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2nlmsgtype` [INFO] [stderr] --> src/netlink/sys.rs:2597:5 [INFO] [stderr] | [INFO] [stderr] 2597 | pub fn nl_str2nlmsgtype(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_nlmsg_flags2str` [INFO] [stderr] --> src/netlink/sys.rs:2600:5 [INFO] [stderr] | [INFO] [stderr] 2600 | / pub fn nl_nlmsg_flags2str( [INFO] [stderr] 2601 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2602 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2603 | | arg3: usize, [INFO] [stderr] 2604 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msg_parse` [INFO] [stderr] --> src/netlink/sys.rs:2607:5 [INFO] [stderr] | [INFO] [stderr] 2607 | / pub fn nl_msg_parse( [INFO] [stderr] 2608 | | arg1: *mut nl_msg, [INFO] [stderr] 2609 | | cb: ::std::option::Option< [INFO] [stderr] 2610 | | unsafe extern "C" fn(arg1: *mut nl_object, arg2: *mut ::std::os::raw::c_void), [INFO] [stderr] 2611 | | >, [INFO] [stderr] 2612 | | arg2: *mut ::std::os::raw::c_void, [INFO] [stderr] 2613 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msg_dump` [INFO] [stderr] --> src/netlink/sys.rs:2616:5 [INFO] [stderr] | [INFO] [stderr] 2616 | pub fn nl_msg_dump(arg1: *mut nl_msg, arg2: *mut FILE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_connect` [INFO] [stderr] --> src/netlink/sys.rs:2619:5 [INFO] [stderr] | [INFO] [stderr] 2619 | pub fn genl_connect(arg1: *mut nl_sock) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_send_simple` [INFO] [stderr] --> src/netlink/sys.rs:2622:5 [INFO] [stderr] | [INFO] [stderr] 2622 | / pub fn genl_send_simple( [INFO] [stderr] 2623 | | arg1: *mut nl_sock, [INFO] [stderr] 2624 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2625 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2626 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2627 | | arg5: ::std::os::raw::c_int, [INFO] [stderr] 2628 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_valid_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2643:5 [INFO] [stderr] | [INFO] [stderr] 2643 | / pub fn genlmsg_valid_hdr( [INFO] [stderr] 2644 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2645 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2646 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_validate` [INFO] [stderr] --> src/netlink/sys.rs:2649:5 [INFO] [stderr] | [INFO] [stderr] 2649 | / pub fn genlmsg_validate( [INFO] [stderr] 2650 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2651 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2652 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2653 | | arg4: *mut nla_policy, [INFO] [stderr] 2654 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2666:5 [INFO] [stderr] | [INFO] [stderr] 2666 | pub fn genlmsg_hdr(arg1: *mut nlmsghdr) -> *mut genlmsghdr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_data` [INFO] [stderr] --> src/netlink/sys.rs:2669:5 [INFO] [stderr] | [INFO] [stderr] 2669 | pub fn genlmsg_data(arg1: *const genlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_user_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2672:5 [INFO] [stderr] | [INFO] [stderr] 2672 | pub fn genlmsg_user_hdr(arg1: *const genlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_user_data` [INFO] [stderr] --> src/netlink/sys.rs:2675:5 [INFO] [stderr] | [INFO] [stderr] 2675 | / pub fn genlmsg_user_data( [INFO] [stderr] 2676 | | arg1: *const genlmsghdr, [INFO] [stderr] 2677 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2678 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_user_datalen` [INFO] [stderr] --> src/netlink/sys.rs:2681:5 [INFO] [stderr] | [INFO] [stderr] 2681 | / pub fn genlmsg_user_datalen( [INFO] [stderr] 2682 | | arg1: *const genlmsghdr, [INFO] [stderr] 2683 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2684 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_len` [INFO] [stderr] --> src/netlink/sys.rs:2687:5 [INFO] [stderr] | [INFO] [stderr] 2687 | pub fn genlmsg_len(arg1: *const genlmsghdr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_attrdata` [INFO] [stderr] --> src/netlink/sys.rs:2690:5 [INFO] [stderr] | [INFO] [stderr] 2690 | pub fn genlmsg_attrdata(arg1: *const genlmsghdr, arg2: ::std::os::raw::c_int) -> *mut nlattr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_attrlen` [INFO] [stderr] --> src/netlink/sys.rs:2693:5 [INFO] [stderr] | [INFO] [stderr] 2693 | / pub fn genlmsg_attrlen( [INFO] [stderr] 2694 | | arg1: *const genlmsghdr, [INFO] [stderr] 2695 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2696 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_op2name` [INFO] [stderr] --> src/netlink/sys.rs:2699:5 [INFO] [stderr] | [INFO] [stderr] 2699 | / pub fn genl_op2name( [INFO] [stderr] 2700 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2701 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2702 | | arg3: *mut ::std::os::raw::c_char, [INFO] [stderr] 2703 | | arg4: usize, [INFO] [stderr] 2704 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `change_func_t` [INFO] [stderr] --> src/netlink/sys.rs:2706:1 [INFO] [stderr] | [INFO] [stderr] 2706 | / pub type change_func_t = ::std::option::Option< [INFO] [stderr] 2707 | | unsafe extern "C" fn( [INFO] [stderr] 2708 | | arg1: *mut nl_cache, [INFO] [stderr] 2709 | | arg2: *mut nl_object, [INFO] [stderr] ... | [INFO] [stderr] 2712 | | ), [INFO] [stderr] 2713 | | >; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_nitems` [INFO] [stderr] --> src/netlink/sys.rs:2715:5 [INFO] [stderr] | [INFO] [stderr] 2715 | pub fn nl_cache_nitems(arg1: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_nitems_filter` [INFO] [stderr] --> src/netlink/sys.rs:2718:5 [INFO] [stderr] | [INFO] [stderr] 2718 | / pub fn nl_cache_nitems_filter( [INFO] [stderr] 2719 | | arg1: *mut nl_cache, [INFO] [stderr] 2720 | | arg2: *mut nl_object, [INFO] [stderr] 2721 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_ops` [INFO] [stderr] --> src/netlink/sys.rs:2724:5 [INFO] [stderr] | [INFO] [stderr] 2724 | pub fn nl_cache_get_ops(arg1: *mut nl_cache) -> *mut nl_cache_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_first` [INFO] [stderr] --> src/netlink/sys.rs:2727:5 [INFO] [stderr] | [INFO] [stderr] 2727 | pub fn nl_cache_get_first(arg1: *mut nl_cache) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_last` [INFO] [stderr] --> src/netlink/sys.rs:2730:5 [INFO] [stderr] | [INFO] [stderr] 2730 | pub fn nl_cache_get_last(arg1: *mut nl_cache) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_next` [INFO] [stderr] --> src/netlink/sys.rs:2733:5 [INFO] [stderr] | [INFO] [stderr] 2733 | pub fn nl_cache_get_next(arg1: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_prev` [INFO] [stderr] --> src/netlink/sys.rs:2736:5 [INFO] [stderr] | [INFO] [stderr] 2736 | pub fn nl_cache_get_prev(arg1: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_alloc` [INFO] [stderr] --> src/netlink/sys.rs:2739:5 [INFO] [stderr] | [INFO] [stderr] 2739 | pub fn nl_cache_alloc(arg1: *mut nl_cache_ops) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_alloc_and_fill` [INFO] [stderr] --> src/netlink/sys.rs:2742:5 [INFO] [stderr] | [INFO] [stderr] 2742 | / pub fn nl_cache_alloc_and_fill( [INFO] [stderr] 2743 | | arg1: *mut nl_cache_ops, [INFO] [stderr] 2744 | | arg2: *mut nl_sock, [INFO] [stderr] 2745 | | arg3: *mut *mut nl_cache, [INFO] [stderr] 2746 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_alloc_name` [INFO] [stderr] --> src/netlink/sys.rs:2749:5 [INFO] [stderr] | [INFO] [stderr] 2749 | / pub fn nl_cache_alloc_name( [INFO] [stderr] 2750 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 2751 | | arg2: *mut *mut nl_cache, [INFO] [stderr] 2752 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_subset` [INFO] [stderr] --> src/netlink/sys.rs:2755:5 [INFO] [stderr] | [INFO] [stderr] 2755 | pub fn nl_cache_subset(arg1: *mut nl_cache, arg2: *mut nl_object) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_clone` [INFO] [stderr] --> src/netlink/sys.rs:2758:5 [INFO] [stderr] | [INFO] [stderr] 2758 | pub fn nl_cache_clone(arg1: *mut nl_cache) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_clear` [INFO] [stderr] --> src/netlink/sys.rs:2761:5 [INFO] [stderr] | [INFO] [stderr] 2761 | pub fn nl_cache_clear(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get` [INFO] [stderr] --> src/netlink/sys.rs:2764:5 [INFO] [stderr] | [INFO] [stderr] 2764 | pub fn nl_cache_get(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_free` [INFO] [stderr] --> src/netlink/sys.rs:2767:5 [INFO] [stderr] | [INFO] [stderr] 2767 | pub fn nl_cache_free(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_put` [INFO] [stderr] --> src/netlink/sys.rs:2770:5 [INFO] [stderr] | [INFO] [stderr] 2770 | pub fn nl_cache_put(cache: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_add` [INFO] [stderr] --> src/netlink/sys.rs:2773:5 [INFO] [stderr] | [INFO] [stderr] 2773 | pub fn nl_cache_add(arg1: *mut nl_cache, arg2: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_parse_and_add` [INFO] [stderr] --> src/netlink/sys.rs:2776:5 [INFO] [stderr] | [INFO] [stderr] 2776 | pub fn nl_cache_parse_and_add(arg1: *mut nl_cache, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_move` [INFO] [stderr] --> src/netlink/sys.rs:2779:5 [INFO] [stderr] | [INFO] [stderr] 2779 | pub fn nl_cache_move(arg1: *mut nl_cache, arg2: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_remove` [INFO] [stderr] --> src/netlink/sys.rs:2782:5 [INFO] [stderr] | [INFO] [stderr] 2782 | pub fn nl_cache_remove(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_refill` [INFO] [stderr] --> src/netlink/sys.rs:2785:5 [INFO] [stderr] | [INFO] [stderr] 2785 | pub fn nl_cache_refill(arg1: *mut nl_sock, arg2: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_pickup` [INFO] [stderr] --> src/netlink/sys.rs:2788:5 [INFO] [stderr] | [INFO] [stderr] 2788 | pub fn nl_cache_pickup(arg1: *mut nl_sock, arg2: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_pickup_checkdup` [INFO] [stderr] --> src/netlink/sys.rs:2791:5 [INFO] [stderr] | [INFO] [stderr] 2791 | / pub fn nl_cache_pickup_checkdup( [INFO] [stderr] 2792 | | arg1: *mut nl_sock, [INFO] [stderr] 2793 | | arg2: *mut nl_cache, [INFO] [stderr] 2794 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_resync` [INFO] [stderr] --> src/netlink/sys.rs:2797:5 [INFO] [stderr] | [INFO] [stderr] 2797 | / pub fn nl_cache_resync( [INFO] [stderr] 2798 | | arg1: *mut nl_sock, [INFO] [stderr] 2799 | | arg2: *mut nl_cache, [INFO] [stderr] 2800 | | arg3: change_func_t, [INFO] [stderr] 2801 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 2802 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_include` [INFO] [stderr] --> src/netlink/sys.rs:2805:5 [INFO] [stderr] | [INFO] [stderr] 2805 | / pub fn nl_cache_include( [INFO] [stderr] 2806 | | arg1: *mut nl_cache, [INFO] [stderr] 2807 | | arg2: *mut nl_object, [INFO] [stderr] 2808 | | arg3: change_func_t, [INFO] [stderr] 2809 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 2810 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_set_arg1` [INFO] [stderr] --> src/netlink/sys.rs:2813:5 [INFO] [stderr] | [INFO] [stderr] 2813 | pub fn nl_cache_set_arg1(arg1: *mut nl_cache, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_set_arg2` [INFO] [stderr] --> src/netlink/sys.rs:2816:5 [INFO] [stderr] | [INFO] [stderr] 2816 | pub fn nl_cache_set_arg2(arg1: *mut nl_cache, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_set_flags` [INFO] [stderr] --> src/netlink/sys.rs:2819:5 [INFO] [stderr] | [INFO] [stderr] 2819 | pub fn nl_cache_set_flags(arg1: *mut nl_cache, arg2: ::std::os::raw::c_uint); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_is_empty` [INFO] [stderr] --> src/netlink/sys.rs:2822:5 [INFO] [stderr] | [INFO] [stderr] 2822 | pub fn nl_cache_is_empty(arg1: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_search` [INFO] [stderr] --> src/netlink/sys.rs:2825:5 [INFO] [stderr] | [INFO] [stderr] 2825 | pub fn nl_cache_search(arg1: *mut nl_cache, arg2: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_find` [INFO] [stderr] --> src/netlink/sys.rs:2828:5 [INFO] [stderr] | [INFO] [stderr] 2828 | pub fn nl_cache_find(arg1: *mut nl_cache, arg2: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mark_all` [INFO] [stderr] --> src/netlink/sys.rs:2831:5 [INFO] [stderr] | [INFO] [stderr] 2831 | pub fn nl_cache_mark_all(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_dump` [INFO] [stderr] --> src/netlink/sys.rs:2834:5 [INFO] [stderr] | [INFO] [stderr] 2834 | pub fn nl_cache_dump(arg1: *mut nl_cache, arg2: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_dump_filter` [INFO] [stderr] --> src/netlink/sys.rs:2837:5 [INFO] [stderr] | [INFO] [stderr] 2837 | / pub fn nl_cache_dump_filter( [INFO] [stderr] 2838 | | arg1: *mut nl_cache, [INFO] [stderr] 2839 | | arg2: *mut nl_dump_params, [INFO] [stderr] 2840 | | arg3: *mut nl_object, [INFO] [stderr] 2841 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_foreach` [INFO] [stderr] --> src/netlink/sys.rs:2844:5 [INFO] [stderr] | [INFO] [stderr] 2844 | / pub fn nl_cache_foreach( [INFO] [stderr] 2845 | | arg1: *mut nl_cache, [INFO] [stderr] 2846 | | cb: ::std::option::Option< [INFO] [stderr] 2847 | | unsafe extern "C" fn(arg1: *mut nl_object, arg2: *mut ::std::os::raw::c_void), [INFO] [stderr] 2848 | | >, [INFO] [stderr] 2849 | | arg: *mut ::std::os::raw::c_void, [INFO] [stderr] 2850 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_foreach_filter` [INFO] [stderr] --> src/netlink/sys.rs:2853:5 [INFO] [stderr] | [INFO] [stderr] 2853 | / pub fn nl_cache_foreach_filter( [INFO] [stderr] 2854 | | arg1: *mut nl_cache, [INFO] [stderr] 2855 | | arg2: *mut nl_object, [INFO] [stderr] 2856 | | cb: ::std::option::Option< [INFO] [stderr] ... | [INFO] [stderr] 2859 | | arg: *mut ::std::os::raw::c_void, [INFO] [stderr] 2860 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_lookup` [INFO] [stderr] --> src/netlink/sys.rs:2863:5 [INFO] [stderr] | [INFO] [stderr] 2863 | pub fn nl_cache_ops_lookup(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_lookup_safe` [INFO] [stderr] --> src/netlink/sys.rs:2866:5 [INFO] [stderr] | [INFO] [stderr] 2866 | pub fn nl_cache_ops_lookup_safe(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_associate` [INFO] [stderr] --> src/netlink/sys.rs:2869:5 [INFO] [stderr] | [INFO] [stderr] 2869 | / pub fn nl_cache_ops_associate( [INFO] [stderr] 2870 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2871 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2872 | | ) -> *mut nl_cache_ops; [INFO] [stderr] | |___________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_associate_safe` [INFO] [stderr] --> src/netlink/sys.rs:2875:5 [INFO] [stderr] | [INFO] [stderr] 2875 | / pub fn nl_cache_ops_associate_safe( [INFO] [stderr] 2876 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2877 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2878 | | ) -> *mut nl_cache_ops; [INFO] [stderr] | |___________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msgtype_lookup` [INFO] [stderr] --> src/netlink/sys.rs:2886:5 [INFO] [stderr] | [INFO] [stderr] 2886 | / pub fn nl_msgtype_lookup( [INFO] [stderr] 2887 | | arg1: *mut nl_cache_ops, [INFO] [stderr] 2888 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2889 | | ) -> *mut nl_msgtype; [INFO] [stderr] | |_________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_foreach` [INFO] [stderr] --> src/netlink/sys.rs:2892:5 [INFO] [stderr] | [INFO] [stderr] 2892 | / pub fn nl_cache_ops_foreach( [INFO] [stderr] 2893 | | cb: ::std::option::Option< [INFO] [stderr] 2894 | | unsafe extern "C" fn(arg1: *mut nl_cache_ops, arg2: *mut ::std::os::raw::c_void), [INFO] [stderr] 2895 | | >, [INFO] [stderr] 2896 | | arg1: *mut ::std::os::raw::c_void, [INFO] [stderr] 2897 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_register` [INFO] [stderr] --> src/netlink/sys.rs:2900:5 [INFO] [stderr] | [INFO] [stderr] 2900 | pub fn nl_cache_mngt_register(arg1: *mut nl_cache_ops) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_unregister` [INFO] [stderr] --> src/netlink/sys.rs:2903:5 [INFO] [stderr] | [INFO] [stderr] 2903 | pub fn nl_cache_mngt_unregister(arg1: *mut nl_cache_ops) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_provide` [INFO] [stderr] --> src/netlink/sys.rs:2906:5 [INFO] [stderr] | [INFO] [stderr] 2906 | pub fn nl_cache_mngt_provide(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_unprovide` [INFO] [stderr] --> src/netlink/sys.rs:2909:5 [INFO] [stderr] | [INFO] [stderr] 2909 | pub fn nl_cache_mngt_unprovide(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_require` [INFO] [stderr] --> src/netlink/sys.rs:2912:5 [INFO] [stderr] | [INFO] [stderr] 2912 | pub fn nl_cache_mngt_require(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_require_safe` [INFO] [stderr] --> src/netlink/sys.rs:2915:5 [INFO] [stderr] | [INFO] [stderr] 2915 | pub fn nl_cache_mngt_require_safe(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_alloc` [INFO] [stderr] --> src/netlink/sys.rs:2923:5 [INFO] [stderr] | [INFO] [stderr] 2923 | / pub fn nl_cache_mngr_alloc( [INFO] [stderr] 2924 | | arg1: *mut nl_sock, [INFO] [stderr] 2925 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2926 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2927 | | arg4: *mut *mut nl_cache_mngr, [INFO] [stderr] 2928 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_add` [INFO] [stderr] --> src/netlink/sys.rs:2931:5 [INFO] [stderr] | [INFO] [stderr] 2931 | / pub fn nl_cache_mngr_add( [INFO] [stderr] 2932 | | arg1: *mut nl_cache_mngr, [INFO] [stderr] 2933 | | arg2: *const ::std::os::raw::c_char, [INFO] [stderr] 2934 | | arg3: change_func_t, [INFO] [stderr] 2935 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 2936 | | arg5: *mut *mut nl_cache, [INFO] [stderr] 2937 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_add_cache` [INFO] [stderr] --> src/netlink/sys.rs:2940:5 [INFO] [stderr] | [INFO] [stderr] 2940 | / pub fn nl_cache_mngr_add_cache( [INFO] [stderr] 2941 | | mngr: *mut nl_cache_mngr, [INFO] [stderr] 2942 | | cache: *mut nl_cache, [INFO] [stderr] 2943 | | cb: change_func_t, [INFO] [stderr] 2944 | | data: *mut ::std::os::raw::c_void, [INFO] [stderr] 2945 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_get_fd` [INFO] [stderr] --> src/netlink/sys.rs:2948:5 [INFO] [stderr] | [INFO] [stderr] 2948 | pub fn nl_cache_mngr_get_fd(arg1: *mut nl_cache_mngr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_poll` [INFO] [stderr] --> src/netlink/sys.rs:2951:5 [INFO] [stderr] | [INFO] [stderr] 2951 | / pub fn nl_cache_mngr_poll( [INFO] [stderr] 2952 | | arg1: *mut nl_cache_mngr, [INFO] [stderr] 2953 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2954 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_data_ready` [INFO] [stderr] --> src/netlink/sys.rs:2957:5 [INFO] [stderr] | [INFO] [stderr] 2957 | pub fn nl_cache_mngr_data_ready(arg1: *mut nl_cache_mngr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_info` [INFO] [stderr] --> src/netlink/sys.rs:2960:5 [INFO] [stderr] | [INFO] [stderr] 2960 | pub fn nl_cache_mngr_info(arg1: *mut nl_cache_mngr, arg2: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_free` [INFO] [stderr] --> src/netlink/sys.rs:2963:5 [INFO] [stderr] | [INFO] [stderr] 2963 | pub fn nl_cache_mngr_free(arg1: *mut nl_cache_mngr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_get` [INFO] [stderr] --> src/netlink/sys.rs:2966:5 [INFO] [stderr] | [INFO] [stderr] 2966 | pub fn nl_cache_ops_get(arg1: *mut nl_cache_ops); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_put` [INFO] [stderr] --> src/netlink/sys.rs:2969:5 [INFO] [stderr] | [INFO] [stderr] 2969 | pub fn nl_cache_ops_put(arg1: *mut nl_cache_ops); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_set_flags` [INFO] [stderr] --> src/netlink/sys.rs:2972:5 [INFO] [stderr] | [INFO] [stderr] 2972 | pub fn nl_cache_ops_set_flags(arg1: *mut nl_cache_ops, arg2: ::std::os::raw::c_uint); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_alloc_cache` [INFO] [stderr] --> src/netlink/sys.rs:2980:5 [INFO] [stderr] | [INFO] [stderr] 2980 | / pub fn genl_ctrl_alloc_cache( [INFO] [stderr] 2981 | | arg1: *mut nl_sock, [INFO] [stderr] 2982 | | arg2: *mut *mut nl_cache, [INFO] [stderr] 2983 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_search` [INFO] [stderr] --> src/netlink/sys.rs:2986:5 [INFO] [stderr] | [INFO] [stderr] 2986 | pub fn genl_ctrl_search(arg1: *mut nl_cache, arg2: ::std::os::raw::c_int) -> *mut genl_family; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_search_by_name` [INFO] [stderr] --> src/netlink/sys.rs:2989:5 [INFO] [stderr] | [INFO] [stderr] 2989 | / pub fn genl_ctrl_search_by_name( [INFO] [stderr] 2990 | | arg1: *mut nl_cache, [INFO] [stderr] 2991 | | arg2: *const ::std::os::raw::c_char, [INFO] [stderr] 2992 | | ) -> *mut genl_family; [INFO] [stderr] | |__________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_resolve_grp` [INFO] [stderr] --> src/netlink/sys.rs:3001:5 [INFO] [stderr] | [INFO] [stderr] 3001 | / pub fn genl_ctrl_resolve_grp( [INFO] [stderr] 3002 | | sk: *mut nl_sock, [INFO] [stderr] 3003 | | family: *const ::std::os::raw::c_char, [INFO] [stderr] 3004 | | grp: *const ::std::os::raw::c_char, [INFO] [stderr] 3005 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `RawMessageHeader` [INFO] [stderr] --> src/netlink/mod.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | pub type RawMessageHeader = sys::nlmsghdr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MessageType` [INFO] [stderr] --> src/netlink/mod.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | pub struct MessageType(::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `from_c_int` [INFO] [stderr] --> src/netlink/mod.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | pub unsafe fn from_c_int(message_type: ::std::os::raw::c_int) -> MessageType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_c_int` [INFO] [stderr] --> src/netlink/mod.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn to_c_int(&self) -> c_int { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `with_size` [INFO] [stderr] --> src/netlink/mod.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn with_size(size: usize) -> Self { Self::try_with_size(size).unwrap() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `with_type` [INFO] [stderr] --> src/netlink/mod.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn with_type(message_type: MessageType, flags: c_int) -> Self { Self::try_with_type(message_type, flags).unwrap()} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `try_with_size` [INFO] [stderr] --> src/netlink/mod.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn try_with_size(size: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `try_with_type` [INFO] [stderr] --> src/netlink/mod.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn try_with_type(message_type: MessageType, flags: c_int) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_default_size` [INFO] [stderr] --> src/netlink/mod.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn set_default_size(size : usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `put_u32` [INFO] [stderr] --> src/netlink/mod.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn put_u32(&mut self, attribute_id : i32, value : u32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_VERSION` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:78 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TS_COMM_LEN` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:118 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_GENL_NAME` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:153 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_GENL_VERSION` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:231 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_UNSPEC` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15596 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_GET` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15649 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_NEW` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15699 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_UNSPEC` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15832 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_TGID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15937 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_STATS` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15989 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_AGGR_TGID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16098 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_NULL` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16155 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_UNSPEC` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16291 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_PID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16349 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_TGID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16404 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_REGISTER_CPUMASK` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16460 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16528 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_read_ptr` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | pub _IO_read_ptr: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_read_ptr` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_read_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub _IO_read_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_read_end` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_read_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | pub _IO_read_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_read_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_write_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | pub _IO_write_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_write_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_write_ptr` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | pub _IO_write_ptr: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_write_ptr` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_write_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | pub _IO_write_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_write_end` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_buf_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | pub _IO_buf_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_buf_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_buf_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | pub _IO_buf_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_io_buf_end` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_save_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | pub _IO_save_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_save_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_backup_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | pub _IO_backup_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_backup_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_save_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | pub _IO_save_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_save_end` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_UNUSED` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1023:11 [INFO] [stderr] | [INFO] [stderr] 1023 | pub const nl_mmap_status_NL_MMAP_STATUS_UNUSED: nl_mmap_status = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_UNUSED` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_upper_case_globals)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_RESERVED` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1024:11 [INFO] [stderr] | [INFO] [stderr] 1024 | pub const nl_mmap_status_NL_MMAP_STATUS_RESERVED: nl_mmap_status = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_RESERVED` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_VALID` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1025:11 [INFO] [stderr] | [INFO] [stderr] 1025 | pub const nl_mmap_status_NL_MMAP_STATUS_VALID: nl_mmap_status = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_VALID` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_COPY` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1026:11 [INFO] [stderr] | [INFO] [stderr] 1026 | pub const nl_mmap_status_NL_MMAP_STATUS_COPY: nl_mmap_status = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_COPY` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_SKIP` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1027:11 [INFO] [stderr] | [INFO] [stderr] 1027 | pub const nl_mmap_status_NL_MMAP_STATUS_SKIP: nl_mmap_status = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_SKIP` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type_NL_DUMP_LINE` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1128:11 [INFO] [stderr] | [INFO] [stderr] 1128 | pub const nl_dump_type_NL_DUMP_LINE: nl_dump_type = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_LINE` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type_NL_DUMP_DETAILS` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1130:11 [INFO] [stderr] | [INFO] [stderr] 1130 | pub const nl_dump_type_NL_DUMP_DETAILS: nl_dump_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_DETAILS` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type_NL_DUMP_STATS` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1132:11 [INFO] [stderr] | [INFO] [stderr] 1132 | pub const nl_dump_type_NL_DUMP_STATS: nl_dump_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_STATS` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type___NL_DUMP_MAX` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1133:11 [INFO] [stderr] | [INFO] [stderr] 1133 | pub const nl_dump_type___NL_DUMP_MAX: nl_dump_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_MAX` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_action_NL_OK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1368:11 [INFO] [stderr] | [INFO] [stderr] 1368 | pub const nl_cb_action_NL_OK: nl_cb_action = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_ACTION_NL_OK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_action_NL_SKIP` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1370:11 [INFO] [stderr] | [INFO] [stderr] 1370 | pub const nl_cb_action_NL_SKIP: nl_cb_action = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_ACTION_NL_SKIP` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_action_NL_STOP` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1372:11 [INFO] [stderr] | [INFO] [stderr] 1372 | pub const nl_cb_action_NL_STOP: nl_cb_action = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_ACTION_NL_STOP` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_DEFAULT` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1377:11 [INFO] [stderr] | [INFO] [stderr] 1377 | pub const nl_cb_kind_NL_CB_DEFAULT: nl_cb_kind = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_DEFAULT` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_VERBOSE` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1379:11 [INFO] [stderr] | [INFO] [stderr] 1379 | pub const nl_cb_kind_NL_CB_VERBOSE: nl_cb_kind = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_VERBOSE` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_DEBUG` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1381:11 [INFO] [stderr] | [INFO] [stderr] 1381 | pub const nl_cb_kind_NL_CB_DEBUG: nl_cb_kind = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_DEBUG` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_CUSTOM` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1383:11 [INFO] [stderr] | [INFO] [stderr] 1383 | pub const nl_cb_kind_NL_CB_CUSTOM: nl_cb_kind = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_CUSTOM` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind___NL_CB_KIND_MAX` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1385:11 [INFO] [stderr] | [INFO] [stderr] 1385 | pub const nl_cb_kind___NL_CB_KIND_MAX: nl_cb_kind = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_KIND_MAX` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_VALID` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1390:11 [INFO] [stderr] | [INFO] [stderr] 1390 | pub const nl_cb_type_NL_CB_VALID: nl_cb_type = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_VALID` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_FINISH` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1392:11 [INFO] [stderr] | [INFO] [stderr] 1392 | pub const nl_cb_type_NL_CB_FINISH: nl_cb_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_FINISH` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_OVERRUN` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1394:11 [INFO] [stderr] | [INFO] [stderr] 1394 | pub const nl_cb_type_NL_CB_OVERRUN: nl_cb_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_OVERRUN` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_SKIPPED` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1396:11 [INFO] [stderr] | [INFO] [stderr] 1396 | pub const nl_cb_type_NL_CB_SKIPPED: nl_cb_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_SKIPPED` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_ACK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1398:11 [INFO] [stderr] | [INFO] [stderr] 1398 | pub const nl_cb_type_NL_CB_ACK: nl_cb_type = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_ACK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_MSG_IN` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1400:11 [INFO] [stderr] | [INFO] [stderr] 1400 | pub const nl_cb_type_NL_CB_MSG_IN: nl_cb_type = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_MSG_IN` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_MSG_OUT` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1402:11 [INFO] [stderr] | [INFO] [stderr] 1402 | pub const nl_cb_type_NL_CB_MSG_OUT: nl_cb_type = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_MSG_OUT` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_INVALID` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1404:11 [INFO] [stderr] | [INFO] [stderr] 1404 | pub const nl_cb_type_NL_CB_INVALID: nl_cb_type = 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_INVALID` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_SEQ_CHECK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1406:11 [INFO] [stderr] | [INFO] [stderr] 1406 | pub const nl_cb_type_NL_CB_SEQ_CHECK: nl_cb_type = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_SEQ_CHECK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_SEND_ACK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1408:11 [INFO] [stderr] | [INFO] [stderr] 1408 | pub const nl_cb_type_NL_CB_SEND_ACK: nl_cb_type = 9; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_SEND_ACK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_DUMP_INTR` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1410:11 [INFO] [stderr] | [INFO] [stderr] 1410 | pub const nl_cb_type_NL_CB_DUMP_INTR: nl_cb_type = 10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_DUMP_INTR` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type___NL_CB_TYPE_MAX` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1412:11 [INFO] [stderr] | [INFO] [stderr] 1412 | pub const nl_cb_type___NL_CB_TYPE_MAX: nl_cb_type = 11; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_TYPE_MAX` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `attr` is never read [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let mut attr: *const nlattr = std::ptr::null(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_assignments)] on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `answer` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let answer = genlmsg_parse(hdr, 0, ptr, 7, [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_answer` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg` [INFO] [stderr] --> src/main.rs:13:63 [INFO] [stderr] | [INFO] [stderr] 13 | extern "C" fn message_handler(msg: *mut netlink::sys::nl_msg, arg: *mut std::os::raw::c_void) -> std::os::raw::c_int [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_arg` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/main.rs:49:16 [INFO] [stderr] | [INFO] [stderr] 49 | let name = unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_unsafe)] on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nlink_t` [INFO] [stderr] --> src/netlink/sys.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | pub type nlink_t = __nlink_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_UNUSED` [INFO] [stderr] --> src/netlink/sys.rs:1023:1 [INFO] [stderr] | [INFO] [stderr] 1023 | pub const nl_mmap_status_NL_MMAP_STATUS_UNUSED: nl_mmap_status = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_RESERVED` [INFO] [stderr] --> src/netlink/sys.rs:1024:1 [INFO] [stderr] | [INFO] [stderr] 1024 | pub const nl_mmap_status_NL_MMAP_STATUS_RESERVED: nl_mmap_status = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_VALID` [INFO] [stderr] --> src/netlink/sys.rs:1025:1 [INFO] [stderr] | [INFO] [stderr] 1025 | pub const nl_mmap_status_NL_MMAP_STATUS_VALID: nl_mmap_status = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_COPY` [INFO] [stderr] --> src/netlink/sys.rs:1026:1 [INFO] [stderr] | [INFO] [stderr] 1026 | pub const nl_mmap_status_NL_MMAP_STATUS_COPY: nl_mmap_status = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_mmap_status_NL_MMAP_STATUS_SKIP` [INFO] [stderr] --> src/netlink/sys.rs:1027:1 [INFO] [stderr] | [INFO] [stderr] 1027 | pub const nl_mmap_status_NL_MMAP_STATUS_SKIP: nl_mmap_status = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nl_mmap_status` [INFO] [stderr] --> src/netlink/sys.rs:1028:1 [INFO] [stderr] | [INFO] [stderr] 1028 | pub type nl_mmap_status = u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_geterror` [INFO] [stderr] --> src/netlink/sys.rs:1119:5 [INFO] [stderr] | [INFO] [stderr] 1119 | pub fn nl_geterror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_perror` [INFO] [stderr] --> src/netlink/sys.rs:1122:5 [INFO] [stderr] | [INFO] [stderr] 1122 | pub fn nl_perror(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_syserr2nlerr` [INFO] [stderr] --> src/netlink/sys.rs:1125:5 [INFO] [stderr] | [INFO] [stderr] 1125 | pub fn nl_syserr2nlerr(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type_NL_DUMP_LINE` [INFO] [stderr] --> src/netlink/sys.rs:1128:1 [INFO] [stderr] | [INFO] [stderr] 1128 | pub const nl_dump_type_NL_DUMP_LINE: nl_dump_type = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type_NL_DUMP_DETAILS` [INFO] [stderr] --> src/netlink/sys.rs:1130:1 [INFO] [stderr] | [INFO] [stderr] 1130 | pub const nl_dump_type_NL_DUMP_DETAILS: nl_dump_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type_NL_DUMP_STATS` [INFO] [stderr] --> src/netlink/sys.rs:1132:1 [INFO] [stderr] | [INFO] [stderr] 1132 | pub const nl_dump_type_NL_DUMP_STATS: nl_dump_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_dump_type___NL_DUMP_MAX` [INFO] [stderr] --> src/netlink/sys.rs:1133:1 [INFO] [stderr] | [INFO] [stderr] 1133 | pub const nl_dump_type___NL_DUMP_MAX: nl_dump_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nl_recvmsg_err_cb_t` [INFO] [stderr] --> src/netlink/sys.rs:1360:1 [INFO] [stderr] | [INFO] [stderr] 1360 | / pub type nl_recvmsg_err_cb_t = ::std::option::Option< [INFO] [stderr] 1361 | | unsafe extern "C" fn( [INFO] [stderr] 1362 | | nla: *mut sockaddr_nl, [INFO] [stderr] 1363 | | nlerr: *mut nlmsgerr, [INFO] [stderr] 1364 | | arg: *mut ::std::os::raw::c_void, [INFO] [stderr] 1365 | | ) -> ::std::os::raw::c_int, [INFO] [stderr] 1366 | | >; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_action_NL_OK` [INFO] [stderr] --> src/netlink/sys.rs:1368:1 [INFO] [stderr] | [INFO] [stderr] 1368 | pub const nl_cb_action_NL_OK: nl_cb_action = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_action_NL_SKIP` [INFO] [stderr] --> src/netlink/sys.rs:1370:1 [INFO] [stderr] | [INFO] [stderr] 1370 | pub const nl_cb_action_NL_SKIP: nl_cb_action = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_action_NL_STOP` [INFO] [stderr] --> src/netlink/sys.rs:1372:1 [INFO] [stderr] | [INFO] [stderr] 1372 | pub const nl_cb_action_NL_STOP: nl_cb_action = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `nl_cb_action` [INFO] [stderr] --> src/netlink/sys.rs:1375:1 [INFO] [stderr] | [INFO] [stderr] 1375 | pub type nl_cb_action = u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind_NL_CB_DEFAULT` [INFO] [stderr] --> src/netlink/sys.rs:1377:1 [INFO] [stderr] | [INFO] [stderr] 1377 | pub const nl_cb_kind_NL_CB_DEFAULT: nl_cb_kind = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind_NL_CB_VERBOSE` [INFO] [stderr] --> src/netlink/sys.rs:1379:1 [INFO] [stderr] | [INFO] [stderr] 1379 | pub const nl_cb_kind_NL_CB_VERBOSE: nl_cb_kind = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind_NL_CB_DEBUG` [INFO] [stderr] --> src/netlink/sys.rs:1381:1 [INFO] [stderr] | [INFO] [stderr] 1381 | pub const nl_cb_kind_NL_CB_DEBUG: nl_cb_kind = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_kind___NL_CB_KIND_MAX` [INFO] [stderr] --> src/netlink/sys.rs:1385:1 [INFO] [stderr] | [INFO] [stderr] 1385 | pub const nl_cb_kind___NL_CB_KIND_MAX: nl_cb_kind = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_FINISH` [INFO] [stderr] --> src/netlink/sys.rs:1392:1 [INFO] [stderr] | [INFO] [stderr] 1392 | pub const nl_cb_type_NL_CB_FINISH: nl_cb_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_OVERRUN` [INFO] [stderr] --> src/netlink/sys.rs:1394:1 [INFO] [stderr] | [INFO] [stderr] 1394 | pub const nl_cb_type_NL_CB_OVERRUN: nl_cb_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_SKIPPED` [INFO] [stderr] --> src/netlink/sys.rs:1396:1 [INFO] [stderr] | [INFO] [stderr] 1396 | pub const nl_cb_type_NL_CB_SKIPPED: nl_cb_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_ACK` [INFO] [stderr] --> src/netlink/sys.rs:1398:1 [INFO] [stderr] | [INFO] [stderr] 1398 | pub const nl_cb_type_NL_CB_ACK: nl_cb_type = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_MSG_IN` [INFO] [stderr] --> src/netlink/sys.rs:1400:1 [INFO] [stderr] | [INFO] [stderr] 1400 | pub const nl_cb_type_NL_CB_MSG_IN: nl_cb_type = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_MSG_OUT` [INFO] [stderr] --> src/netlink/sys.rs:1402:1 [INFO] [stderr] | [INFO] [stderr] 1402 | pub const nl_cb_type_NL_CB_MSG_OUT: nl_cb_type = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_INVALID` [INFO] [stderr] --> src/netlink/sys.rs:1404:1 [INFO] [stderr] | [INFO] [stderr] 1404 | pub const nl_cb_type_NL_CB_INVALID: nl_cb_type = 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_SEQ_CHECK` [INFO] [stderr] --> src/netlink/sys.rs:1406:1 [INFO] [stderr] | [INFO] [stderr] 1406 | pub const nl_cb_type_NL_CB_SEQ_CHECK: nl_cb_type = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_SEND_ACK` [INFO] [stderr] --> src/netlink/sys.rs:1408:1 [INFO] [stderr] | [INFO] [stderr] 1408 | pub const nl_cb_type_NL_CB_SEND_ACK: nl_cb_type = 9; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type_NL_CB_DUMP_INTR` [INFO] [stderr] --> src/netlink/sys.rs:1410:1 [INFO] [stderr] | [INFO] [stderr] 1410 | pub const nl_cb_type_NL_CB_DUMP_INTR: nl_cb_type = 10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `nl_cb_type___NL_CB_TYPE_MAX` [INFO] [stderr] --> src/netlink/sys.rs:1412:1 [INFO] [stderr] | [INFO] [stderr] 1412 | pub const nl_cb_type___NL_CB_TYPE_MAX: nl_cb_type = 11; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_alloc` [INFO] [stderr] --> src/netlink/sys.rs:1417:5 [INFO] [stderr] | [INFO] [stderr] 1417 | pub fn nl_cb_alloc(arg1: nl_cb_kind) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_clone` [INFO] [stderr] --> src/netlink/sys.rs:1420:5 [INFO] [stderr] | [INFO] [stderr] 1420 | pub fn nl_cb_clone(arg1: *mut nl_cb) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_get` [INFO] [stderr] --> src/netlink/sys.rs:1423:5 [INFO] [stderr] | [INFO] [stderr] 1423 | pub fn nl_cb_get(arg1: *mut nl_cb) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_put` [INFO] [stderr] --> src/netlink/sys.rs:1426:5 [INFO] [stderr] | [INFO] [stderr] 1426 | pub fn nl_cb_put(arg1: *mut nl_cb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_set` [INFO] [stderr] --> src/netlink/sys.rs:1429:5 [INFO] [stderr] | [INFO] [stderr] 1429 | / pub fn nl_cb_set( [INFO] [stderr] 1430 | | arg1: *mut nl_cb, [INFO] [stderr] 1431 | | arg2: nl_cb_type, [INFO] [stderr] 1432 | | arg3: nl_cb_kind, [INFO] [stderr] 1433 | | arg4: nl_recvmsg_msg_cb_t, [INFO] [stderr] 1434 | | arg5: *mut ::std::os::raw::c_void, [INFO] [stderr] 1435 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_set_all` [INFO] [stderr] --> src/netlink/sys.rs:1438:5 [INFO] [stderr] | [INFO] [stderr] 1438 | / pub fn nl_cb_set_all( [INFO] [stderr] 1439 | | arg1: *mut nl_cb, [INFO] [stderr] 1440 | | arg2: nl_cb_kind, [INFO] [stderr] 1441 | | arg3: nl_recvmsg_msg_cb_t, [INFO] [stderr] 1442 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1443 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_err` [INFO] [stderr] --> src/netlink/sys.rs:1446:5 [INFO] [stderr] | [INFO] [stderr] 1446 | / pub fn nl_cb_err( [INFO] [stderr] 1447 | | arg1: *mut nl_cb, [INFO] [stderr] 1448 | | arg2: nl_cb_kind, [INFO] [stderr] 1449 | | arg3: nl_recvmsg_err_cb_t, [INFO] [stderr] 1450 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1451 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_overwrite_recvmsgs` [INFO] [stderr] --> src/netlink/sys.rs:1454:5 [INFO] [stderr] | [INFO] [stderr] 1454 | / pub fn nl_cb_overwrite_recvmsgs( [INFO] [stderr] 1455 | | arg1: *mut nl_cb, [INFO] [stderr] 1456 | | func: ::std::option::Option< [INFO] [stderr] 1457 | | unsafe extern "C" fn(arg1: *mut nl_sock, arg2: *mut nl_cb) -> ::std::os::raw::c_int, [INFO] [stderr] 1458 | | >, [INFO] [stderr] 1459 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_overwrite_recv` [INFO] [stderr] --> src/netlink/sys.rs:1462:5 [INFO] [stderr] | [INFO] [stderr] 1462 | / pub fn nl_cb_overwrite_recv( [INFO] [stderr] 1463 | | arg1: *mut nl_cb, [INFO] [stderr] 1464 | | func: ::std::option::Option< [INFO] [stderr] 1465 | | unsafe extern "C" fn( [INFO] [stderr] ... | [INFO] [stderr] 1471 | | >, [INFO] [stderr] 1472 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_overwrite_send` [INFO] [stderr] --> src/netlink/sys.rs:1475:5 [INFO] [stderr] | [INFO] [stderr] 1475 | / pub fn nl_cb_overwrite_send( [INFO] [stderr] 1476 | | arg1: *mut nl_cb, [INFO] [stderr] 1477 | | func: ::std::option::Option< [INFO] [stderr] 1478 | | unsafe extern "C" fn(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int, [INFO] [stderr] 1479 | | >, [INFO] [stderr] 1480 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cb_active_type` [INFO] [stderr] --> src/netlink/sys.rs:1483:5 [INFO] [stderr] | [INFO] [stderr] 1483 | pub fn nl_cb_active_type(cb: *mut nl_cb) -> nl_cb_type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_alloc_cb` [INFO] [stderr] --> src/netlink/sys.rs:1489:5 [INFO] [stderr] | [INFO] [stderr] 1489 | pub fn nl_socket_alloc_cb(arg1: *mut nl_cb) -> *mut nl_sock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_free` [INFO] [stderr] --> src/netlink/sys.rs:1492:5 [INFO] [stderr] | [INFO] [stderr] 1492 | pub fn nl_socket_free(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_local_port` [INFO] [stderr] --> src/netlink/sys.rs:1495:5 [INFO] [stderr] | [INFO] [stderr] 1495 | pub fn nl_socket_get_local_port(arg1: *const nl_sock) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_local_port` [INFO] [stderr] --> src/netlink/sys.rs:1498:5 [INFO] [stderr] | [INFO] [stderr] 1498 | pub fn nl_socket_set_local_port(arg1: *mut nl_sock, arg2: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_add_memberships` [INFO] [stderr] --> src/netlink/sys.rs:1501:5 [INFO] [stderr] | [INFO] [stderr] 1501 | / pub fn nl_socket_add_memberships( [INFO] [stderr] 1502 | | arg1: *mut nl_sock, [INFO] [stderr] 1503 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1504 | | ... [INFO] [stderr] 1505 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_add_membership` [INFO] [stderr] --> src/netlink/sys.rs:1508:5 [INFO] [stderr] | [INFO] [stderr] 1508 | / pub fn nl_socket_add_membership( [INFO] [stderr] 1509 | | arg1: *mut nl_sock, [INFO] [stderr] 1510 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1511 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_drop_memberships` [INFO] [stderr] --> src/netlink/sys.rs:1514:5 [INFO] [stderr] | [INFO] [stderr] 1514 | / pub fn nl_socket_drop_memberships( [INFO] [stderr] 1515 | | arg1: *mut nl_sock, [INFO] [stderr] 1516 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1517 | | ... [INFO] [stderr] 1518 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_drop_membership` [INFO] [stderr] --> src/netlink/sys.rs:1521:5 [INFO] [stderr] | [INFO] [stderr] 1521 | / pub fn nl_socket_drop_membership( [INFO] [stderr] 1522 | | arg1: *mut nl_sock, [INFO] [stderr] 1523 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1524 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_join_groups` [INFO] [stderr] --> src/netlink/sys.rs:1527:5 [INFO] [stderr] | [INFO] [stderr] 1527 | pub fn nl_join_groups(arg1: *mut nl_sock, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_peer_port` [INFO] [stderr] --> src/netlink/sys.rs:1530:5 [INFO] [stderr] | [INFO] [stderr] 1530 | pub fn nl_socket_get_peer_port(arg1: *const nl_sock) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_peer_port` [INFO] [stderr] --> src/netlink/sys.rs:1533:5 [INFO] [stderr] | [INFO] [stderr] 1533 | pub fn nl_socket_set_peer_port(arg1: *mut nl_sock, arg2: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_peer_groups` [INFO] [stderr] --> src/netlink/sys.rs:1536:5 [INFO] [stderr] | [INFO] [stderr] 1536 | pub fn nl_socket_get_peer_groups(sk: *const nl_sock) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_peer_groups` [INFO] [stderr] --> src/netlink/sys.rs:1539:5 [INFO] [stderr] | [INFO] [stderr] 1539 | pub fn nl_socket_set_peer_groups(sk: *mut nl_sock, groups: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_cb` [INFO] [stderr] --> src/netlink/sys.rs:1542:5 [INFO] [stderr] | [INFO] [stderr] 1542 | pub fn nl_socket_get_cb(arg1: *const nl_sock) -> *mut nl_cb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_cb` [INFO] [stderr] --> src/netlink/sys.rs:1545:5 [INFO] [stderr] | [INFO] [stderr] 1545 | pub fn nl_socket_set_cb(arg1: *mut nl_sock, arg2: *mut nl_cb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_modify_err_cb` [INFO] [stderr] --> src/netlink/sys.rs:1557:5 [INFO] [stderr] | [INFO] [stderr] 1557 | / pub fn nl_socket_modify_err_cb( [INFO] [stderr] 1558 | | arg1: *mut nl_sock, [INFO] [stderr] 1559 | | arg2: nl_cb_kind, [INFO] [stderr] 1560 | | arg3: nl_recvmsg_err_cb_t, [INFO] [stderr] 1561 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1562 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_buffer_size` [INFO] [stderr] --> src/netlink/sys.rs:1565:5 [INFO] [stderr] | [INFO] [stderr] 1565 | / pub fn nl_socket_set_buffer_size( [INFO] [stderr] 1566 | | arg1: *mut nl_sock, [INFO] [stderr] 1567 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1568 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 1569 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_msg_buf_size` [INFO] [stderr] --> src/netlink/sys.rs:1572:5 [INFO] [stderr] | [INFO] [stderr] 1572 | pub fn nl_socket_set_msg_buf_size(arg1: *mut nl_sock, arg2: usize) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_get_msg_buf_size` [INFO] [stderr] --> src/netlink/sys.rs:1575:5 [INFO] [stderr] | [INFO] [stderr] 1575 | pub fn nl_socket_get_msg_buf_size(arg1: *mut nl_sock) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_passcred` [INFO] [stderr] --> src/netlink/sys.rs:1578:5 [INFO] [stderr] | [INFO] [stderr] 1578 | / pub fn nl_socket_set_passcred( [INFO] [stderr] 1579 | | arg1: *mut nl_sock, [INFO] [stderr] 1580 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1581 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_recv_pktinfo` [INFO] [stderr] --> src/netlink/sys.rs:1584:5 [INFO] [stderr] | [INFO] [stderr] 1584 | / pub fn nl_socket_recv_pktinfo( [INFO] [stderr] 1585 | | arg1: *mut nl_sock, [INFO] [stderr] 1586 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1587 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_disable_seq_check` [INFO] [stderr] --> src/netlink/sys.rs:1590:5 [INFO] [stderr] | [INFO] [stderr] 1590 | pub fn nl_socket_disable_seq_check(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_use_seq` [INFO] [stderr] --> src/netlink/sys.rs:1593:5 [INFO] [stderr] | [INFO] [stderr] 1593 | pub fn nl_socket_use_seq(arg1: *mut nl_sock) -> ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_disable_auto_ack` [INFO] [stderr] --> src/netlink/sys.rs:1596:5 [INFO] [stderr] | [INFO] [stderr] 1596 | pub fn nl_socket_disable_auto_ack(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_enable_auto_ack` [INFO] [stderr] --> src/netlink/sys.rs:1599:5 [INFO] [stderr] | [INFO] [stderr] 1599 | pub fn nl_socket_enable_auto_ack(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_fd` [INFO] [stderr] --> src/netlink/sys.rs:1605:5 [INFO] [stderr] | [INFO] [stderr] 1605 | / pub fn nl_socket_set_fd( [INFO] [stderr] 1606 | | sk: *mut nl_sock, [INFO] [stderr] 1607 | | protocol: ::std::os::raw::c_int, [INFO] [stderr] 1608 | | fd: ::std::os::raw::c_int, [INFO] [stderr] 1609 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_set_nonblocking` [INFO] [stderr] --> src/netlink/sys.rs:1612:5 [INFO] [stderr] | [INFO] [stderr] 1612 | pub fn nl_socket_set_nonblocking(arg1: *const nl_sock) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_enable_msg_peek` [INFO] [stderr] --> src/netlink/sys.rs:1615:5 [INFO] [stderr] | [INFO] [stderr] 1615 | pub fn nl_socket_enable_msg_peek(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_socket_disable_msg_peek` [INFO] [stderr] --> src/netlink/sys.rs:1618:5 [INFO] [stderr] | [INFO] [stderr] 1618 | pub fn nl_socket_disable_msg_peek(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cancel_down_bytes` [INFO] [stderr] --> src/netlink/sys.rs:1660:5 [INFO] [stderr] | [INFO] [stderr] 1660 | / pub fn nl_cancel_down_bytes( [INFO] [stderr] 1661 | | arg1: ::std::os::raw::c_ulonglong, [INFO] [stderr] 1662 | | arg2: *mut *mut ::std::os::raw::c_char, [INFO] [stderr] 1663 | | ) -> f64; [INFO] [stderr] | |_____________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cancel_down_bits` [INFO] [stderr] --> src/netlink/sys.rs:1666:5 [INFO] [stderr] | [INFO] [stderr] 1666 | / pub fn nl_cancel_down_bits( [INFO] [stderr] 1667 | | arg1: ::std::os::raw::c_ulonglong, [INFO] [stderr] 1668 | | arg2: *mut *mut ::std::os::raw::c_char, [INFO] [stderr] 1669 | | ) -> f64; [INFO] [stderr] | |_____________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_rate2str` [INFO] [stderr] --> src/netlink/sys.rs:1672:5 [INFO] [stderr] | [INFO] [stderr] 1672 | / pub fn nl_rate2str( [INFO] [stderr] 1673 | | arg1: ::std::os::raw::c_ulonglong, [INFO] [stderr] 1674 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1675 | | arg3: *mut ::std::os::raw::c_char, [INFO] [stderr] 1676 | | arg4: usize, [INFO] [stderr] 1677 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cancel_down_us` [INFO] [stderr] --> src/netlink/sys.rs:1680:5 [INFO] [stderr] | [INFO] [stderr] 1680 | pub fn nl_cancel_down_us(arg1: u32, arg2: *mut *mut ::std::os::raw::c_char) -> f64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_size2int` [INFO] [stderr] --> src/netlink/sys.rs:1683:5 [INFO] [stderr] | [INFO] [stderr] 1683 | pub fn nl_size2int(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_size2str` [INFO] [stderr] --> src/netlink/sys.rs:1686:5 [INFO] [stderr] | [INFO] [stderr] 1686 | / pub fn nl_size2str( [INFO] [stderr] 1687 | | arg1: usize, [INFO] [stderr] 1688 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1689 | | arg3: usize, [INFO] [stderr] 1690 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_prob2int` [INFO] [stderr] --> src/netlink/sys.rs:1693:5 [INFO] [stderr] | [INFO] [stderr] 1693 | pub fn nl_prob2int(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_get_user_hz` [INFO] [stderr] --> src/netlink/sys.rs:1696:5 [INFO] [stderr] | [INFO] [stderr] 1696 | pub fn nl_get_user_hz() -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_get_psched_hz` [INFO] [stderr] --> src/netlink/sys.rs:1699:5 [INFO] [stderr] | [INFO] [stderr] 1699 | pub fn nl_get_psched_hz() -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_us2ticks` [INFO] [stderr] --> src/netlink/sys.rs:1702:5 [INFO] [stderr] | [INFO] [stderr] 1702 | pub fn nl_us2ticks(arg1: u32) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_ticks2us` [INFO] [stderr] --> src/netlink/sys.rs:1705:5 [INFO] [stderr] | [INFO] [stderr] 1705 | pub fn nl_ticks2us(arg1: u32) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2msec` [INFO] [stderr] --> src/netlink/sys.rs:1708:5 [INFO] [stderr] | [INFO] [stderr] 1708 | / pub fn nl_str2msec( [INFO] [stderr] 1709 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 1710 | | arg2: *mut u64, [INFO] [stderr] 1711 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msec2str` [INFO] [stderr] --> src/netlink/sys.rs:1714:5 [INFO] [stderr] | [INFO] [stderr] 1714 | / pub fn nl_msec2str( [INFO] [stderr] 1715 | | arg1: u64, [INFO] [stderr] 1716 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1717 | | arg3: usize, [INFO] [stderr] 1718 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_llproto2str` [INFO] [stderr] --> src/netlink/sys.rs:1721:5 [INFO] [stderr] | [INFO] [stderr] 1721 | / pub fn nl_llproto2str( [INFO] [stderr] 1722 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1723 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1724 | | arg3: usize, [INFO] [stderr] 1725 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2llproto` [INFO] [stderr] --> src/netlink/sys.rs:1728:5 [INFO] [stderr] | [INFO] [stderr] 1728 | pub fn nl_str2llproto(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_ether_proto2str` [INFO] [stderr] --> src/netlink/sys.rs:1731:5 [INFO] [stderr] | [INFO] [stderr] 1731 | / pub fn nl_ether_proto2str( [INFO] [stderr] 1732 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1733 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1734 | | arg3: usize, [INFO] [stderr] 1735 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2ether_proto` [INFO] [stderr] --> src/netlink/sys.rs:1738:5 [INFO] [stderr] | [INFO] [stderr] 1738 | pub fn nl_str2ether_proto(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_ip_proto2str` [INFO] [stderr] --> src/netlink/sys.rs:1741:5 [INFO] [stderr] | [INFO] [stderr] 1741 | / pub fn nl_ip_proto2str( [INFO] [stderr] 1742 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1743 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1744 | | arg3: usize, [INFO] [stderr] 1745 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2ip_proto` [INFO] [stderr] --> src/netlink/sys.rs:1748:5 [INFO] [stderr] | [INFO] [stderr] 1748 | pub fn nl_str2ip_proto(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_new_line` [INFO] [stderr] --> src/netlink/sys.rs:1751:5 [INFO] [stderr] | [INFO] [stderr] 1751 | pub fn nl_new_line(arg1: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_dump` [INFO] [stderr] --> src/netlink/sys.rs:1754:5 [INFO] [stderr] | [INFO] [stderr] 1754 | pub fn nl_dump(arg1: *mut nl_dump_params, arg2: *const ::std::os::raw::c_char, ...); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_dump_line` [INFO] [stderr] --> src/netlink/sys.rs:1757:5 [INFO] [stderr] | [INFO] [stderr] 1757 | pub fn nl_dump_line(arg1: *mut nl_dump_params, arg2: *const ::std::os::raw::c_char, ...); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_has_capability` [INFO] [stderr] --> src/netlink/sys.rs:1760:5 [INFO] [stderr] | [INFO] [stderr] 1760 | pub fn nl_has_capability(capability: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_alloc` [INFO] [stderr] --> src/netlink/sys.rs:1778:5 [INFO] [stderr] | [INFO] [stderr] 1778 | pub fn nl_object_alloc(arg1: *mut nl_object_ops) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_alloc_name` [INFO] [stderr] --> src/netlink/sys.rs:1781:5 [INFO] [stderr] | [INFO] [stderr] 1781 | / pub fn nl_object_alloc_name( [INFO] [stderr] 1782 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 1783 | | arg2: *mut *mut nl_object, [INFO] [stderr] 1784 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_free` [INFO] [stderr] --> src/netlink/sys.rs:1787:5 [INFO] [stderr] | [INFO] [stderr] 1787 | pub fn nl_object_free(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_clone` [INFO] [stderr] --> src/netlink/sys.rs:1790:5 [INFO] [stderr] | [INFO] [stderr] 1790 | pub fn nl_object_clone(obj: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_update` [INFO] [stderr] --> src/netlink/sys.rs:1793:5 [INFO] [stderr] | [INFO] [stderr] 1793 | pub fn nl_object_update(dst: *mut nl_object, src: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get` [INFO] [stderr] --> src/netlink/sys.rs:1796:5 [INFO] [stderr] | [INFO] [stderr] 1796 | pub fn nl_object_get(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_put` [INFO] [stderr] --> src/netlink/sys.rs:1799:5 [INFO] [stderr] | [INFO] [stderr] 1799 | pub fn nl_object_put(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_shared` [INFO] [stderr] --> src/netlink/sys.rs:1802:5 [INFO] [stderr] | [INFO] [stderr] 1802 | pub fn nl_object_shared(arg1: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_dump` [INFO] [stderr] --> src/netlink/sys.rs:1805:5 [INFO] [stderr] | [INFO] [stderr] 1805 | pub fn nl_object_dump(arg1: *mut nl_object, arg2: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_dump_buf` [INFO] [stderr] --> src/netlink/sys.rs:1808:5 [INFO] [stderr] | [INFO] [stderr] 1808 | pub fn nl_object_dump_buf(arg1: *mut nl_object, arg2: *mut ::std::os::raw::c_char, arg3: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_identical` [INFO] [stderr] --> src/netlink/sys.rs:1811:5 [INFO] [stderr] | [INFO] [stderr] 1811 | / pub fn nl_object_identical(arg1: *mut nl_object, arg2: *mut nl_object) [INFO] [stderr] 1812 | | -> ::std::os::raw::c_int; [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_diff` [INFO] [stderr] --> src/netlink/sys.rs:1815:5 [INFO] [stderr] | [INFO] [stderr] 1815 | pub fn nl_object_diff(arg1: *mut nl_object, arg2: *mut nl_object) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_match_filter` [INFO] [stderr] --> src/netlink/sys.rs:1818:5 [INFO] [stderr] | [INFO] [stderr] 1818 | / pub fn nl_object_match_filter( [INFO] [stderr] 1819 | | arg1: *mut nl_object, [INFO] [stderr] 1820 | | arg2: *mut nl_object, [INFO] [stderr] 1821 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_attrs2str` [INFO] [stderr] --> src/netlink/sys.rs:1824:5 [INFO] [stderr] | [INFO] [stderr] 1824 | / pub fn nl_object_attrs2str( [INFO] [stderr] 1825 | | arg1: *mut nl_object, [INFO] [stderr] 1826 | | attrs: u32, [INFO] [stderr] 1827 | | buf: *mut ::std::os::raw::c_char, [INFO] [stderr] 1828 | | arg2: usize, [INFO] [stderr] 1829 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_attr_list` [INFO] [stderr] --> src/netlink/sys.rs:1832:5 [INFO] [stderr] | [INFO] [stderr] 1832 | / pub fn nl_object_attr_list( [INFO] [stderr] 1833 | | arg1: *mut nl_object, [INFO] [stderr] 1834 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1835 | | arg3: usize, [INFO] [stderr] 1836 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_keygen` [INFO] [stderr] --> src/netlink/sys.rs:1839:5 [INFO] [stderr] | [INFO] [stderr] 1839 | pub fn nl_object_keygen(arg1: *mut nl_object, arg2: *mut u32, arg3: u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_mark` [INFO] [stderr] --> src/netlink/sys.rs:1842:5 [INFO] [stderr] | [INFO] [stderr] 1842 | pub fn nl_object_mark(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_unmark` [INFO] [stderr] --> src/netlink/sys.rs:1845:5 [INFO] [stderr] | [INFO] [stderr] 1845 | pub fn nl_object_unmark(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_is_marked` [INFO] [stderr] --> src/netlink/sys.rs:1848:5 [INFO] [stderr] | [INFO] [stderr] 1848 | pub fn nl_object_is_marked(arg1: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_refcnt` [INFO] [stderr] --> src/netlink/sys.rs:1851:5 [INFO] [stderr] | [INFO] [stderr] 1851 | pub fn nl_object_get_refcnt(arg1: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_cache` [INFO] [stderr] --> src/netlink/sys.rs:1854:5 [INFO] [stderr] | [INFO] [stderr] 1854 | pub fn nl_object_get_cache(arg1: *mut nl_object) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_type` [INFO] [stderr] --> src/netlink/sys.rs:1857:5 [INFO] [stderr] | [INFO] [stderr] 1857 | pub fn nl_object_get_type(arg1: *const nl_object) -> *const ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_msgtype` [INFO] [stderr] --> src/netlink/sys.rs:1860:5 [INFO] [stderr] | [INFO] [stderr] 1860 | pub fn nl_object_get_msgtype(arg1: *const nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_ops` [INFO] [stderr] --> src/netlink/sys.rs:1863:5 [INFO] [stderr] | [INFO] [stderr] 1863 | pub fn nl_object_get_ops(arg1: *const nl_object) -> *mut nl_object_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_object_get_id_attrs` [INFO] [stderr] --> src/netlink/sys.rs:1866:5 [INFO] [stderr] | [INFO] [stderr] 1866 | pub fn nl_object_get_id_attrs(obj: *mut nl_object) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_close` [INFO] [stderr] --> src/netlink/sys.rs:1882:5 [INFO] [stderr] | [INFO] [stderr] 1882 | pub fn nl_close(arg1: *mut nl_sock); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_sendto` [INFO] [stderr] --> src/netlink/sys.rs:1885:5 [INFO] [stderr] | [INFO] [stderr] 1885 | / pub fn nl_sendto( [INFO] [stderr] 1886 | | arg1: *mut nl_sock, [INFO] [stderr] 1887 | | arg2: *mut ::std::os::raw::c_void, [INFO] [stderr] 1888 | | arg3: usize, [INFO] [stderr] 1889 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_sendmsg` [INFO] [stderr] --> src/netlink/sys.rs:1892:5 [INFO] [stderr] | [INFO] [stderr] 1892 | / pub fn nl_sendmsg( [INFO] [stderr] 1893 | | arg1: *mut nl_sock, [INFO] [stderr] 1894 | | arg2: *mut nl_msg, [INFO] [stderr] 1895 | | arg3: *mut msghdr, [INFO] [stderr] 1896 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send` [INFO] [stderr] --> src/netlink/sys.rs:1899:5 [INFO] [stderr] | [INFO] [stderr] 1899 | pub fn nl_send(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_iovec` [INFO] [stderr] --> src/netlink/sys.rs:1902:5 [INFO] [stderr] | [INFO] [stderr] 1902 | / pub fn nl_send_iovec( [INFO] [stderr] 1903 | | arg1: *mut nl_sock, [INFO] [stderr] 1904 | | arg2: *mut nl_msg, [INFO] [stderr] 1905 | | arg3: *mut iovec, [INFO] [stderr] 1906 | | arg4: ::std::os::raw::c_uint, [INFO] [stderr] 1907 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_complete_msg` [INFO] [stderr] --> src/netlink/sys.rs:1910:5 [INFO] [stderr] | [INFO] [stderr] 1910 | pub fn nl_complete_msg(arg1: *mut nl_sock, arg2: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_auto_complete` [INFO] [stderr] --> src/netlink/sys.rs:1913:5 [INFO] [stderr] | [INFO] [stderr] 1913 | pub fn nl_auto_complete(arg1: *mut nl_sock, arg2: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_auto` [INFO] [stderr] --> src/netlink/sys.rs:1916:5 [INFO] [stderr] | [INFO] [stderr] 1916 | pub fn nl_send_auto(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_auto_complete` [INFO] [stderr] --> src/netlink/sys.rs:1919:5 [INFO] [stderr] | [INFO] [stderr] 1919 | pub fn nl_send_auto_complete(arg1: *mut nl_sock, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_send_simple` [INFO] [stderr] --> src/netlink/sys.rs:1925:5 [INFO] [stderr] | [INFO] [stderr] 1925 | / pub fn nl_send_simple( [INFO] [stderr] 1926 | | arg1: *mut nl_sock, [INFO] [stderr] 1927 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 1928 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 1929 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 1930 | | arg5: usize, [INFO] [stderr] 1931 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_recv` [INFO] [stderr] --> src/netlink/sys.rs:1934:5 [INFO] [stderr] | [INFO] [stderr] 1934 | / pub fn nl_recv( [INFO] [stderr] 1935 | | arg1: *mut nl_sock, [INFO] [stderr] 1936 | | arg2: *mut sockaddr_nl, [INFO] [stderr] 1937 | | arg3: *mut *mut ::std::os::raw::c_uchar, [INFO] [stderr] 1938 | | arg4: *mut *mut ucred, [INFO] [stderr] 1939 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_recvmsgs` [INFO] [stderr] --> src/netlink/sys.rs:1942:5 [INFO] [stderr] | [INFO] [stderr] 1942 | pub fn nl_recvmsgs(arg1: *mut nl_sock, arg2: *mut nl_cb) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_recvmsgs_report` [INFO] [stderr] --> src/netlink/sys.rs:1945:5 [INFO] [stderr] | [INFO] [stderr] 1945 | pub fn nl_recvmsgs_report(arg1: *mut nl_sock, arg2: *mut nl_cb) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_wait_for_ack` [INFO] [stderr] --> src/netlink/sys.rs:1951:5 [INFO] [stderr] | [INFO] [stderr] 1951 | pub fn nl_wait_for_ack(arg1: *mut nl_sock) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_pickup` [INFO] [stderr] --> src/netlink/sys.rs:1954:5 [INFO] [stderr] | [INFO] [stderr] 1954 | / pub fn nl_pickup( [INFO] [stderr] 1955 | | arg1: *mut nl_sock, [INFO] [stderr] 1956 | | parser: ::std::option::Option< [INFO] [stderr] 1957 | | unsafe extern "C" fn( [INFO] [stderr] ... | [INFO] [stderr] 1964 | | arg2: *mut *mut nl_object, [INFO] [stderr] 1965 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_pickup_keep_syserr` [INFO] [stderr] --> src/netlink/sys.rs:1968:5 [INFO] [stderr] | [INFO] [stderr] 1968 | / pub fn nl_pickup_keep_syserr( [INFO] [stderr] 1969 | | sk: *mut nl_sock, [INFO] [stderr] 1970 | | parser: ::std::option::Option< [INFO] [stderr] 1971 | | unsafe extern "C" fn( [INFO] [stderr] ... | [INFO] [stderr] 1979 | | syserror: *mut ::std::os::raw::c_int, [INFO] [stderr] 1980 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_nlfamily2str` [INFO] [stderr] --> src/netlink/sys.rs:1983:5 [INFO] [stderr] | [INFO] [stderr] 1983 | / pub fn nl_nlfamily2str( [INFO] [stderr] 1984 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 1985 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 1986 | | arg3: usize, [INFO] [stderr] 1987 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2nlfamily` [INFO] [stderr] --> src/netlink/sys.rs:1990:5 [INFO] [stderr] | [INFO] [stderr] 1990 | pub fn nl_str2nlfamily(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_alloc` [INFO] [stderr] --> src/netlink/sys.rs:1998:5 [INFO] [stderr] | [INFO] [stderr] 1998 | pub fn nl_addr_alloc(arg1: usize) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_alloc_attr` [INFO] [stderr] --> src/netlink/sys.rs:2001:5 [INFO] [stderr] | [INFO] [stderr] 2001 | pub fn nl_addr_alloc_attr(arg1: *const nlattr, arg2: ::std::os::raw::c_int) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_build` [INFO] [stderr] --> src/netlink/sys.rs:2004:5 [INFO] [stderr] | [INFO] [stderr] 2004 | / pub fn nl_addr_build( [INFO] [stderr] 2005 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2006 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2007 | | arg3: usize, [INFO] [stderr] 2008 | | ) -> *mut nl_addr; [INFO] [stderr] | |______________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_parse` [INFO] [stderr] --> src/netlink/sys.rs:2011:5 [INFO] [stderr] | [INFO] [stderr] 2011 | / pub fn nl_addr_parse( [INFO] [stderr] 2012 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 2013 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2014 | | arg3: *mut *mut nl_addr, [INFO] [stderr] 2015 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_clone` [INFO] [stderr] --> src/netlink/sys.rs:2018:5 [INFO] [stderr] | [INFO] [stderr] 2018 | pub fn nl_addr_clone(arg1: *const nl_addr) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get` [INFO] [stderr] --> src/netlink/sys.rs:2021:5 [INFO] [stderr] | [INFO] [stderr] 2021 | pub fn nl_addr_get(arg1: *mut nl_addr) -> *mut nl_addr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_put` [INFO] [stderr] --> src/netlink/sys.rs:2024:5 [INFO] [stderr] | [INFO] [stderr] 2024 | pub fn nl_addr_put(arg1: *mut nl_addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_shared` [INFO] [stderr] --> src/netlink/sys.rs:2027:5 [INFO] [stderr] | [INFO] [stderr] 2027 | pub fn nl_addr_shared(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_cmp` [INFO] [stderr] --> src/netlink/sys.rs:2030:5 [INFO] [stderr] | [INFO] [stderr] 2030 | pub fn nl_addr_cmp(arg1: *const nl_addr, arg2: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_cmp_prefix` [INFO] [stderr] --> src/netlink/sys.rs:2033:5 [INFO] [stderr] | [INFO] [stderr] 2033 | pub fn nl_addr_cmp_prefix(arg1: *const nl_addr, arg2: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_iszero` [INFO] [stderr] --> src/netlink/sys.rs:2036:5 [INFO] [stderr] | [INFO] [stderr] 2036 | pub fn nl_addr_iszero(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_valid` [INFO] [stderr] --> src/netlink/sys.rs:2039:5 [INFO] [stderr] | [INFO] [stderr] 2039 | / pub fn nl_addr_valid( [INFO] [stderr] 2040 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 2041 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2042 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_guess_family` [INFO] [stderr] --> src/netlink/sys.rs:2045:5 [INFO] [stderr] | [INFO] [stderr] 2045 | pub fn nl_addr_guess_family(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_fill_sockaddr` [INFO] [stderr] --> src/netlink/sys.rs:2048:5 [INFO] [stderr] | [INFO] [stderr] 2048 | / pub fn nl_addr_fill_sockaddr( [INFO] [stderr] 2049 | | arg1: *const nl_addr, [INFO] [stderr] 2050 | | arg2: *mut sockaddr, [INFO] [stderr] 2051 | | arg3: *mut socklen_t, [INFO] [stderr] 2052 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_info` [INFO] [stderr] --> src/netlink/sys.rs:2055:5 [INFO] [stderr] | [INFO] [stderr] 2055 | pub fn nl_addr_info(arg1: *const nl_addr, arg2: *mut *mut addrinfo) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_resolve` [INFO] [stderr] --> src/netlink/sys.rs:2058:5 [INFO] [stderr] | [INFO] [stderr] 2058 | / pub fn nl_addr_resolve( [INFO] [stderr] 2059 | | arg1: *const nl_addr, [INFO] [stderr] 2060 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2061 | | arg3: usize, [INFO] [stderr] 2062 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_set_family` [INFO] [stderr] --> src/netlink/sys.rs:2065:5 [INFO] [stderr] | [INFO] [stderr] 2065 | pub fn nl_addr_set_family(arg1: *mut nl_addr, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_family` [INFO] [stderr] --> src/netlink/sys.rs:2068:5 [INFO] [stderr] | [INFO] [stderr] 2068 | pub fn nl_addr_get_family(arg1: *const nl_addr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_set_binary_addr` [INFO] [stderr] --> src/netlink/sys.rs:2071:5 [INFO] [stderr] | [INFO] [stderr] 2071 | / pub fn nl_addr_set_binary_addr( [INFO] [stderr] 2072 | | arg1: *mut nl_addr, [INFO] [stderr] 2073 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2074 | | arg3: usize, [INFO] [stderr] 2075 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_binary_addr` [INFO] [stderr] --> src/netlink/sys.rs:2078:5 [INFO] [stderr] | [INFO] [stderr] 2078 | pub fn nl_addr_get_binary_addr(arg1: *const nl_addr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_len` [INFO] [stderr] --> src/netlink/sys.rs:2081:5 [INFO] [stderr] | [INFO] [stderr] 2081 | pub fn nl_addr_get_len(arg1: *const nl_addr) -> ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_set_prefixlen` [INFO] [stderr] --> src/netlink/sys.rs:2084:5 [INFO] [stderr] | [INFO] [stderr] 2084 | pub fn nl_addr_set_prefixlen(arg1: *mut nl_addr, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr_get_prefixlen` [INFO] [stderr] --> src/netlink/sys.rs:2087:5 [INFO] [stderr] | [INFO] [stderr] 2087 | pub fn nl_addr_get_prefixlen(arg1: *const nl_addr) -> ::std::os::raw::c_uint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_af2str` [INFO] [stderr] --> src/netlink/sys.rs:2090:5 [INFO] [stderr] | [INFO] [stderr] 2090 | / pub fn nl_af2str( [INFO] [stderr] 2091 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2092 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2093 | | arg3: usize, [INFO] [stderr] 2094 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2af` [INFO] [stderr] --> src/netlink/sys.rs:2097:5 [INFO] [stderr] | [INFO] [stderr] 2097 | pub fn nl_str2af(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_addr2str` [INFO] [stderr] --> src/netlink/sys.rs:2100:5 [INFO] [stderr] | [INFO] [stderr] 2100 | / pub fn nl_addr2str( [INFO] [stderr] 2101 | | arg1: *const nl_addr, [INFO] [stderr] 2102 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2103 | | arg3: usize, [INFO] [stderr] 2104 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_alloc` [INFO] [stderr] --> src/netlink/sys.rs:2112:5 [INFO] [stderr] | [INFO] [stderr] 2112 | pub fn nl_data_alloc(arg1: *const ::std::os::raw::c_void, arg2: usize) -> *mut nl_data; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_alloc_attr` [INFO] [stderr] --> src/netlink/sys.rs:2115:5 [INFO] [stderr] | [INFO] [stderr] 2115 | pub fn nl_data_alloc_attr(arg1: *const nlattr) -> *mut nl_data; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_clone` [INFO] [stderr] --> src/netlink/sys.rs:2118:5 [INFO] [stderr] | [INFO] [stderr] 2118 | pub fn nl_data_clone(arg1: *const nl_data) -> *mut nl_data; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_append` [INFO] [stderr] --> src/netlink/sys.rs:2121:5 [INFO] [stderr] | [INFO] [stderr] 2121 | / pub fn nl_data_append( [INFO] [stderr] 2122 | | arg1: *mut nl_data, [INFO] [stderr] 2123 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2124 | | arg3: usize, [INFO] [stderr] 2125 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_free` [INFO] [stderr] --> src/netlink/sys.rs:2128:5 [INFO] [stderr] | [INFO] [stderr] 2128 | pub fn nl_data_free(arg1: *mut nl_data); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_get` [INFO] [stderr] --> src/netlink/sys.rs:2131:5 [INFO] [stderr] | [INFO] [stderr] 2131 | pub fn nl_data_get(arg1: *const nl_data) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_get_size` [INFO] [stderr] --> src/netlink/sys.rs:2134:5 [INFO] [stderr] | [INFO] [stderr] 2134 | pub fn nl_data_get_size(arg1: *const nl_data) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_data_cmp` [INFO] [stderr] --> src/netlink/sys.rs:2137:5 [INFO] [stderr] | [INFO] [stderr] 2137 | pub fn nl_data_cmp(arg1: *const nl_data, arg2: *const nl_data) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_attr_size` [INFO] [stderr] --> src/netlink/sys.rs:2197:5 [INFO] [stderr] | [INFO] [stderr] 2197 | pub fn nla_attr_size(payload: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_total_size` [INFO] [stderr] --> src/netlink/sys.rs:2200:5 [INFO] [stderr] | [INFO] [stderr] 2200 | pub fn nla_total_size(payload: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_padlen` [INFO] [stderr] --> src/netlink/sys.rs:2203:5 [INFO] [stderr] | [INFO] [stderr] 2203 | pub fn nla_padlen(payload: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_type` [INFO] [stderr] --> src/netlink/sys.rs:2206:5 [INFO] [stderr] | [INFO] [stderr] 2206 | pub fn nla_type(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_len` [INFO] [stderr] --> src/netlink/sys.rs:2212:5 [INFO] [stderr] | [INFO] [stderr] 2212 | pub fn nla_len(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_ok` [INFO] [stderr] --> src/netlink/sys.rs:2215:5 [INFO] [stderr] | [INFO] [stderr] 2215 | pub fn nla_ok(arg1: *const nlattr, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_parse` [INFO] [stderr] --> src/netlink/sys.rs:2221:5 [INFO] [stderr] | [INFO] [stderr] 2221 | / pub fn nla_parse( [INFO] [stderr] 2222 | | arg1: *mut *mut nlattr, [INFO] [stderr] 2223 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2224 | | arg3: *mut nlattr, [INFO] [stderr] 2225 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2226 | | arg5: *mut nla_policy, [INFO] [stderr] 2227 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_validate` [INFO] [stderr] --> src/netlink/sys.rs:2230:5 [INFO] [stderr] | [INFO] [stderr] 2230 | / pub fn nla_validate( [INFO] [stderr] 2231 | | arg1: *const nlattr, [INFO] [stderr] 2232 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2233 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2234 | | arg4: *const nla_policy, [INFO] [stderr] 2235 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_find` [INFO] [stderr] --> src/netlink/sys.rs:2238:5 [INFO] [stderr] | [INFO] [stderr] 2238 | / pub fn nla_find( [INFO] [stderr] 2239 | | arg1: *const nlattr, [INFO] [stderr] 2240 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2241 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2242 | | ) -> *mut nlattr; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_memcpy` [INFO] [stderr] --> src/netlink/sys.rs:2245:5 [INFO] [stderr] | [INFO] [stderr] 2245 | / pub fn nla_memcpy( [INFO] [stderr] 2246 | | arg1: *mut ::std::os::raw::c_void, [INFO] [stderr] 2247 | | arg2: *const nlattr, [INFO] [stderr] 2248 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2249 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_strlcpy` [INFO] [stderr] --> src/netlink/sys.rs:2252:5 [INFO] [stderr] | [INFO] [stderr] 2252 | / pub fn nla_strlcpy( [INFO] [stderr] 2253 | | arg1: *mut ::std::os::raw::c_char, [INFO] [stderr] 2254 | | arg2: *const nlattr, [INFO] [stderr] 2255 | | arg3: usize, [INFO] [stderr] 2256 | | ) -> usize; [INFO] [stderr] | |_______________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_memcmp` [INFO] [stderr] --> src/netlink/sys.rs:2259:5 [INFO] [stderr] | [INFO] [stderr] 2259 | / pub fn nla_memcmp( [INFO] [stderr] 2260 | | arg1: *const nlattr, [INFO] [stderr] 2261 | | arg2: *const ::std::os::raw::c_void, [INFO] [stderr] 2262 | | arg3: usize, [INFO] [stderr] 2263 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_strcmp` [INFO] [stderr] --> src/netlink/sys.rs:2266:5 [INFO] [stderr] | [INFO] [stderr] 2266 | / pub fn nla_strcmp( [INFO] [stderr] 2267 | | arg1: *const nlattr, [INFO] [stderr] 2268 | | arg2: *const ::std::os::raw::c_char, [INFO] [stderr] 2269 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_reserve` [INFO] [stderr] --> src/netlink/sys.rs:2272:5 [INFO] [stderr] | [INFO] [stderr] 2272 | / pub fn nla_reserve( [INFO] [stderr] 2273 | | arg1: *mut nl_msg, [INFO] [stderr] 2274 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2275 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2276 | | ) -> *mut nlattr; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put` [INFO] [stderr] --> src/netlink/sys.rs:2279:5 [INFO] [stderr] | [INFO] [stderr] 2279 | / pub fn nla_put( [INFO] [stderr] 2280 | | arg1: *mut nl_msg, [INFO] [stderr] 2281 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2282 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2283 | | arg4: *const ::std::os::raw::c_void, [INFO] [stderr] 2284 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_data` [INFO] [stderr] --> src/netlink/sys.rs:2287:5 [INFO] [stderr] | [INFO] [stderr] 2287 | / pub fn nla_put_data( [INFO] [stderr] 2288 | | arg1: *mut nl_msg, [INFO] [stderr] 2289 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2290 | | arg3: *const nl_data, [INFO] [stderr] 2291 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_addr` [INFO] [stderr] --> src/netlink/sys.rs:2294:5 [INFO] [stderr] | [INFO] [stderr] 2294 | / pub fn nla_put_addr( [INFO] [stderr] 2295 | | arg1: *mut nl_msg, [INFO] [stderr] 2296 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2297 | | arg3: *mut nl_addr, [INFO] [stderr] 2298 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s8` [INFO] [stderr] --> src/netlink/sys.rs:2301:5 [INFO] [stderr] | [INFO] [stderr] 2301 | pub fn nla_get_s8(arg1: *const nlattr) -> i8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s8` [INFO] [stderr] --> src/netlink/sys.rs:2304:5 [INFO] [stderr] | [INFO] [stderr] 2304 | / pub fn nla_put_s8( [INFO] [stderr] 2305 | | arg1: *mut nl_msg, [INFO] [stderr] 2306 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2307 | | arg3: i8, [INFO] [stderr] 2308 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u8` [INFO] [stderr] --> src/netlink/sys.rs:2311:5 [INFO] [stderr] | [INFO] [stderr] 2311 | pub fn nla_get_u8(arg1: *const nlattr) -> u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_u8` [INFO] [stderr] --> src/netlink/sys.rs:2314:5 [INFO] [stderr] | [INFO] [stderr] 2314 | / pub fn nla_put_u8( [INFO] [stderr] 2315 | | arg1: *mut nl_msg, [INFO] [stderr] 2316 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2317 | | arg3: u8, [INFO] [stderr] 2318 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s16` [INFO] [stderr] --> src/netlink/sys.rs:2321:5 [INFO] [stderr] | [INFO] [stderr] 2321 | pub fn nla_get_s16(arg1: *const nlattr) -> i16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s16` [INFO] [stderr] --> src/netlink/sys.rs:2324:5 [INFO] [stderr] | [INFO] [stderr] 2324 | / pub fn nla_put_s16( [INFO] [stderr] 2325 | | arg1: *mut nl_msg, [INFO] [stderr] 2326 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2327 | | arg3: i16, [INFO] [stderr] 2328 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u16` [INFO] [stderr] --> src/netlink/sys.rs:2331:5 [INFO] [stderr] | [INFO] [stderr] 2331 | pub fn nla_get_u16(arg1: *const nlattr) -> u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_u16` [INFO] [stderr] --> src/netlink/sys.rs:2334:5 [INFO] [stderr] | [INFO] [stderr] 2334 | / pub fn nla_put_u16( [INFO] [stderr] 2335 | | arg1: *mut nl_msg, [INFO] [stderr] 2336 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2337 | | arg3: u16, [INFO] [stderr] 2338 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s32` [INFO] [stderr] --> src/netlink/sys.rs:2341:5 [INFO] [stderr] | [INFO] [stderr] 2341 | pub fn nla_get_s32(arg1: *const nlattr) -> i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s32` [INFO] [stderr] --> src/netlink/sys.rs:2344:5 [INFO] [stderr] | [INFO] [stderr] 2344 | / pub fn nla_put_s32( [INFO] [stderr] 2345 | | arg1: *mut nl_msg, [INFO] [stderr] 2346 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2347 | | arg3: i32, [INFO] [stderr] 2348 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u32` [INFO] [stderr] --> src/netlink/sys.rs:2351:5 [INFO] [stderr] | [INFO] [stderr] 2351 | pub fn nla_get_u32(arg1: *const nlattr) -> u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_s64` [INFO] [stderr] --> src/netlink/sys.rs:2361:5 [INFO] [stderr] | [INFO] [stderr] 2361 | pub fn nla_get_s64(arg1: *const nlattr) -> i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_s64` [INFO] [stderr] --> src/netlink/sys.rs:2364:5 [INFO] [stderr] | [INFO] [stderr] 2364 | / pub fn nla_put_s64( [INFO] [stderr] 2365 | | arg1: *mut nl_msg, [INFO] [stderr] 2366 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2367 | | arg3: i64, [INFO] [stderr] 2368 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_u64` [INFO] [stderr] --> src/netlink/sys.rs:2371:5 [INFO] [stderr] | [INFO] [stderr] 2371 | pub fn nla_get_u64(arg1: *const nlattr) -> u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_u64` [INFO] [stderr] --> src/netlink/sys.rs:2374:5 [INFO] [stderr] | [INFO] [stderr] 2374 | / pub fn nla_put_u64( [INFO] [stderr] 2375 | | arg1: *mut nl_msg, [INFO] [stderr] 2376 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2377 | | arg3: u64, [INFO] [stderr] 2378 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_string` [INFO] [stderr] --> src/netlink/sys.rs:2381:5 [INFO] [stderr] | [INFO] [stderr] 2381 | pub fn nla_get_string(arg1: *const nlattr) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_strdup` [INFO] [stderr] --> src/netlink/sys.rs:2384:5 [INFO] [stderr] | [INFO] [stderr] 2384 | pub fn nla_strdup(arg1: *const nlattr) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_string` [INFO] [stderr] --> src/netlink/sys.rs:2387:5 [INFO] [stderr] | [INFO] [stderr] 2387 | / pub fn nla_put_string( [INFO] [stderr] 2388 | | arg1: *mut nl_msg, [INFO] [stderr] 2389 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2390 | | arg3: *const ::std::os::raw::c_char, [INFO] [stderr] 2391 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_flag` [INFO] [stderr] --> src/netlink/sys.rs:2394:5 [INFO] [stderr] | [INFO] [stderr] 2394 | pub fn nla_get_flag(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_flag` [INFO] [stderr] --> src/netlink/sys.rs:2397:5 [INFO] [stderr] | [INFO] [stderr] 2397 | pub fn nla_put_flag(arg1: *mut nl_msg, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_get_msecs` [INFO] [stderr] --> src/netlink/sys.rs:2400:5 [INFO] [stderr] | [INFO] [stderr] 2400 | pub fn nla_get_msecs(arg1: *const nlattr) -> ::std::os::raw::c_ulong; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_msecs` [INFO] [stderr] --> src/netlink/sys.rs:2403:5 [INFO] [stderr] | [INFO] [stderr] 2403 | / pub fn nla_put_msecs( [INFO] [stderr] 2404 | | arg1: *mut nl_msg, [INFO] [stderr] 2405 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2406 | | arg3: ::std::os::raw::c_ulong, [INFO] [stderr] 2407 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_put_nested` [INFO] [stderr] --> src/netlink/sys.rs:2410:5 [INFO] [stderr] | [INFO] [stderr] 2410 | / pub fn nla_put_nested( [INFO] [stderr] 2411 | | arg1: *mut nl_msg, [INFO] [stderr] 2412 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2413 | | arg3: *const nl_msg, [INFO] [stderr] 2414 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_nest_start` [INFO] [stderr] --> src/netlink/sys.rs:2417:5 [INFO] [stderr] | [INFO] [stderr] 2417 | pub fn nla_nest_start(arg1: *mut nl_msg, arg2: ::std::os::raw::c_int) -> *mut nlattr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_nest_end` [INFO] [stderr] --> src/netlink/sys.rs:2420:5 [INFO] [stderr] | [INFO] [stderr] 2420 | pub fn nla_nest_end(arg1: *mut nl_msg, arg2: *mut nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_nest_cancel` [INFO] [stderr] --> src/netlink/sys.rs:2423:5 [INFO] [stderr] | [INFO] [stderr] 2423 | pub fn nla_nest_cancel(arg1: *mut nl_msg, arg2: *const nlattr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_parse_nested` [INFO] [stderr] --> src/netlink/sys.rs:2426:5 [INFO] [stderr] | [INFO] [stderr] 2426 | / pub fn nla_parse_nested( [INFO] [stderr] 2427 | | arg1: *mut *mut nlattr, [INFO] [stderr] 2428 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2429 | | arg3: *mut nlattr, [INFO] [stderr] 2430 | | arg4: *mut nla_policy, [INFO] [stderr] 2431 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nla_is_nested` [INFO] [stderr] --> src/netlink/sys.rs:2434:5 [INFO] [stderr] | [INFO] [stderr] 2434 | pub fn nla_is_nested(arg1: *const nlattr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_size` [INFO] [stderr] --> src/netlink/sys.rs:2442:5 [INFO] [stderr] | [INFO] [stderr] 2442 | pub fn nlmsg_size(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_total_size` [INFO] [stderr] --> src/netlink/sys.rs:2445:5 [INFO] [stderr] | [INFO] [stderr] 2445 | pub fn nlmsg_total_size(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_padlen` [INFO] [stderr] --> src/netlink/sys.rs:2448:5 [INFO] [stderr] | [INFO] [stderr] 2448 | pub fn nlmsg_padlen(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_data` [INFO] [stderr] --> src/netlink/sys.rs:2451:5 [INFO] [stderr] | [INFO] [stderr] 2451 | pub fn nlmsg_data(arg1: *const nlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_datalen` [INFO] [stderr] --> src/netlink/sys.rs:2454:5 [INFO] [stderr] | [INFO] [stderr] 2454 | pub fn nlmsg_datalen(arg1: *const nlmsghdr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_tail` [INFO] [stderr] --> src/netlink/sys.rs:2457:5 [INFO] [stderr] | [INFO] [stderr] 2457 | pub fn nlmsg_tail(arg1: *const nlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_attrdata` [INFO] [stderr] --> src/netlink/sys.rs:2460:5 [INFO] [stderr] | [INFO] [stderr] 2460 | pub fn nlmsg_attrdata(arg1: *const nlmsghdr, arg2: ::std::os::raw::c_int) -> *mut nlattr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_attrlen` [INFO] [stderr] --> src/netlink/sys.rs:2463:5 [INFO] [stderr] | [INFO] [stderr] 2463 | / pub fn nlmsg_attrlen( [INFO] [stderr] 2464 | | arg1: *const nlmsghdr, [INFO] [stderr] 2465 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2466 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_valid_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2469:5 [INFO] [stderr] | [INFO] [stderr] 2469 | / pub fn nlmsg_valid_hdr( [INFO] [stderr] 2470 | | arg1: *const nlmsghdr, [INFO] [stderr] 2471 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2472 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_ok` [INFO] [stderr] --> src/netlink/sys.rs:2475:5 [INFO] [stderr] | [INFO] [stderr] 2475 | pub fn nlmsg_ok(arg1: *const nlmsghdr, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_next` [INFO] [stderr] --> src/netlink/sys.rs:2478:5 [INFO] [stderr] | [INFO] [stderr] 2478 | pub fn nlmsg_next(arg1: *mut nlmsghdr, arg2: *mut ::std::os::raw::c_int) -> *mut nlmsghdr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_parse` [INFO] [stderr] --> src/netlink/sys.rs:2481:5 [INFO] [stderr] | [INFO] [stderr] 2481 | / pub fn nlmsg_parse( [INFO] [stderr] 2482 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2483 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2484 | | arg3: *mut *mut nlattr, [INFO] [stderr] 2485 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2486 | | arg5: *mut nla_policy, [INFO] [stderr] 2487 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_find_attr` [INFO] [stderr] --> src/netlink/sys.rs:2490:5 [INFO] [stderr] | [INFO] [stderr] 2490 | / pub fn nlmsg_find_attr( [INFO] [stderr] 2491 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2492 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2493 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2494 | | ) -> *mut nlattr; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_validate` [INFO] [stderr] --> src/netlink/sys.rs:2497:5 [INFO] [stderr] | [INFO] [stderr] 2497 | / pub fn nlmsg_validate( [INFO] [stderr] 2498 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2499 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2500 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2501 | | arg4: *mut nla_policy, [INFO] [stderr] 2502 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_alloc_size` [INFO] [stderr] --> src/netlink/sys.rs:2508:5 [INFO] [stderr] | [INFO] [stderr] 2508 | pub fn nlmsg_alloc_size(arg1: usize) -> *mut nl_msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_alloc_simple` [INFO] [stderr] --> src/netlink/sys.rs:2511:5 [INFO] [stderr] | [INFO] [stderr] 2511 | / pub fn nlmsg_alloc_simple( [INFO] [stderr] 2512 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2513 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2514 | | ) -> *mut nl_msg; [INFO] [stderr] | |_____________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_default_size` [INFO] [stderr] --> src/netlink/sys.rs:2517:5 [INFO] [stderr] | [INFO] [stderr] 2517 | pub fn nlmsg_set_default_size(arg1: usize); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_inherit` [INFO] [stderr] --> src/netlink/sys.rs:2520:5 [INFO] [stderr] | [INFO] [stderr] 2520 | pub fn nlmsg_inherit(arg1: *mut nlmsghdr) -> *mut nl_msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_convert` [INFO] [stderr] --> src/netlink/sys.rs:2523:5 [INFO] [stderr] | [INFO] [stderr] 2523 | pub fn nlmsg_convert(arg1: *mut nlmsghdr) -> *mut nl_msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_reserve` [INFO] [stderr] --> src/netlink/sys.rs:2526:5 [INFO] [stderr] | [INFO] [stderr] 2526 | / pub fn nlmsg_reserve( [INFO] [stderr] 2527 | | arg1: *mut nl_msg, [INFO] [stderr] 2528 | | arg2: usize, [INFO] [stderr] 2529 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2530 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_append` [INFO] [stderr] --> src/netlink/sys.rs:2533:5 [INFO] [stderr] | [INFO] [stderr] 2533 | / pub fn nlmsg_append( [INFO] [stderr] 2534 | | arg1: *mut nl_msg, [INFO] [stderr] 2535 | | arg2: *mut ::std::os::raw::c_void, [INFO] [stderr] 2536 | | arg3: usize, [INFO] [stderr] 2537 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2538 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_expand` [INFO] [stderr] --> src/netlink/sys.rs:2541:5 [INFO] [stderr] | [INFO] [stderr] 2541 | pub fn nlmsg_expand(arg1: *mut nl_msg, arg2: usize) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_put` [INFO] [stderr] --> src/netlink/sys.rs:2544:5 [INFO] [stderr] | [INFO] [stderr] 2544 | / pub fn nlmsg_put( [INFO] [stderr] 2545 | | arg1: *mut nl_msg, [INFO] [stderr] 2546 | | arg2: u32, [INFO] [stderr] 2547 | | arg3: u32, [INFO] [stderr] ... | [INFO] [stderr] 2550 | | arg6: ::std::os::raw::c_int, [INFO] [stderr] 2551 | | ) -> *mut nlmsghdr; [INFO] [stderr] | |_______________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get` [INFO] [stderr] --> src/netlink/sys.rs:2557:5 [INFO] [stderr] | [INFO] [stderr] 2557 | pub fn nlmsg_get(arg1: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_free` [INFO] [stderr] --> src/netlink/sys.rs:2560:5 [INFO] [stderr] | [INFO] [stderr] 2560 | pub fn nlmsg_free(arg1: *mut nl_msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_proto` [INFO] [stderr] --> src/netlink/sys.rs:2563:5 [INFO] [stderr] | [INFO] [stderr] 2563 | pub fn nlmsg_set_proto(arg1: *mut nl_msg, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_proto` [INFO] [stderr] --> src/netlink/sys.rs:2566:5 [INFO] [stderr] | [INFO] [stderr] 2566 | pub fn nlmsg_get_proto(arg1: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_max_size` [INFO] [stderr] --> src/netlink/sys.rs:2569:5 [INFO] [stderr] | [INFO] [stderr] 2569 | pub fn nlmsg_get_max_size(arg1: *mut nl_msg) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_src` [INFO] [stderr] --> src/netlink/sys.rs:2572:5 [INFO] [stderr] | [INFO] [stderr] 2572 | pub fn nlmsg_set_src(arg1: *mut nl_msg, arg2: *mut sockaddr_nl); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_src` [INFO] [stderr] --> src/netlink/sys.rs:2575:5 [INFO] [stderr] | [INFO] [stderr] 2575 | pub fn nlmsg_get_src(arg1: *mut nl_msg) -> *mut sockaddr_nl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_dst` [INFO] [stderr] --> src/netlink/sys.rs:2578:5 [INFO] [stderr] | [INFO] [stderr] 2578 | pub fn nlmsg_set_dst(arg1: *mut nl_msg, arg2: *mut sockaddr_nl); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_dst` [INFO] [stderr] --> src/netlink/sys.rs:2581:5 [INFO] [stderr] | [INFO] [stderr] 2581 | pub fn nlmsg_get_dst(arg1: *mut nl_msg) -> *mut sockaddr_nl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_set_creds` [INFO] [stderr] --> src/netlink/sys.rs:2584:5 [INFO] [stderr] | [INFO] [stderr] 2584 | pub fn nlmsg_set_creds(arg1: *mut nl_msg, arg2: *mut ucred); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nlmsg_get_creds` [INFO] [stderr] --> src/netlink/sys.rs:2587:5 [INFO] [stderr] | [INFO] [stderr] 2587 | pub fn nlmsg_get_creds(arg1: *mut nl_msg) -> *mut ucred; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_nlmsgtype2str` [INFO] [stderr] --> src/netlink/sys.rs:2590:5 [INFO] [stderr] | [INFO] [stderr] 2590 | / pub fn nl_nlmsgtype2str( [INFO] [stderr] 2591 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2592 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2593 | | arg3: usize, [INFO] [stderr] 2594 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_str2nlmsgtype` [INFO] [stderr] --> src/netlink/sys.rs:2597:5 [INFO] [stderr] | [INFO] [stderr] 2597 | pub fn nl_str2nlmsgtype(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_nlmsg_flags2str` [INFO] [stderr] --> src/netlink/sys.rs:2600:5 [INFO] [stderr] | [INFO] [stderr] 2600 | / pub fn nl_nlmsg_flags2str( [INFO] [stderr] 2601 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2602 | | arg2: *mut ::std::os::raw::c_char, [INFO] [stderr] 2603 | | arg3: usize, [INFO] [stderr] 2604 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msg_parse` [INFO] [stderr] --> src/netlink/sys.rs:2607:5 [INFO] [stderr] | [INFO] [stderr] 2607 | / pub fn nl_msg_parse( [INFO] [stderr] 2608 | | arg1: *mut nl_msg, [INFO] [stderr] 2609 | | cb: ::std::option::Option< [INFO] [stderr] 2610 | | unsafe extern "C" fn(arg1: *mut nl_object, arg2: *mut ::std::os::raw::c_void), [INFO] [stderr] 2611 | | >, [INFO] [stderr] 2612 | | arg2: *mut ::std::os::raw::c_void, [INFO] [stderr] 2613 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msg_dump` [INFO] [stderr] --> src/netlink/sys.rs:2616:5 [INFO] [stderr] | [INFO] [stderr] 2616 | pub fn nl_msg_dump(arg1: *mut nl_msg, arg2: *mut FILE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_connect` [INFO] [stderr] --> src/netlink/sys.rs:2619:5 [INFO] [stderr] | [INFO] [stderr] 2619 | pub fn genl_connect(arg1: *mut nl_sock) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_send_simple` [INFO] [stderr] --> src/netlink/sys.rs:2622:5 [INFO] [stderr] | [INFO] [stderr] 2622 | / pub fn genl_send_simple( [INFO] [stderr] 2623 | | arg1: *mut nl_sock, [INFO] [stderr] 2624 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2625 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2626 | | arg4: ::std::os::raw::c_int, [INFO] [stderr] 2627 | | arg5: ::std::os::raw::c_int, [INFO] [stderr] 2628 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_valid_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2643:5 [INFO] [stderr] | [INFO] [stderr] 2643 | / pub fn genlmsg_valid_hdr( [INFO] [stderr] 2644 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2645 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2646 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_validate` [INFO] [stderr] --> src/netlink/sys.rs:2649:5 [INFO] [stderr] | [INFO] [stderr] 2649 | / pub fn genlmsg_validate( [INFO] [stderr] 2650 | | arg1: *mut nlmsghdr, [INFO] [stderr] 2651 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2652 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2653 | | arg4: *mut nla_policy, [INFO] [stderr] 2654 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2666:5 [INFO] [stderr] | [INFO] [stderr] 2666 | pub fn genlmsg_hdr(arg1: *mut nlmsghdr) -> *mut genlmsghdr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_data` [INFO] [stderr] --> src/netlink/sys.rs:2669:5 [INFO] [stderr] | [INFO] [stderr] 2669 | pub fn genlmsg_data(arg1: *const genlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_user_hdr` [INFO] [stderr] --> src/netlink/sys.rs:2672:5 [INFO] [stderr] | [INFO] [stderr] 2672 | pub fn genlmsg_user_hdr(arg1: *const genlmsghdr) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_user_data` [INFO] [stderr] --> src/netlink/sys.rs:2675:5 [INFO] [stderr] | [INFO] [stderr] 2675 | / pub fn genlmsg_user_data( [INFO] [stderr] 2676 | | arg1: *const genlmsghdr, [INFO] [stderr] 2677 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2678 | | ) -> *mut ::std::os::raw::c_void; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_user_datalen` [INFO] [stderr] --> src/netlink/sys.rs:2681:5 [INFO] [stderr] | [INFO] [stderr] 2681 | / pub fn genlmsg_user_datalen( [INFO] [stderr] 2682 | | arg1: *const genlmsghdr, [INFO] [stderr] 2683 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2684 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_len` [INFO] [stderr] --> src/netlink/sys.rs:2687:5 [INFO] [stderr] | [INFO] [stderr] 2687 | pub fn genlmsg_len(arg1: *const genlmsghdr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_attrdata` [INFO] [stderr] --> src/netlink/sys.rs:2690:5 [INFO] [stderr] | [INFO] [stderr] 2690 | pub fn genlmsg_attrdata(arg1: *const genlmsghdr, arg2: ::std::os::raw::c_int) -> *mut nlattr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genlmsg_attrlen` [INFO] [stderr] --> src/netlink/sys.rs:2693:5 [INFO] [stderr] | [INFO] [stderr] 2693 | / pub fn genlmsg_attrlen( [INFO] [stderr] 2694 | | arg1: *const genlmsghdr, [INFO] [stderr] 2695 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2696 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_op2name` [INFO] [stderr] --> src/netlink/sys.rs:2699:5 [INFO] [stderr] | [INFO] [stderr] 2699 | / pub fn genl_op2name( [INFO] [stderr] 2700 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2701 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2702 | | arg3: *mut ::std::os::raw::c_char, [INFO] [stderr] 2703 | | arg4: usize, [INFO] [stderr] 2704 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `change_func_t` [INFO] [stderr] --> src/netlink/sys.rs:2706:1 [INFO] [stderr] | [INFO] [stderr] 2706 | / pub type change_func_t = ::std::option::Option< [INFO] [stderr] 2707 | | unsafe extern "C" fn( [INFO] [stderr] 2708 | | arg1: *mut nl_cache, [INFO] [stderr] 2709 | | arg2: *mut nl_object, [INFO] [stderr] ... | [INFO] [stderr] 2712 | | ), [INFO] [stderr] 2713 | | >; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_nitems` [INFO] [stderr] --> src/netlink/sys.rs:2715:5 [INFO] [stderr] | [INFO] [stderr] 2715 | pub fn nl_cache_nitems(arg1: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_nitems_filter` [INFO] [stderr] --> src/netlink/sys.rs:2718:5 [INFO] [stderr] | [INFO] [stderr] 2718 | / pub fn nl_cache_nitems_filter( [INFO] [stderr] 2719 | | arg1: *mut nl_cache, [INFO] [stderr] 2720 | | arg2: *mut nl_object, [INFO] [stderr] 2721 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_ops` [INFO] [stderr] --> src/netlink/sys.rs:2724:5 [INFO] [stderr] | [INFO] [stderr] 2724 | pub fn nl_cache_get_ops(arg1: *mut nl_cache) -> *mut nl_cache_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_first` [INFO] [stderr] --> src/netlink/sys.rs:2727:5 [INFO] [stderr] | [INFO] [stderr] 2727 | pub fn nl_cache_get_first(arg1: *mut nl_cache) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_last` [INFO] [stderr] --> src/netlink/sys.rs:2730:5 [INFO] [stderr] | [INFO] [stderr] 2730 | pub fn nl_cache_get_last(arg1: *mut nl_cache) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_next` [INFO] [stderr] --> src/netlink/sys.rs:2733:5 [INFO] [stderr] | [INFO] [stderr] 2733 | pub fn nl_cache_get_next(arg1: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get_prev` [INFO] [stderr] --> src/netlink/sys.rs:2736:5 [INFO] [stderr] | [INFO] [stderr] 2736 | pub fn nl_cache_get_prev(arg1: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_alloc` [INFO] [stderr] --> src/netlink/sys.rs:2739:5 [INFO] [stderr] | [INFO] [stderr] 2739 | pub fn nl_cache_alloc(arg1: *mut nl_cache_ops) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_alloc_and_fill` [INFO] [stderr] --> src/netlink/sys.rs:2742:5 [INFO] [stderr] | [INFO] [stderr] 2742 | / pub fn nl_cache_alloc_and_fill( [INFO] [stderr] 2743 | | arg1: *mut nl_cache_ops, [INFO] [stderr] 2744 | | arg2: *mut nl_sock, [INFO] [stderr] 2745 | | arg3: *mut *mut nl_cache, [INFO] [stderr] 2746 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_alloc_name` [INFO] [stderr] --> src/netlink/sys.rs:2749:5 [INFO] [stderr] | [INFO] [stderr] 2749 | / pub fn nl_cache_alloc_name( [INFO] [stderr] 2750 | | arg1: *const ::std::os::raw::c_char, [INFO] [stderr] 2751 | | arg2: *mut *mut nl_cache, [INFO] [stderr] 2752 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_subset` [INFO] [stderr] --> src/netlink/sys.rs:2755:5 [INFO] [stderr] | [INFO] [stderr] 2755 | pub fn nl_cache_subset(arg1: *mut nl_cache, arg2: *mut nl_object) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_clone` [INFO] [stderr] --> src/netlink/sys.rs:2758:5 [INFO] [stderr] | [INFO] [stderr] 2758 | pub fn nl_cache_clone(arg1: *mut nl_cache) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_clear` [INFO] [stderr] --> src/netlink/sys.rs:2761:5 [INFO] [stderr] | [INFO] [stderr] 2761 | pub fn nl_cache_clear(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_get` [INFO] [stderr] --> src/netlink/sys.rs:2764:5 [INFO] [stderr] | [INFO] [stderr] 2764 | pub fn nl_cache_get(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_free` [INFO] [stderr] --> src/netlink/sys.rs:2767:5 [INFO] [stderr] | [INFO] [stderr] 2767 | pub fn nl_cache_free(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_put` [INFO] [stderr] --> src/netlink/sys.rs:2770:5 [INFO] [stderr] | [INFO] [stderr] 2770 | pub fn nl_cache_put(cache: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_add` [INFO] [stderr] --> src/netlink/sys.rs:2773:5 [INFO] [stderr] | [INFO] [stderr] 2773 | pub fn nl_cache_add(arg1: *mut nl_cache, arg2: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_parse_and_add` [INFO] [stderr] --> src/netlink/sys.rs:2776:5 [INFO] [stderr] | [INFO] [stderr] 2776 | pub fn nl_cache_parse_and_add(arg1: *mut nl_cache, arg2: *mut nl_msg) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_move` [INFO] [stderr] --> src/netlink/sys.rs:2779:5 [INFO] [stderr] | [INFO] [stderr] 2779 | pub fn nl_cache_move(arg1: *mut nl_cache, arg2: *mut nl_object) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_remove` [INFO] [stderr] --> src/netlink/sys.rs:2782:5 [INFO] [stderr] | [INFO] [stderr] 2782 | pub fn nl_cache_remove(arg1: *mut nl_object); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_refill` [INFO] [stderr] --> src/netlink/sys.rs:2785:5 [INFO] [stderr] | [INFO] [stderr] 2785 | pub fn nl_cache_refill(arg1: *mut nl_sock, arg2: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_pickup` [INFO] [stderr] --> src/netlink/sys.rs:2788:5 [INFO] [stderr] | [INFO] [stderr] 2788 | pub fn nl_cache_pickup(arg1: *mut nl_sock, arg2: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_pickup_checkdup` [INFO] [stderr] --> src/netlink/sys.rs:2791:5 [INFO] [stderr] | [INFO] [stderr] 2791 | / pub fn nl_cache_pickup_checkdup( [INFO] [stderr] 2792 | | arg1: *mut nl_sock, [INFO] [stderr] 2793 | | arg2: *mut nl_cache, [INFO] [stderr] 2794 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_resync` [INFO] [stderr] --> src/netlink/sys.rs:2797:5 [INFO] [stderr] | [INFO] [stderr] 2797 | / pub fn nl_cache_resync( [INFO] [stderr] 2798 | | arg1: *mut nl_sock, [INFO] [stderr] 2799 | | arg2: *mut nl_cache, [INFO] [stderr] 2800 | | arg3: change_func_t, [INFO] [stderr] 2801 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 2802 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_include` [INFO] [stderr] --> src/netlink/sys.rs:2805:5 [INFO] [stderr] | [INFO] [stderr] 2805 | / pub fn nl_cache_include( [INFO] [stderr] 2806 | | arg1: *mut nl_cache, [INFO] [stderr] 2807 | | arg2: *mut nl_object, [INFO] [stderr] 2808 | | arg3: change_func_t, [INFO] [stderr] 2809 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 2810 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_set_arg1` [INFO] [stderr] --> src/netlink/sys.rs:2813:5 [INFO] [stderr] | [INFO] [stderr] 2813 | pub fn nl_cache_set_arg1(arg1: *mut nl_cache, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_set_arg2` [INFO] [stderr] --> src/netlink/sys.rs:2816:5 [INFO] [stderr] | [INFO] [stderr] 2816 | pub fn nl_cache_set_arg2(arg1: *mut nl_cache, arg2: ::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_set_flags` [INFO] [stderr] --> src/netlink/sys.rs:2819:5 [INFO] [stderr] | [INFO] [stderr] 2819 | pub fn nl_cache_set_flags(arg1: *mut nl_cache, arg2: ::std::os::raw::c_uint); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_is_empty` [INFO] [stderr] --> src/netlink/sys.rs:2822:5 [INFO] [stderr] | [INFO] [stderr] 2822 | pub fn nl_cache_is_empty(arg1: *mut nl_cache) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_search` [INFO] [stderr] --> src/netlink/sys.rs:2825:5 [INFO] [stderr] | [INFO] [stderr] 2825 | pub fn nl_cache_search(arg1: *mut nl_cache, arg2: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_find` [INFO] [stderr] --> src/netlink/sys.rs:2828:5 [INFO] [stderr] | [INFO] [stderr] 2828 | pub fn nl_cache_find(arg1: *mut nl_cache, arg2: *mut nl_object) -> *mut nl_object; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mark_all` [INFO] [stderr] --> src/netlink/sys.rs:2831:5 [INFO] [stderr] | [INFO] [stderr] 2831 | pub fn nl_cache_mark_all(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_dump` [INFO] [stderr] --> src/netlink/sys.rs:2834:5 [INFO] [stderr] | [INFO] [stderr] 2834 | pub fn nl_cache_dump(arg1: *mut nl_cache, arg2: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_dump_filter` [INFO] [stderr] --> src/netlink/sys.rs:2837:5 [INFO] [stderr] | [INFO] [stderr] 2837 | / pub fn nl_cache_dump_filter( [INFO] [stderr] 2838 | | arg1: *mut nl_cache, [INFO] [stderr] 2839 | | arg2: *mut nl_dump_params, [INFO] [stderr] 2840 | | arg3: *mut nl_object, [INFO] [stderr] 2841 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_foreach` [INFO] [stderr] --> src/netlink/sys.rs:2844:5 [INFO] [stderr] | [INFO] [stderr] 2844 | / pub fn nl_cache_foreach( [INFO] [stderr] 2845 | | arg1: *mut nl_cache, [INFO] [stderr] 2846 | | cb: ::std::option::Option< [INFO] [stderr] 2847 | | unsafe extern "C" fn(arg1: *mut nl_object, arg2: *mut ::std::os::raw::c_void), [INFO] [stderr] 2848 | | >, [INFO] [stderr] 2849 | | arg: *mut ::std::os::raw::c_void, [INFO] [stderr] 2850 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_foreach_filter` [INFO] [stderr] --> src/netlink/sys.rs:2853:5 [INFO] [stderr] | [INFO] [stderr] 2853 | / pub fn nl_cache_foreach_filter( [INFO] [stderr] 2854 | | arg1: *mut nl_cache, [INFO] [stderr] 2855 | | arg2: *mut nl_object, [INFO] [stderr] 2856 | | cb: ::std::option::Option< [INFO] [stderr] ... | [INFO] [stderr] 2859 | | arg: *mut ::std::os::raw::c_void, [INFO] [stderr] 2860 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_lookup` [INFO] [stderr] --> src/netlink/sys.rs:2863:5 [INFO] [stderr] | [INFO] [stderr] 2863 | pub fn nl_cache_ops_lookup(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_lookup_safe` [INFO] [stderr] --> src/netlink/sys.rs:2866:5 [INFO] [stderr] | [INFO] [stderr] 2866 | pub fn nl_cache_ops_lookup_safe(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache_ops; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_associate` [INFO] [stderr] --> src/netlink/sys.rs:2869:5 [INFO] [stderr] | [INFO] [stderr] 2869 | / pub fn nl_cache_ops_associate( [INFO] [stderr] 2870 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2871 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2872 | | ) -> *mut nl_cache_ops; [INFO] [stderr] | |___________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_associate_safe` [INFO] [stderr] --> src/netlink/sys.rs:2875:5 [INFO] [stderr] | [INFO] [stderr] 2875 | / pub fn nl_cache_ops_associate_safe( [INFO] [stderr] 2876 | | arg1: ::std::os::raw::c_int, [INFO] [stderr] 2877 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2878 | | ) -> *mut nl_cache_ops; [INFO] [stderr] | |___________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_msgtype_lookup` [INFO] [stderr] --> src/netlink/sys.rs:2886:5 [INFO] [stderr] | [INFO] [stderr] 2886 | / pub fn nl_msgtype_lookup( [INFO] [stderr] 2887 | | arg1: *mut nl_cache_ops, [INFO] [stderr] 2888 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2889 | | ) -> *mut nl_msgtype; [INFO] [stderr] | |_________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_foreach` [INFO] [stderr] --> src/netlink/sys.rs:2892:5 [INFO] [stderr] | [INFO] [stderr] 2892 | / pub fn nl_cache_ops_foreach( [INFO] [stderr] 2893 | | cb: ::std::option::Option< [INFO] [stderr] 2894 | | unsafe extern "C" fn(arg1: *mut nl_cache_ops, arg2: *mut ::std::os::raw::c_void), [INFO] [stderr] 2895 | | >, [INFO] [stderr] 2896 | | arg1: *mut ::std::os::raw::c_void, [INFO] [stderr] 2897 | | ); [INFO] [stderr] | |______^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_register` [INFO] [stderr] --> src/netlink/sys.rs:2900:5 [INFO] [stderr] | [INFO] [stderr] 2900 | pub fn nl_cache_mngt_register(arg1: *mut nl_cache_ops) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_unregister` [INFO] [stderr] --> src/netlink/sys.rs:2903:5 [INFO] [stderr] | [INFO] [stderr] 2903 | pub fn nl_cache_mngt_unregister(arg1: *mut nl_cache_ops) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_provide` [INFO] [stderr] --> src/netlink/sys.rs:2906:5 [INFO] [stderr] | [INFO] [stderr] 2906 | pub fn nl_cache_mngt_provide(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_unprovide` [INFO] [stderr] --> src/netlink/sys.rs:2909:5 [INFO] [stderr] | [INFO] [stderr] 2909 | pub fn nl_cache_mngt_unprovide(arg1: *mut nl_cache); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_require` [INFO] [stderr] --> src/netlink/sys.rs:2912:5 [INFO] [stderr] | [INFO] [stderr] 2912 | pub fn nl_cache_mngt_require(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngt_require_safe` [INFO] [stderr] --> src/netlink/sys.rs:2915:5 [INFO] [stderr] | [INFO] [stderr] 2915 | pub fn nl_cache_mngt_require_safe(arg1: *const ::std::os::raw::c_char) -> *mut nl_cache; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_alloc` [INFO] [stderr] --> src/netlink/sys.rs:2923:5 [INFO] [stderr] | [INFO] [stderr] 2923 | / pub fn nl_cache_mngr_alloc( [INFO] [stderr] 2924 | | arg1: *mut nl_sock, [INFO] [stderr] 2925 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2926 | | arg3: ::std::os::raw::c_int, [INFO] [stderr] 2927 | | arg4: *mut *mut nl_cache_mngr, [INFO] [stderr] 2928 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_add` [INFO] [stderr] --> src/netlink/sys.rs:2931:5 [INFO] [stderr] | [INFO] [stderr] 2931 | / pub fn nl_cache_mngr_add( [INFO] [stderr] 2932 | | arg1: *mut nl_cache_mngr, [INFO] [stderr] 2933 | | arg2: *const ::std::os::raw::c_char, [INFO] [stderr] 2934 | | arg3: change_func_t, [INFO] [stderr] 2935 | | arg4: *mut ::std::os::raw::c_void, [INFO] [stderr] 2936 | | arg5: *mut *mut nl_cache, [INFO] [stderr] 2937 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_add_cache` [INFO] [stderr] --> src/netlink/sys.rs:2940:5 [INFO] [stderr] | [INFO] [stderr] 2940 | / pub fn nl_cache_mngr_add_cache( [INFO] [stderr] 2941 | | mngr: *mut nl_cache_mngr, [INFO] [stderr] 2942 | | cache: *mut nl_cache, [INFO] [stderr] 2943 | | cb: change_func_t, [INFO] [stderr] 2944 | | data: *mut ::std::os::raw::c_void, [INFO] [stderr] 2945 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_get_fd` [INFO] [stderr] --> src/netlink/sys.rs:2948:5 [INFO] [stderr] | [INFO] [stderr] 2948 | pub fn nl_cache_mngr_get_fd(arg1: *mut nl_cache_mngr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_poll` [INFO] [stderr] --> src/netlink/sys.rs:2951:5 [INFO] [stderr] | [INFO] [stderr] 2951 | / pub fn nl_cache_mngr_poll( [INFO] [stderr] 2952 | | arg1: *mut nl_cache_mngr, [INFO] [stderr] 2953 | | arg2: ::std::os::raw::c_int, [INFO] [stderr] 2954 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_data_ready` [INFO] [stderr] --> src/netlink/sys.rs:2957:5 [INFO] [stderr] | [INFO] [stderr] 2957 | pub fn nl_cache_mngr_data_ready(arg1: *mut nl_cache_mngr) -> ::std::os::raw::c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_info` [INFO] [stderr] --> src/netlink/sys.rs:2960:5 [INFO] [stderr] | [INFO] [stderr] 2960 | pub fn nl_cache_mngr_info(arg1: *mut nl_cache_mngr, arg2: *mut nl_dump_params); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_mngr_free` [INFO] [stderr] --> src/netlink/sys.rs:2963:5 [INFO] [stderr] | [INFO] [stderr] 2963 | pub fn nl_cache_mngr_free(arg1: *mut nl_cache_mngr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_get` [INFO] [stderr] --> src/netlink/sys.rs:2966:5 [INFO] [stderr] | [INFO] [stderr] 2966 | pub fn nl_cache_ops_get(arg1: *mut nl_cache_ops); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_put` [INFO] [stderr] --> src/netlink/sys.rs:2969:5 [INFO] [stderr] | [INFO] [stderr] 2969 | pub fn nl_cache_ops_put(arg1: *mut nl_cache_ops); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `nl_cache_ops_set_flags` [INFO] [stderr] --> src/netlink/sys.rs:2972:5 [INFO] [stderr] | [INFO] [stderr] 2972 | pub fn nl_cache_ops_set_flags(arg1: *mut nl_cache_ops, arg2: ::std::os::raw::c_uint); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_alloc_cache` [INFO] [stderr] --> src/netlink/sys.rs:2980:5 [INFO] [stderr] | [INFO] [stderr] 2980 | / pub fn genl_ctrl_alloc_cache( [INFO] [stderr] 2981 | | arg1: *mut nl_sock, [INFO] [stderr] 2982 | | arg2: *mut *mut nl_cache, [INFO] [stderr] 2983 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_search` [INFO] [stderr] --> src/netlink/sys.rs:2986:5 [INFO] [stderr] | [INFO] [stderr] 2986 | pub fn genl_ctrl_search(arg1: *mut nl_cache, arg2: ::std::os::raw::c_int) -> *mut genl_family; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_search_by_name` [INFO] [stderr] --> src/netlink/sys.rs:2989:5 [INFO] [stderr] | [INFO] [stderr] 2989 | / pub fn genl_ctrl_search_by_name( [INFO] [stderr] 2990 | | arg1: *mut nl_cache, [INFO] [stderr] 2991 | | arg2: *const ::std::os::raw::c_char, [INFO] [stderr] 2992 | | ) -> *mut genl_family; [INFO] [stderr] | |__________________________^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `genl_ctrl_resolve_grp` [INFO] [stderr] --> src/netlink/sys.rs:3001:5 [INFO] [stderr] | [INFO] [stderr] 3001 | / pub fn genl_ctrl_resolve_grp( [INFO] [stderr] 3002 | | sk: *mut nl_sock, [INFO] [stderr] 3003 | | family: *const ::std::os::raw::c_char, [INFO] [stderr] 3004 | | grp: *const ::std::os::raw::c_char, [INFO] [stderr] 3005 | | ) -> ::std::os::raw::c_int; [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `RawMessageHeader` [INFO] [stderr] --> src/netlink/mod.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | pub type RawMessageHeader = sys::nlmsghdr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `MessageType` [INFO] [stderr] --> src/netlink/mod.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | pub struct MessageType(::std::os::raw::c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `from_c_int` [INFO] [stderr] --> src/netlink/mod.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | pub unsafe fn from_c_int(message_type: ::std::os::raw::c_int) -> MessageType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `to_c_int` [INFO] [stderr] --> src/netlink/mod.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn to_c_int(&self) -> c_int { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `with_size` [INFO] [stderr] --> src/netlink/mod.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn with_size(size: usize) -> Self { Self::try_with_size(size).unwrap() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `with_type` [INFO] [stderr] --> src/netlink/mod.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn with_type(message_type: MessageType, flags: c_int) -> Self { Self::try_with_type(message_type, flags).unwrap()} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `try_with_size` [INFO] [stderr] --> src/netlink/mod.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn try_with_size(size: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `try_with_type` [INFO] [stderr] --> src/netlink/mod.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn try_with_type(message_type: MessageType, flags: c_int) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `set_default_size` [INFO] [stderr] --> src/netlink/mod.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn set_default_size(size : usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `put_u32` [INFO] [stderr] --> src/netlink/mod.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn put_u32(&mut self, attribute_id : i32, value : u32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_VERSION` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:78 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TS_COMM_LEN` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:118 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_GENL_NAME` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:153 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_GENL_VERSION` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:231 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_UNSPEC` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15596 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_GET` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15649 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_NEW` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15699 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_UNSPEC` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15832 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_TGID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15937 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_STATS` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:15989 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_AGGR_TGID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16098 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_TYPE_NULL` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16155 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_UNSPEC` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16291 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_PID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16349 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_TGID` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16404 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_REGISTER_CPUMASK` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16460 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK` [INFO] [stderr] --> /opt/crater/target/debug/build/demon-0f87625d3f3fac4b/out/taskstat-binding.rs:3:16528 [INFO] [stderr] | [INFO] [stderr] 3 | pub const __BITS_PER_LONG : u32 = 64 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const TASKSTATS_VERSION : u32 = 8 ; pub const TS_COMM_LEN : u32 = 32 ; pub const TASKSTATS_GENL_NAME : & 'static [ u8 ; 10usize ] = b"TASKSTATS\0" ; pub const TASKSTATS_GENL_VERSION : u32 = 1 ; pub type __s8 = :: std :: os :: raw :: c_schar ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fd_set { pub fds_bits : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___kernel_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fd_set > ( ) ) ) . fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fd_set ) , "::" , stringify ! ( fds_bits ) ) ) ; } pub type __kernel_sighandler_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : :: std :: os :: raw :: c_int ) > ; pub type __kernel_key_t = :: std :: os :: raw :: c_int ; pub type __kernel_mqd_t = :: std :: os :: raw :: c_int ; pub type __kernel_old_uid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_gid_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_old_dev_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_long_t = :: std :: os :: raw :: c_long ; pub type __kernel_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __kernel_ino_t = __kernel_ulong_t ; pub type __kernel_mode_t = :: std :: os :: raw :: c_uint ; pub type __kernel_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_ipc_pid_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid_t = :: std :: os :: raw :: c_uint ; pub type __kernel_suseconds_t = __kernel_long_t ; pub type __kernel_daddr_t = :: std :: os :: raw :: c_int ; pub type __kernel_uid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_gid32_t = :: std :: os :: raw :: c_uint ; pub type __kernel_size_t = __kernel_ulong_t ; pub type __kernel_ssize_t = __kernel_long_t ; pub type __kernel_ptrdiff_t = __kernel_long_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __kernel_fsid_t { pub val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___kernel_fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __kernel_fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __kernel_fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __kernel_fsid_t > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __kernel_fsid_t ) , "::" , stringify ! ( val ) ) ) ; } pub type __kernel_off_t = __kernel_long_t ; pub type __kernel_loff_t = :: std :: os :: raw :: c_longlong ; pub type __kernel_time_t = __kernel_long_t ; pub type __kernel_clock_t = __kernel_long_t ; pub type __kernel_timer_t = :: std :: os :: raw :: c_int ; pub type __kernel_clockid_t = :: std :: os :: raw :: c_int ; pub type __kernel_caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __kernel_uid16_t = :: std :: os :: raw :: c_ushort ; pub type __kernel_gid16_t = :: std :: os :: raw :: c_ushort ; pub type __le16 = __u16 ; pub type __be16 = __u16 ; pub type __le32 = __u32 ; pub type __be32 = __u32 ; pub type __le64 = __u64 ; pub type __be64 = __u64 ; pub type __sum16 = __u16 ; pub type __wsum = __u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct taskstats { pub version : __u16 , pub ac_exitcode : __u32 , pub ac_flag : __u8 , pub ac_nice : __u8 , pub cpu_count : __u64 , pub cpu_delay_total : __u64 , pub blkio_count : __u64 , pub blkio_delay_total : __u64 , pub swapin_count : __u64 , pub swapin_delay_total : __u64 , pub cpu_run_real_total : __u64 , pub cpu_run_virtual_total : __u64 , pub ac_comm : [ :: std :: os :: raw :: c_char ; 32usize ] , pub ac_sched : __u8 , pub ac_pad : [ __u8 ; 3usize ] , pub __bindgen_padding_0 : u32 , pub ac_uid : __u32 , pub ac_gid : __u32 , pub ac_pid : __u32 , pub ac_ppid : __u32 , pub ac_btime : __u32 , pub ac_etime : __u64 , pub ac_utime : __u64 , pub ac_stime : __u64 , pub ac_minflt : __u64 , pub ac_majflt : __u64 , pub coremem : __u64 , pub virtmem : __u64 , pub hiwater_rss : __u64 , pub hiwater_vm : __u64 , pub read_char : __u64 , pub write_char : __u64 , pub read_syscalls : __u64 , pub write_syscalls : __u64 , pub read_bytes : __u64 , pub write_bytes : __u64 , pub cancelled_write_bytes : __u64 , pub nvcsw : __u64 , pub nivcsw : __u64 , pub ac_utimescaled : __u64 , pub ac_stimescaled : __u64 , pub cpu_scaled_run_real_total : __u64 , pub freepages_count : __u64 , pub freepages_delay_total : __u64 , } # [ test ] fn bindgen_test_layout_taskstats ( ) { assert_eq ! ( :: std :: mem :: size_of :: < taskstats > ( ) , 328usize , concat ! ( "Size of: " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < taskstats > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( taskstats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . version as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( version ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_exitcode as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_exitcode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_nice as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_nice ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_delay_total as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_count as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . blkio_delay_total as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( blkio_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_count as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . swapin_delay_total as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( swapin_delay_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_real_total as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_run_virtual_total as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_run_virtual_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_comm as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_comm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_sched as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_sched ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pad as * const _ as usize } , 113usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pad ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_uid as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_gid as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_pid as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_pid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_ppid as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_ppid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_btime as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_btime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_etime as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_etime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utime as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stime as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_minflt as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_minflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_majflt as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_majflt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . coremem as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( coremem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . virtmem as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( virtmem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_rss as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_rss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . hiwater_vm as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( hiwater_vm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_char as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_char as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_char ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_syscalls as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_syscalls as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_syscalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . read_bytes as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( read_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . write_bytes as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cancelled_write_bytes as * const _ as usize } , 264usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cancelled_write_bytes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nvcsw as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nvcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . nivcsw as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( nivcsw ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_utimescaled as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_utimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . ac_stimescaled as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( ac_stimescaled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . cpu_scaled_run_real_total as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( cpu_scaled_run_real_total ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_count as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < taskstats > ( ) ) ) . freepages_delay_total as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( taskstats ) , "::" , stringify ! ( freepages_delay_total ) ) ) ; } pub const TASKSTATS_CMD_UNSPEC : _bindgen_ty_1 = 0 ; pub const TASKSTATS_CMD_GET : _bindgen_ty_1 = 1 ; pub const TASKSTATS_CMD_NEW : _bindgen_ty_1 = 2 ; pub const __TASKSTATS_CMD_MAX : _bindgen_ty_1 = 3 ; pub type _bindgen_ty_1 = u32 ; pub const TASKSTATS_TYPE_UNSPEC : _bindgen_ty_2 = 0 ; pub const TASKSTATS_TYPE_PID : _bindgen_ty_2 = 1 ; pub const TASKSTATS_TYPE_TGID : _bindgen_ty_2 = 2 ; pub const TASKSTATS_TYPE_STATS : _bindgen_ty_2 = 3 ; pub const TASKSTATS_TYPE_AGGR_PID : _bindgen_ty_2 = 4 ; pub const TASKSTATS_TYPE_AGGR_TGID : _bindgen_ty_2 = 5 ; pub const TASKSTATS_TYPE_NULL : _bindgen_ty_2 = 6 ; pub const __TASKSTATS_TYPE_MAX : _bindgen_ty_2 = 7 ; pub type _bindgen_ty_2 = u32 ; pub const TASKSTATS_CMD_ATTR_UNSPEC : _bindgen_ty_3 = 0 ; pub const TASKSTATS_CMD_ATTR_PID : _bindgen_ty_3 = 1 ; pub const TASKSTATS_CMD_ATTR_TGID : _bindgen_ty_3 = 2 ; pub const TASKSTATS_CMD_ATTR_REGISTER_CPUMASK : _bindgen_ty_3 = 3 ; pub const TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK : _bindgen_ty_3 = 4 ; pub const __TASKSTATS_CMD_ATTR_MAX : _bindgen_ty_3 = 5 ; pub type _bindgen_ty_3 = u32 ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bindgen_test_layout__IO_marker` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn bindgen_test_layout__IO_marker() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_io_marker` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_read_ptr` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | pub _IO_read_ptr: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_read_ptr` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_read_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub _IO_read_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_read_end` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_read_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | pub _IO_read_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_read_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_write_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | pub _IO_write_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_write_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_write_ptr` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | pub _IO_write_ptr: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_write_ptr` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_write_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | pub _IO_write_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_write_end` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_buf_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | pub _IO_buf_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_buf_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_buf_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | pub _IO_buf_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_io_buf_end` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_save_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | pub _IO_save_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_save_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_backup_base` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | pub _IO_backup_base: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_backup_base` [INFO] [stderr] [INFO] [stderr] warning: structure field `_IO_save_end` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | pub _IO_save_end: *mut ::std::os::raw::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_io_save_end` [INFO] [stderr] [INFO] [stderr] warning: function `bindgen_test_layout__IO_FILE` should have a snake case name [INFO] [stderr] --> src/netlink/sys.rs:93:4 [INFO] [stderr] | [INFO] [stderr] 93 | fn bindgen_test_layout__IO_FILE() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bindgen_test_layout_io_file` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_UNUSED` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1023:11 [INFO] [stderr] | [INFO] [stderr] 1023 | pub const nl_mmap_status_NL_MMAP_STATUS_UNUSED: nl_mmap_status = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_UNUSED` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_RESERVED` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1024:11 [INFO] [stderr] | [INFO] [stderr] 1024 | pub const nl_mmap_status_NL_MMAP_STATUS_RESERVED: nl_mmap_status = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_RESERVED` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_VALID` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1025:11 [INFO] [stderr] | [INFO] [stderr] 1025 | pub const nl_mmap_status_NL_MMAP_STATUS_VALID: nl_mmap_status = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_VALID` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_COPY` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1026:11 [INFO] [stderr] | [INFO] [stderr] 1026 | pub const nl_mmap_status_NL_MMAP_STATUS_COPY: nl_mmap_status = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_COPY` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_mmap_status_NL_MMAP_STATUS_SKIP` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1027:11 [INFO] [stderr] | [INFO] [stderr] 1027 | pub const nl_mmap_status_NL_MMAP_STATUS_SKIP: nl_mmap_status = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_MMAP_STATUS_NL_MMAP_STATUS_SKIP` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type_NL_DUMP_LINE` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1128:11 [INFO] [stderr] | [INFO] [stderr] 1128 | pub const nl_dump_type_NL_DUMP_LINE: nl_dump_type = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_LINE` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type_NL_DUMP_DETAILS` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1130:11 [INFO] [stderr] | [INFO] [stderr] 1130 | pub const nl_dump_type_NL_DUMP_DETAILS: nl_dump_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_DETAILS` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type_NL_DUMP_STATS` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1132:11 [INFO] [stderr] | [INFO] [stderr] 1132 | pub const nl_dump_type_NL_DUMP_STATS: nl_dump_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_STATS` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_dump_type___NL_DUMP_MAX` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1133:11 [INFO] [stderr] | [INFO] [stderr] 1133 | pub const nl_dump_type___NL_DUMP_MAX: nl_dump_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_DUMP_TYPE_NL_DUMP_MAX` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_action_NL_OK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1368:11 [INFO] [stderr] | [INFO] [stderr] 1368 | pub const nl_cb_action_NL_OK: nl_cb_action = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_ACTION_NL_OK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_action_NL_SKIP` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1370:11 [INFO] [stderr] | [INFO] [stderr] 1370 | pub const nl_cb_action_NL_SKIP: nl_cb_action = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_ACTION_NL_SKIP` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_action_NL_STOP` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1372:11 [INFO] [stderr] | [INFO] [stderr] 1372 | pub const nl_cb_action_NL_STOP: nl_cb_action = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_ACTION_NL_STOP` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_DEFAULT` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1377:11 [INFO] [stderr] | [INFO] [stderr] 1377 | pub const nl_cb_kind_NL_CB_DEFAULT: nl_cb_kind = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_DEFAULT` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_VERBOSE` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1379:11 [INFO] [stderr] | [INFO] [stderr] 1379 | pub const nl_cb_kind_NL_CB_VERBOSE: nl_cb_kind = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_VERBOSE` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_DEBUG` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1381:11 [INFO] [stderr] | [INFO] [stderr] 1381 | pub const nl_cb_kind_NL_CB_DEBUG: nl_cb_kind = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_DEBUG` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind_NL_CB_CUSTOM` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1383:11 [INFO] [stderr] | [INFO] [stderr] 1383 | pub const nl_cb_kind_NL_CB_CUSTOM: nl_cb_kind = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_CUSTOM` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_kind___NL_CB_KIND_MAX` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1385:11 [INFO] [stderr] | [INFO] [stderr] 1385 | pub const nl_cb_kind___NL_CB_KIND_MAX: nl_cb_kind = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_KIND_NL_CB_KIND_MAX` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_VALID` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1390:11 [INFO] [stderr] | [INFO] [stderr] 1390 | pub const nl_cb_type_NL_CB_VALID: nl_cb_type = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_VALID` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_FINISH` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1392:11 [INFO] [stderr] | [INFO] [stderr] 1392 | pub const nl_cb_type_NL_CB_FINISH: nl_cb_type = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_FINISH` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_OVERRUN` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1394:11 [INFO] [stderr] | [INFO] [stderr] 1394 | pub const nl_cb_type_NL_CB_OVERRUN: nl_cb_type = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_OVERRUN` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_SKIPPED` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1396:11 [INFO] [stderr] | [INFO] [stderr] 1396 | pub const nl_cb_type_NL_CB_SKIPPED: nl_cb_type = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_SKIPPED` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_ACK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1398:11 [INFO] [stderr] | [INFO] [stderr] 1398 | pub const nl_cb_type_NL_CB_ACK: nl_cb_type = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_ACK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_MSG_IN` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1400:11 [INFO] [stderr] | [INFO] [stderr] 1400 | pub const nl_cb_type_NL_CB_MSG_IN: nl_cb_type = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_MSG_IN` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_MSG_OUT` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1402:11 [INFO] [stderr] | [INFO] [stderr] 1402 | pub const nl_cb_type_NL_CB_MSG_OUT: nl_cb_type = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_MSG_OUT` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_INVALID` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1404:11 [INFO] [stderr] | [INFO] [stderr] 1404 | pub const nl_cb_type_NL_CB_INVALID: nl_cb_type = 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_INVALID` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_SEQ_CHECK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1406:11 [INFO] [stderr] | [INFO] [stderr] 1406 | pub const nl_cb_type_NL_CB_SEQ_CHECK: nl_cb_type = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_SEQ_CHECK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_SEND_ACK` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1408:11 [INFO] [stderr] | [INFO] [stderr] 1408 | pub const nl_cb_type_NL_CB_SEND_ACK: nl_cb_type = 9; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_SEND_ACK` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type_NL_CB_DUMP_INTR` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1410:11 [INFO] [stderr] | [INFO] [stderr] 1410 | pub const nl_cb_type_NL_CB_DUMP_INTR: nl_cb_type = 10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_DUMP_INTR` [INFO] [stderr] [INFO] [stderr] warning: constant `nl_cb_type___NL_CB_TYPE_MAX` should have an upper case name [INFO] [stderr] --> src/netlink/sys.rs:1412:11 [INFO] [stderr] | [INFO] [stderr] 1412 | pub const nl_cb_type___NL_CB_TYPE_MAX: nl_cb_type = 11; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NL_CB_TYPE_NL_CB_TYPE_MAX` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.19s [INFO] running `"docker" "inspect" "66ec5dc0fa324f116362e9667607858d7d8a3f1e1c115f790fe1260709995714"` [INFO] running `"docker" "rm" "-f" "66ec5dc0fa324f116362e9667607858d7d8a3f1e1c115f790fe1260709995714"` [INFO] [stdout] 66ec5dc0fa324f116362e9667607858d7d8a3f1e1c115f790fe1260709995714