cpu_cycles_reader 0.1.3

perf_event_read package specialized for reading cpu cycles
Documentation
Build #856261 2023-07-07 09:35:19

# rustc version rustc 1.72.0-nightly (85bf07972 2023-07-06)

# docs.rs version docsrs 0.6.0 (84edb415 2023-07-07)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cpu_cycles_reader-0.1.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cpu_cycles_reader-0.1.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230706-1.72.0-nightly-85bf07972\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 86e1377beb6ada1fb161734865a4d2a544e28c0bd0bea4a0ef7e336d14e6be0c [INFO] running `Command { std: "docker" "start" "-a" "86e1377beb6ada1fb161734865a4d2a544e28c0bd0bea4a0ef7e336d14e6be0c", kill_on_drop: false }` [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] warning: src/ffi/ffi.c: In function 'createCyclesReader': [INFO] [stderr] warning: src/ffi/ffi.c:31:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] [INFO] [stderr] warning: 31 | memset(&pe, 0, sizeof(struct perf_event_attr)); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: src/ffi/ffi.c:7:1: note: include '<string.h>' or provide a declaration of 'memset' [INFO] [stderr] warning: 6 | #include <unistd.h> [INFO] [stderr] warning: +++ |+#include <string.h> [INFO] [stderr] warning: 7 | [INFO] [stderr] warning: src/ffi/ffi.c:31:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] [INFO] [stderr] warning: 31 | memset(&pe, 0, sizeof(struct perf_event_attr)); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: src/ffi/ffi.c:31:5: note: include '<string.h>' or provide a declaration of 'memset' [INFO] [stderr] Documenting cpu_cycles_reader v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "86e1377beb6ada1fb161734865a4d2a544e28c0bd0bea4a0ef7e336d14e6be0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e1377beb6ada1fb161734865a4d2a544e28c0bd0bea4a0ef7e336d14e6be0c", kill_on_drop: false }` [INFO] [stdout] 86e1377beb6ada1fb161734865a4d2a544e28c0bd0bea4a0ef7e336d14e6be0c