tpm2-policy 0.2.0

Specify and send TPM2 policies to satisfy object authorization
Build #280877 2020-08-13T08:54:55.879394+00:00
# rustc version
rustc 1.47.0-nightly (576d27c5a 2020-08-12)
# docs.rs version
docsrs 0.6.0 (9c55f9b 2020-08-12)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/tpm2-policy-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/tpm2-policy-0.2.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" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --static-root-path / --cap-lints warn --extern-html-root-url tss_esapi=https://docs.rs/tss-esapi/4.0.6-alpha.1 --extern-html-root-url serde=https://docs.rs/serde/1.0.115 --extern-html-root-url base64=https://docs.rs/base64/0.12.3 --resource-suffix -20200812-1.47.0-nightly-576d27c5a" "-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" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "-j2", kill_on_drop: false }`
[INFO] [stdout] cafb9d1936e742e14241e6e23ee73ffb63d962dcacbb2401868034c75c6c8eaa
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cafb9d1936e742e14241e6e23ee73ffb63d962dcacbb2401868034c75c6c8eaa", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling bindgen v0.54.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking hostname-validator v1.0.0
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling mbox v0.5.0
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling clap v2.33.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling enumflags2_derive v0.6.4
[INFO] [stderr]    Compiling num-derive v0.3.1
[INFO] [stderr]     Checking enumflags2 v0.6.4
[INFO] [stderr]    Compiling tss-esapi v4.0.6-alpha.1
[INFO] [stderr] error: failed to run custom build command for `tss-esapi v4.0.6-alpha.1`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/tss-esapi-4137d1a6fa11fe6a/build-script-build` (exit code: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=TSS2_ESYS_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=TSS2_ESYS_STATIC
[INFO] [stderr]   cargo:rerun-if-env-changed=TSS2_ESYS_DYNAMIC
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at 'Error with pkg-config finding tss2-esys.: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"tss2-esys\" \"tss2-esys >= 2.3.3\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package tss2-esys was not found in the pkg-config search path.\nPerhaps you should add the directory containing `tss2-esys.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'tss2-esys\' found\nPackage tss2-esys was not found in the pkg-config search path.\nPerhaps you should add the directory containing `tss2-esys.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'tss2-esys\' found\n" } }', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tss-esapi-4.0.6-alpha.1/build.rs:14:14
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "cafb9d1936e742e14241e6e23ee73ffb63d962dcacbb2401868034c75c6c8eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cafb9d1936e742e14241e6e23ee73ffb63d962dcacbb2401868034c75c6c8eaa", kill_on_drop: false }`
[INFO] [stdout] cafb9d1936e742e14241e6e23ee73ffb63d962dcacbb2401868034c75c6c8eaa