visa-sys 0.1.0

FFI bind to VISA(Virtual Instrument Software Architecture) library
Build #558478 2022-05-14T07:37:44.337938+00:00
# rustc version
rustc 1.62.0-nightly (f1f721e64 2022-05-13)
# docs.rs version
docsrs 0.6.0 (ff301c9 2022-04-27)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/visa-sys-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/visa-sys-0.1.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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/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\", \"-20220513-1.62.0-nightly-f1f721e64\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-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] 3f7a8cd354665a630bd4b7e9bdb97ee3e39c1f2d8ea69130801b09ce53ca4c0a
[INFO] running `Command { std: "docker" "start" "-a" "3f7a8cd354665a630bd4b7e9bdb97ee3e39c1f2d8ea69130801b09ce53ca4c0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling visa-sys v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `visa-sys v0.1.0 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/visa-sys-877fd8483c0c43fc/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rustc-link-lib=visa64
[INFO] [stderr]   cargo:rerun-if-changed=wrapper.h
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   include/visatype.h:22:110: error: token is not a valid binary operator in a preprocessor subexpression
[INFO] [stderr]   include/visatype.h:22:110: error: token is not a valid binary operator in a preprocessor subexpression, err: true
[INFO] [stderr]   thread 'main' panicked at 'Unable to generate bindings: ()', build.rs:34:10
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "3f7a8cd354665a630bd4b7e9bdb97ee3e39c1f2d8ea69130801b09ce53ca4c0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f7a8cd354665a630bd4b7e9bdb97ee3e39c1f2d8ea69130801b09ce53ca4c0a", kill_on_drop: false }`
[INFO] [stdout] 3f7a8cd354665a630bd4b7e9bdb97ee3e39c1f2d8ea69130801b09ce53ca4c0a