evdev-rs 0.4.0

Bindings to libevdev for interacting with evdev devices. It moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc.
Documentation
Build #243661 2020-04-26T08:13:28.536471+00:00
# rustc version
rustc 1.45.0-nightly (0862458da 2020-04-25)# docs.rs version
docsrs 0.6.0 (bc15998 2020-04-16)# build log
[INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/evdev-rs-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/evdev-rs-0.4.0/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" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20200425-1.45.0-nightly-0862458da --static-root-path / --cap-lints warn --extern-html-root-url bitflags=https://docs.rs/bitflags/1.2.1 --extern-html-root-url libc=https://docs.rs/libc/0.2.67 --extern-html-root-url evdev_sys=https://docs.rs/evdev-sys/0.2.1 --extern-html-root-url log=https://docs.rs/log/0.4.8" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "-j2"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d381e174b54b91c6580bce531cdf95446789d80df5e0ae31f7619ba1908fff93
[INFO] running `"docker" "start" "-a" "d381e174b54b91c6580bce531cdf95446789d80df5e0ae31f7619ba1908fff93"`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling evdev-sys v0.2.1
[INFO] [stderr] error: failed to run custom build command for `evdev-sys v0.2.1`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/evdev-sys-0943cb8ffc2bfc1b/build-script-build` (exit code: 101)
[INFO] [stderr] --- stdout
[INFO] [stderr] cargo:rustc-link-search=/opt/rustwide/target/debug/build/evdev-sys-8e108bc5d642abf2/out/lib
[INFO] [stderr] cargo:root=/opt/rustwide/target/debug/build/evdev-sys-8e108bc5d642abf2/out
[INFO] [stderr] cargo:include=/opt/rustwide/target/debug/build/evdev-sys-8e108bc5d642abf2/out/include
[INFO] [stderr] cargo:rerun-if-changed=libevdev/autogen.sh
[INFO] [stderr] cargo:rustc-link-lib=static=evdev
[INFO] [stderr] OPT_LEVEL = Some("0")
[INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr] CC_x86_64-unknown-linux-gnu = None
[INFO] [stderr] CC_x86_64_unknown_linux_gnu = None
[INFO] [stderr] HOST_CC = None
[INFO] [stderr] CC = None
[INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr] HOST_CFLAGS = None
[INFO] [stderr] CFLAGS = None
[INFO] [stderr] CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr] DEBUG = Some("true")
[INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
[INFO] [stderr] running: "sh" "/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/evdev-sys-0.2.1/libevdev/autogen.sh" "--host=x86_64-unknown-linux-gnu" "--prefix=/opt/rustwide/target/debug/build/evdev-sys-8e108bc5d642abf2/out"
[INFO] [stderr] 
[INFO] [stderr] --- stderr
[INFO] [stderr] fatal: not a git repository (or any parent up to mount point /opt/rustwide)
[INFO] [stderr] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[INFO] [stderr] autoreconf: Entering directory `.'
[INFO] [stderr] autoreconf: configure.ac: not using Gettext
[INFO] [stderr] autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
[INFO] [stderr] autom4te: cannot open autom4te.cache/requests: Read-only file system
[INFO] [stderr] aclocal: error: echo failed with exit status: 1
[INFO] [stderr] autoreconf: aclocal failed with exit status: 1
[INFO] [stderr] thread 'main' panicked at 'assertion failed: t!(cmd . status()).success()', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/evdev-sys-0.2.1/build.rs:75:5
[INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stderr] 
[INFO] running `"docker" "inspect" "d381e174b54b91c6580bce531cdf95446789d80df5e0ae31f7619ba1908fff93"`
[INFO] running `"docker" "rm" "-f" "d381e174b54b91c6580bce531cdf95446789d80df5e0ae31f7619ba1908fff93"`
[INFO] [stdout] d381e174b54b91c6580bce531cdf95446789d80df5e0ae31f7619ba1908fff93