tflite 0.9.3

Rust bindings for TensorFlow Lite
Build #319417 2020-11-26T08:38:24.884670+00:00
# rustc version
rustc 1.50.0-nightly (1c389ffef 2020-11-24)
# docs.rs version
docsrs 0.6.0 (31c864e 2020-11-22)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/tflite-0.9.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/tflite-0.9.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" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--no-default-features" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20201124-1.50.0-nightly-1c389ffef" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", 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] 639acf28f76041d5bbb33b8e1d6a2e0b4ee1272c6ec7dd6798e8bd6673872615
[INFO] running `Command { std: "docker" "start" "-a" "639acf28f76041d5bbb33b8e1d6a2e0b4ee1272c6ec7dd6798e8bd6673872615", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling syn v1.0.35
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling if_rust_version v1.0.0
[INFO] [stderr]    Compiling termcolor v1.0.4
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling bindgen v0.55.1
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling cc v1.0.65
[INFO] [stderr]    Compiling lazycell v1.2.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling byteorder v1.2.6
[INFO] [stderr]     Checking maybe-owned v0.3.4
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling clang-sys v1.0.3
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling libloading v0.6.5
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling cpp_common v0.5.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling cpp_macros v0.5.5
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling cpp_build v0.5.5
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking cpp v0.5.5
[INFO] [stderr]    Compiling tflite v0.9.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: function is never used: `binary_changing_features`
[INFO] [stderr]   --> build.rs:71:4
[INFO] [stderr]    |
[INFO] [stderr] 71 | fn binary_changing_features() -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `tflite v0.9.3 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/tflite-d6b035f643386d1f/build-script-build` (exit code: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   CXX_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CXX_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CXX = None
[INFO] [stderr]   CXX = None
[INFO] [stderr]   CXXFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CXXFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CXXFLAGS = None
[INFO] [stderr]   CXXFLAGS = None
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[INFO] [stderr]   running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/workdir" "-I" "/opt/rustwide/workdir/submodules/tensorflow" "-I" "/opt/rustwide/workdir/submodules/downloads/flatbuffers/include" "-Wall" "-Wextra" "-fPIC" "-std=c++14" "-Wno-sign-compare" "-DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK" "-o" "/opt/rustwide/target/debug/build/tflite-c1e3f24fabfb3ffa/out/rust_cpp/cpp_closures.o" "-c" "/opt/rustwide/target/debug/build/tflite-c1e3f24fabfb3ffa/out/rust_cpp/cpp_closures.cpp"
[INFO] [stderr]   exit code: 0
[INFO] [stderr]   AR_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   AR_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_AR = None
[INFO] [stderr]   AR = None
[INFO] [stderr]   running: "ar" "cq" "/opt/rustwide/target/debug/build/tflite-c1e3f24fabfb3ffa/out/librust_cpp_generated.a" "/opt/rustwide/target/debug/build/tflite-c1e3f24fabfb3ffa/out/rust_cpp/cpp_closures.o"
[INFO] [stderr]   exit code: 0
[INFO] [stderr]   running: "ar" "s" "/opt/rustwide/target/debug/build/tflite-c1e3f24fabfb3ffa/out/librust_cpp_generated.a"
[INFO] [stderr]   exit code: 0
[INFO] [stderr]   cargo:rustc-link-lib=static=rust_cpp_generated
[INFO] [stderr]   cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/tflite-c1e3f24fabfb3ffa/out
[INFO] [stderr]   CXXSTDLIB_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CXXSTDLIB_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CXXSTDLIB = None
[INFO] [stderr]   CXXSTDLIB = None
[INFO] [stderr]   cargo:rustc-link-lib=stdc++
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at '[feature = build] not set and environment variables TFLITE_X86_64_LIB_DIR and TFLITE_LIB_DIR are not set', build.rs:166:13
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "639acf28f76041d5bbb33b8e1d6a2e0b4ee1272c6ec7dd6798e8bd6673872615", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "639acf28f76041d5bbb33b8e1d6a2e0b4ee1272c6ec7dd6798e8bd6673872615", kill_on_drop: false }`
[INFO] [stdout] 639acf28f76041d5bbb33b8e1d6a2e0b4ee1272c6ec7dd6798e8bd6673872615