twistedfall / opencv-rust

Rust bindings for OpenCV 3 & 4
MIT License
1.93k stars 152 forks source link

opencv-rust won't build after 0.41.1 on OSX do to cuda deps #159

Closed dadkins789 closed 4 years ago

dadkins789 commented 4 years ago

Before reporting an issue please first check the troubleshooting guide. If the issue you're encountering is not solved thereby please state the following in your bugreport:

  1. Operating system
  2. The way you installed OpenCV: package, official binary distribution, manual compilation, etc.
  3. OpenCV version
  4. Attach the full output of the following command from your project directory:
    RUST_BACKTRACE=full cargo build -vv 

    OSX 10.15.6

OpenCV 4.4.0 built using command line tools.

running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.44.1/src_cpp" "-I" "/Volumes/Work/src/rustgtkclient/target/release/build/opencv-f947e94bb244eed7/out" "-I" "." "-I" "/usr/local/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Volumes/Work/src/rustgtkclient/target/release/build/opencv-f947e94bb244eed7/out/cudafilters.o" "-c" "/Volumes/Work/src/rustgtkclient/target/release/build/opencv-f947e94bb244eed7/out/cudafilters.cpp"

Pretty self explanitory. Cuda support was added after 0.41 nothing later builds no CUDA support on OSX anymore.

twistedfall commented 4 years ago

Hi, I fail to grasp the problem TBH. You are saying that CUDA is no longer supported on macOS, am I right? But the crate generates the OpenCV bindings based on the OpenCV you have installed. So if it tries to build CUDA modules then it means that your OpenCV installation contains those modules. So if they don’t work then you should exclude them from your OpenCV installation.

You haven’t provided the exact error you’re getting and the output of cargo build -vv, that makes troubleshooting really difficult.

dadkins789 commented 4 years ago

I have a build of opencv 4.4 that does not include CUDA support. I’m attaching the CMakeCache.txt which indicates all CUDA support is disabled and the -vv output from cargo after a clean.

When built with 0.41 its fine when built with 0.42 or later it looks for CUDA. Since the laptop does not have an NVIDIA GPU CUDA support is a little problematic.

vvlog.txt is the output of cargo build -vv >& blog.txt CMakeCache.txt is the opencv build.

Thanks

Dave

On Jul 31, 2020, at 12:51 PM, twistedfall notifications@github.com wrote:

Hi, I fail to grasp the problem TBH. You are saying that CUDA is no longer supported on macOS, am I right? But the crate generates the OpenCV bindings based on the OpenCV you have installed. So if it tries to build CUDA modules then it means that your OpenCV installation contains those modules. So if they don’t work then you should exclude them from your OpenCV installation.

You haven’t provided the exact error you’re getting and the output of cargo build -vv, that makes troubleshooting really difficult.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/twistedfall/opencv-rust/issues/159#issuecomment-667252664, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMWVQ64UCKN5IDGL5U2E4LR6MABFANCNFSM4PQT535Q.

Compiling proc-macro2 v1.0.19 Fresh unicode-xid v0.2.1 Compiling syn v1.0.36 Compiling serde_derive v1.0.114 Compiling serde v1.0.114 Compiling pkg-config v0.3.18 Compiling unicode-segmentation v1.6.0 Fresh strum v0.18.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.19 CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>:David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''sproc_macroAPI to decouple token-based libraries from the procedural macro use case. ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=proc-macro2 CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/proc-macro2' CARGO_PKG_VERSION=1.0.19 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=19 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.19/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=d2d260585aab8b01 -C extra-filename=-d2d260585aab8b01 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/proc-macro2-d2d260585aab8b01 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.36 CARGO_PKG_AUTHORS='David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='Parser for Rust source code' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=syn CARGO_PKG_REPOSITORY='https://github.com/dtolnay/syn' CARGO_PKG_VERSION=1.0.36 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=36 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.36/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' -C metadata=fa6295de115cbe59 -C extra-filename=-fa6295de115cbe59 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/syn-fa6295de115cbe59 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.114 CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar@gmail.com>:David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='Macros 1.1 implementation of #[derive(Serialize, Deserialize)]' CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_NAME=serde_derive CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde' CARGO_PKG_VERSION=1.0.114 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=114 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.114/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' -C metadata=ae3ddbf8bf33ac22 -C extra-filename=-ae3ddbf8bf33ac22 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/serde_derive-ae3ddbf8bf33ac22 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.114 CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar@gmail.com>:David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='A generic serialization/deserialization framework' CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_NAME=serde CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde' CARGO_PKG_VERSION=1.0.114 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=114 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.114/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=357de0002461c007 -C extra-filename=-357de0002461c007 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/serde-357de0002461c007 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.3.18 CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>' CARGO_PKG_DESCRIPTION='A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts. ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=pkg-config CARGO_PKG_REPOSITORY='https://github.com/rust-lang/pkg-config-rs' CARGO_PKG_VERSION=0.3.18 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=18 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name pkg_config /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.3.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=23c7ff7897c58f7c -C extra-filename=-23c7ff7897c58f7c --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling version-compare v0.0.10 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-segmentation-1.6.0 CARGO_PKG_AUTHORS='kwantam <kwantam@gmail.com>:Manish Goregaokar <manishsmail@gmail.com>' CARGO_PKG_DESCRIPTION='This crate provides Grapheme Cluster, Word and Sentence boundaries according to Unicode Standard Annex #29 rules. ' CARGO_PKG_HOMEPAGE='https://github.com/unicode-rs/unicode-segmentation' CARGO_PKG_NAME=unicode-segmentation CARGO_PKG_REPOSITORY='https://github.com/unicode-rs/unicode-segmentation' CARGO_PKG_VERSION=1.6.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name unicode_segmentation /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-segmentation-1.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=0e8cda0d827bcaa3 -C extra-filename=-0e8cda0d827bcaa3 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling libc v0.2.73 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/version-compare-0.0.10 CARGO_PKG_AUTHORS='timvisee <timvisee@gmail.com>' CARGO_PKG_DESCRIPTION='A Rust library to easily compare version numbers, and test them against various comparison operators.' CARGO_PKG_HOMEPAGE='https://github.com/timvisee/version-compare' CARGO_PKG_NAME=version-compare CARGO_PKG_REPOSITORY='https://github.com/timvisee/version-compare' CARGO_PKG_VERSION=0.0.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name version_compare --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/version-compare-0.0.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' -C metadata=07212b98ad134787 -C extra-filename=-07212b98ad134787 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc. ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_VERSION=0.2.73 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=73 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=58826bb9fd0a10b3 -C extra-filename=-58826bb9fd0a10b3 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/libc-58826bb9fd0a10b3 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn warning: ... range patterns are deprecated --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-segmentation-1.6.0/src/tables.rs:33:17 33 'a' ... 'z' 'A' ... 'Z' => true, ^^^ help: use ..= for an inclusive range

= note: #[warn(ellipsis_inclusive_range_patterns)] on by default

warning: ... range patterns are deprecated --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-segmentation-1.6.0/src/tables.rs:33:31 | 33 | 'a' ... 'z' | 'A' ... 'Z' => true, | ^^^ help: use ..= for an inclusive range

warning: ... range patterns are deprecated --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-segmentation-1.6.0/src/tables.rs:42:17 | 42 | '0' ... '9' => true, | ^^^ help: use ..= for an inclusive range

Compiling autocfg v1.0.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0 CARGO_PKG_AUTHORS='Josh Stone <cuviper@gmail.com>' CARGO_PKG_DESCRIPTION='Automatic cfg for Rust compiler features' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=autocfg CARGO_PKG_REPOSITORY='https://github.com/cuviper/autocfg' CARGO_PKG_VERSION=1.0.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name autocfg /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=3fca0266d791ff8f -C extra-filename=-3fca0266d791ff8f --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling version_check v0.9.2 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/version_check-0.9.2 CARGO_PKG_AUTHORS='Sergio Benitez <sb@sergio.bz>' CARGO_PKG_DESCRIPTION='Tiny crate to check the version of the installed/running rustc.' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=version_check CARGO_PKG_REPOSITORY='https://github.com/SergioBenitez/version_check' CARGO_PKG_VERSION=0.9.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name version_check /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/version_check-0.9.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=10fbc8af6103ae58 -C extra-filename=-10fbc8af6103ae58 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling memchr v2.3.3 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.3 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam@gmail.com>:bluss' CARGO_PKG_DESCRIPTION='Safe interface to memchr.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/rust-memchr' CARGO_PKG_NAME=memchr CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/rust-memchr' CARGO_PKG_VERSION=2.3.3 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.3/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="use_std"' -C metadata=1e5c8443535c5721 -C extra-filename=-1e5c8443535c5721 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/memchr-1e5c8443535c5721 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling proc-macro-hack v0.5.18 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-hack-0.5.18 CARGO_PKG_AUTHORS='David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='Procedural macros in expression position' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=proc-macro-hack CARGO_PKG_REPOSITORY='https://github.com/dtolnay/proc-macro-hack' CARGO_PKG_VERSION=0.5.18 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=18 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name proc_macro_hack --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-hack-0.5.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -Cembed-bitcode=no -C metadata=3f856839e4503d51 -C extra-filename=-3f856839e4503d51 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --extern proc_macro --cap-lints warn Compiling once_cell v1.4.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.4.0 CARGO_PKG_AUTHORS='Aleksey Kladov <aleksey.kladov@gmail.com>' CARGO_PKG_DESCRIPTION='Single assignment cells and lazy values.' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=once_cell CARGO_PKG_REPOSITORY='https://github.com/matklad/once_cell' CARGO_PKG_VERSION=1.4.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name once_cell --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=79fb9a36f59a8c0d -C extra-filename=-79fb9a36f59a8c0d --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling cfg-if v0.1.10 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10 CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>' CARGO_PKG_DESCRIPTION='A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted. ' CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cfg-if' CARGO_PKG_NAME=cfg-if CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_VERSION=0.1.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name cfg_if --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=7f9b95463eb680b6 -C extra-filename=-7f9b95463eb680b6 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling pin-project-internal v0.4.23 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-internal-0.4.23 CARGO_PKG_AUTHORS='Taiki Endo <te316e89@gmail.com>' CARGO_PKG_DESCRIPTION='An internal crate to support pin_project - do not use directly ' CARGO_PKG_HOMEPAGE='https://github.com/taiki-e/pin-project' CARGO_PKG_NAME=pin-project-internal CARGO_PKG_REPOSITORY='https://github.com/taiki-e/pin-project' CARGO_PKG_VERSION=0.4.23 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=23 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-internal-0.4.23/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=5d3c1b499005e383 -C extra-filename=-5d3c1b499005e383 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/pin-project-internal-5d3c1b499005e383 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling proc-macro-nested v0.1.6 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-nested-0.1.6 CARGO_PKG_AUTHORS='David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='Support for nested proc-macro-hack invocations' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=proc-macro-nested CARGO_PKG_REPOSITORY='https://github.com/dtolnay/proc-macro-hack' CARGO_PKG_VERSION=0.1.6 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=6 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-nested-0.1.6/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=125345fcf802f92f -C extra-filename=-125345fcf802f92f --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/proc-macro-nested-125345fcf802f92f -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling futures-core v0.3.5 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5 CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>' CARGO_PKG_DESCRIPTION='The core traits and types in for thefutureslibrary. ' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs' CARGO_PKG_NAME=futures-core CARGO_PKG_REPOSITORY='https://github.com/rust-lang/futures-rs' CARGO_PKG_VERSION=0.3.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name futures_core --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=16c6adc1e45c987b -C extra-filename=-16c6adc1e45c987b --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn warning: 3 warnings emitted

Compiling futures-sink v0.3.5 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.5 CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>' CARGO_PKG_DESCRIPTION='The asynchronousSinktrait for the futures-rs library. ' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs' CARGO_PKG_NAME=futures-sink CARGO_PKG_REPOSITORY='https://github.com/rust-lang/futures-rs' CARGO_PKG_VERSION=0.3.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name futures_sink --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=fcfcbf97af1afc8a -C extra-filename=-fcfcbf97af1afc8a --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling slab v0.4.2 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/slab-0.4.2 CARGO_PKG_AUTHORS='Carl Lerche <me@carllerche.com>' CARGO_PKG_DESCRIPTION='Pre-allocated storage for a uniform data type' CARGO_PKG_HOMEPAGE='https://github.com/carllerche/slab' CARGO_PKG_NAME=slab CARGO_PKG_REPOSITORY='https://github.com/carllerche/slab' CARGO_PKG_VERSION=0.4.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name slab /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/slab-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=5ef94c0ff6c5893e -C extra-filename=-5ef94c0ff6c5893e --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling anyhow v1.0.32 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.32 CARGO_PKG_AUTHORS='David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='Flexible concrete Error type built on std::error::Error' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=anyhow CARGO_PKG_REPOSITORY='https://github.com/dtolnay/anyhow' CARGO_PKG_VERSION=1.0.32 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=32 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.32/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=72ce87afdb91ccff -C extra-filename=-72ce87afdb91ccff --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/anyhow-72ce87afdb91ccff -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling futures-io v0.3.5 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.3.5 CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>' CARGO_PKG_DESCRIPTION='TheAsyncRead,AsyncWrite,AsyncSeek, andAsyncBufReadtraits for the futures-rs library. ' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs' CARGO_PKG_NAME=futures-io CARGO_PKG_REPOSITORY='https://github.com/rust-lang/futures-rs' CARGO_PKG_VERSION=0.3.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name futures_io --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-io-0.3.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=e8ca514cdc23e5c8 -C extra-filename=-e8ca514cdc23e5c8 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling pin-utils v0.1.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-utils-0.1.0 CARGO_PKG_AUTHORS='Josef Brandl <mail@josefbrandl.de>' CARGO_PKG_DESCRIPTION='Utilities for pinning ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=pin-utils CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/pin-utils' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name pin_utils --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-utils-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=77148f8a3cf5eb8f -C extra-filename=-77148f8a3cf5eb8f --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling lazy_static v1.4.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0 CARGO_PKG_AUTHORS='Marvin Löbel <loebel.marvin@gmail.com>' CARGO_PKG_DESCRIPTION='A macro for declaring lazily evaluated statics in Rust.' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=lazy_static CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/lazy-static.rs' CARGO_PKG_VERSION=1.4.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name lazy_static /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=1a1145aaaa5925d6 -C extra-filename=-1a1145aaaa5925d6 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling either v1.5.3 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/either-1.5.3 CARGO_PKG_AUTHORS=bluss CARGO_PKG_DESCRIPTION='The enumEitherwith variantsLeftandRightis a general purpose sum type with two cases. ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=either CARGO_PKG_REPOSITORY='https://github.com/bluss/either' CARGO_PKG_VERSION=1.5.3 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name either /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/either-1.5.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=42e20656e9cd990d -C extra-filename=-42e20656e9cd990d --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling bitflags v1.2.1 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_NAME=bitflags CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_VERSION=1.2.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' -C metadata=e1b7441342edc7a2 -C extra-filename=-e1b7441342edc7a2 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/bitflags-e1b7441342edc7a2 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling getrandom v0.1.14 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14 CARGO_PKG_AUTHORS='The Rand Project Developers' CARGO_PKG_DESCRIPTION='A small cross-platform library for retrieving random data from system source' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=getrandom CARGO_PKG_REPOSITORY='https://github.com/rust-random/getrandom' CARGO_PKG_VERSION=0.1.14 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=14 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="std"' -C metadata=3eb052cb54fa0102 -C extra-filename=-3eb052cb54fa0102 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/getrandom-3eb052cb54fa0102 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling maybe-uninit v2.0.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/maybe-uninit-2.0.0 CARGO_PKG_AUTHORS='est31 <MTest31@outlook.com>:The Rust Project Developers' CARGO_PKG_DESCRIPTION='MaybeUninit for friends of backwards compatibility' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=maybe-uninit CARGO_PKG_REPOSITORY='https://github.com/est31/maybe-uninit' CARGO_PKG_VERSION=2.0.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/maybe-uninit-2.0.0/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=2efcd554f45759fb -C extra-filename=-2efcd554f45759fb --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/maybe-uninit-2efcd554f45759fb -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling gio v0.9.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/gio-0.9.0 CARGO_PKG_AUTHORS='The Gtk-rs Project Developers' CARGO_PKG_DESCRIPTION='Rust bindings for the Gio library' CARGO_PKG_HOMEPAGE='http://gtk-rs.org/' CARGO_PKG_NAME=gio CARGO_PKG_REPOSITORY='https://github.com/gtk-rs/gio' CARGO_PKG_VERSION=0.9.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/gio-0.9.0/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="v2_44"' -C metadata=a8ae11391344fa18 -C extra-filename=-a8ae11391344fa18 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/gio-a8ae11391344fa18 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling glob v0.3.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/glob-0.3.0 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Support for matching file paths against Unix shell style patterns. ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/glob' CARGO_PKG_NAME=glob CARGO_PKG_REPOSITORY='https://github.com/rust-lang/glob' CARGO_PKG_VERSION=0.3.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name glob /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/glob-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=8ed4fed31d154041 -C extra-filename=-8ed4fed31d154041 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling cairo-rs v0.9.1 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/cairo-rs-0.9.1 CARGO_PKG_AUTHORS='The Gtk-rs Project Developers' CARGO_PKG_DESCRIPTION='Rust bindings for the Cairo library' CARGO_PKG_HOMEPAGE='http://gtk-rs.org/' CARGO_PKG_NAME=cairo-rs CARGO_PKG_REPOSITORY='https://github.com/gtk-rs/cairo' CARGO_PKG_VERSION=0.9.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/cairo-rs-0.9.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="freetype"' --cfg 'feature="glib"' --cfg 'feature="glib-sys"' --cfg 'feature="gobject-sys"' --cfg 'feature="use_glib"' -C metadata=91d4c87eb425543c -C extra-filename=-91d4c87eb425543c --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/cairo-rs-91d4c87eb425543c -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn warning: trait objects without an explicit dyn are deprecated --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/glob-0.3.0/src/lib.rs:294:32 294 fn cause(&self) -> Option<&Error> { ^^^^^ help: use dyn: dyn Error
= note: `#[warn(bare_trait_objects)]` on by default
warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/glob-0.3.0/src/lib.rs:291:20 291 self.error.description() ^^^^^^^^^^^
= note: `#[warn(deprecated)]` on by default
Compiling log v0.4.11 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.11 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A lightweight logging facade for Rust ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=log CARGO_PKG_REPOSITORY='https://github.com/rust-lang/log' CARGO_PKG_VERSION=0.4.11 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.11/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="std"' -C metadata=cb76522fc0a6a557 -C extra-filename=-cb76522fc0a6a557 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/log-cb76522fc0a6a557 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling pango v0.9.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pango-0.9.0 CARGO_PKG_AUTHORS='The Gtk-rs Project Developers' CARGO_PKG_DESCRIPTION='Rust bindings for the Pango library' CARGO_PKG_HOMEPAGE='http://gtk-rs.org/' CARGO_PKG_NAME=pango CARGO_PKG_REPOSITORY='https://github.com/gtk-rs/pango' CARGO_PKG_VERSION=0.9.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/pango-0.9.0/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=3b35dd4e9a77cd81 -C extra-filename=-3b35dd4e9a77cd81 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/pango-3b35dd4e9a77cd81 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling ryu v1.0.5 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5 CARGO_PKG_AUTHORS='David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='Fast floating point to string conversion' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=ryu CARGO_PKG_REPOSITORY='https://github.com/dtolnay/ryu' CARGO_PKG_VERSION=1.0.5 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=d27c73778c3f3345 -C extra-filename=-d27c73778c3f3345 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/ryu-d27c73778c3f3345 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling semver-parser v0.7.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/semver-parser-0.7.0 CARGO_PKG_AUTHORS='Steve Klabnik <steve@steveklabnik.com>' CARGO_PKG_DESCRIPTION='Parsing of the semver spec. ' CARGO_PKG_HOMEPAGE='https://github.com/steveklabnik/semver-parser' CARGO_PKG_NAME=semver-parser CARGO_PKG_REPOSITORY='https://github.com/steveklabnik/semver-parser' CARGO_PKG_VERSION=0.7.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name semver_parser /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/semver-parser-0.7.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=b639ccbc342f7bbf -C extra-filename=-b639ccbc342f7bbf --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling gdk-pixbuf v0.9.0 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/gdk-pixbuf-0.9.0 CARGO_PKG_AUTHORS='The Gtk-rs Project Developers' CARGO_PKG_DESCRIPTION='Rust bindings for the GdkPixbuf library' CARGO_PKG_HOMEPAGE='http://gtk-rs.org/' CARGO_PKG_NAME=gdk-pixbuf CARGO_PKG_REPOSITORY='https://github.com/gtk-rs/gdk-pixbuf' CARGO_PKG_VERSION=0.9.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/gdk-pixbuf-0.9.0/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=d44ac92ec2e1f960 -C extra-filename=-d44ac92ec2e1f960 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/gdk-pixbuf-d44ac92ec2e1f960 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn warning: use of deprecated item 'try': use the ? operator instead --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/semver-parser-0.7.0/src/version.rs:75:9 75 try!(write!(f, "{}.{}.{}", self.major, self.minor, self.patch)); ^^^

= note: #[warn(deprecated)] on by default

warning: use of deprecated item 'try': use the ? operator instead --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/semver-parser-0.7.0/src/version.rs:79:13 | 79 | try!(write!(f, "-{}", strs.join("."))); | ^^^

warning: use of deprecated item 'try': use the ? operator instead --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/semver-parser-0.7.0/src/version.rs:84:13 | 84 | try!(write!(f, "+{}", strs.join("."))); | ^^^

warning: use of deprecated item 'try': use the ? operator instead --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/semver-parser-0.7.0/src/range.rs:184:22 | 184 | let predicates = try!(predicates); | ^^^

Compiling byteorder v1.3.4 Running CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam@gmail.com>' CARGO_PKG_DESCRIPTION='Library for reading/writing numbers in big-endian and little-endian.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/byteorder' CARGO_PKG_NAME=byteorder CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/byteorder' CARGO_PKG_VERSION=1.3.4 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=dae07d7729ba1ce4 -C extra-filename=-dae07d7729ba1ce4 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/byteorder-dae07d7729ba1ce4 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling scopeguard v1.1.0 Running `CARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-1.1.0 CARGO_PKG_AUTHORS=bluss CARGO_PKG_DESCRIPTION='A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic).

Defines the macros defer'\!', defer_on_unwind'\!', defer_on_success'\!' as shorthands for guards with one of the implemented strategies. ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=scopeguard CARGO_PKG_REPOSITORY='https://github.com/bluss/scopeguard' CARGO_PKG_VERSION=1.1.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name scopeguard /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=34f02d830d9764f8 -C extra-filename=-34f02d830d9764f8 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling vcpkg v0.2.10 RunningCARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/vcpkg-0.2.10 CARGO_PKG_AUTHORS='Jim McGrath jimmc2@gmail.com' CARGO_PKG_DESCRIPTION='A library to find native dependencies in a vcpkg tree at build time in order to be used in Cargo build scripts. ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=vcpkg CARGO_PKG_REPOSITORY='https://github.com/mcgoo/vcpkg-rs' CARGO_PKG_VERSION=0.2.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name vcpkg /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/vcpkg-0.2.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=3083e2cd0399d2bb -C extra-filename=-3083e2cd0399d2bb --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling serde_json v1.0.57 RunningCARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.57 CARGO_PKG_AUTHORS='Erick Tryzelaar erick.tryzelaar@gmail.com:David Tolnay dtolnay@gmail.com' CARGO_PKG_DESCRIPTION='A JSON serialization file format' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=serde_json CARGO_PKG_REPOSITORY='https://github.com/serde-rs/json' CARGO_PKG_VERSION=1.0.57 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=57 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.57/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="default"' --cfg 'feature="indexmap"' --cfg 'feature="preserve_order"' --cfg 'feature="std"' -C metadata=170f8e5b99390c48 -C extra-filename=-170f8e5b99390c48 --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/serde_json-170f8e5b99390c48 -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling gdk v0.13.0 RunningCARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/gdk-0.13.0 CARGO_PKG_AUTHORS='The Gtk-rs Project Developers' CARGO_PKG_DESCRIPTION='Rust bindings for the GDK 3 library' CARGO_PKG_HOMEPAGE='http://gtk-rs.org/' CARGO_PKG_NAME=gdk CARGO_PKG_REPOSITORY='https://github.com/gtk-rs/gdk' CARGO_PKG_VERSION=0.13.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=13 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name build_script_build /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/gdk-0.13.0/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="v3_16"' --cfg 'feature="v3_18"' --cfg 'feature="v3_20"' --cfg 'feature="v3_22"' -C metadata=24137244ff8bdf4d -C extra-filename=-24137244ff8bdf4d --out-dir /Volumes/Work/src/rustgtkclient/target/release/build/gdk-24137244ff8bdf4d -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling ppv-lite86 v0.2.8 RunningCARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8 CARGO_PKG_AUTHORS='The CryptoCorrosion Contributors' CARGO_PKG_DESCRIPTION='Implementation of the crypto-simd API for x86' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=ppv-lite86 CARGO_PKG_REPOSITORY='https://github.com/cryptocorrosion/cryptocorrosion' CARGO_PKG_VERSION=0.2.8 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name ppv_lite86 --edition=2018 /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="simd"' --cfg 'feature="std"' -C metadata=fbe2cc9c080ec0f6 -C extra-filename=-fbe2cc9c080ec0f6 --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn Compiling shlex v0.1.1 RunningCARGO=/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_MANIFEST_DIR=/Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/shlex-0.1.1 CARGO_PKG_AUTHORS='comex comexk@gmail.com' CARGO_PKG_DESCRIPTION='Split a string into shell words, like Python'\''s shlex. ' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=shlex CARGO_PKG_REPOSITORY='https://github.com/comex/rust-shlex' CARGO_PKG_VERSION=0.1.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE= DYLD_FALLBACK_LIBRARY_PATH='/Volumes/Work/src/rustgtkclient/target/release/deps:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/davea/lib:/usr/local/lib:/usr/lib' rustc --crate-name shlex /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/shlex-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C metadata=b54fb629ca7eb76e -C extra-filename=-b54fb629ca7eb76e --out-dir /Volumes/Work/src/rustgtkclient/target/release/deps -L dependency=/Volumes/Work/src/rustgtkclient/target/release/deps --cap-lints warn warning: associated typeu32x4` should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:225:10 225 type u32x4: u32x4; ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U32x4
= note: `#[warn(non_camel_case_types)]` on by default

warning: associated type u64x2 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:226:10 | 226 | type u64x2: u64x2; | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U64x2

warning: associated type u128x1 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:227:10 | 227 | type u128x1: u128x1; | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U128x1

warning: associated type u32x4x2 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:229:10 | 229 | type u32x4x2: u32x4x2; | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U32x4x2

warning: associated type u64x2x2 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:230:10 | 230 | type u64x2x2: u64x2x2; | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U64x2x2

warning: associated type u64x4 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:231:10 | 231 | type u64x4: u64x4; | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U64x4

warning: associated type u128x2 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:232:10 | 232 | type u128x2: u128x2; | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U128x2

warning: associated type u32x4x4 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:234:10 | 234 | type u32x4x4: u32x4x4; | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U32x4x4

warning: associated type u64x2x4 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:235:10 | 235 | type u64x2x4: u64x2x4; | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U64x2x4

warning: associated type u128x4 should have an upper camel case name --> /Users/davea/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.8/src/types.rs:236:10 | 236 | type u128x4: u128x4; | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): U128x4

Compiling build_const v0.2.1 Running `CARGO=/Users/davea/.rustup/tool

twistedfall commented 4 years ago

You mentioned that you'd attach the build log, but I can't find any attachment. The log file you pasted into the message is incomplete unfortunately.

dadkins789 commented 4 years ago

Sorry about that. I’m compressing the log from the build “cargo build -vv >& build.log”. For some reason the osx email client forces text files in line. I’m compressing this attachment so hopefully that doesn’t happen again.

This log looks about the same as the one that got embedded. in the previous email Are there any other build flags you need beside "-vv”.

On Aug 3, 2020, at 3:36 AM, twistedfall notifications@github.com wrote:

You mentioned that you'd attach the build log, but I can't find any attachment. The log file you pasted into the message is incomplete unfortunately.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

twistedfall commented 4 years ago

The most important for me is -vv, it shows the necessary debug information. You can also upload the log somewhere like pastebin and such. One thing you can also try is making sure you build with crate feature buildtime-bindgen enabled (it’s enabled by default unless you build with default-features=false).

dadkins789 commented 4 years ago

I was using default-features=false, fixed that, ran the cargo build -vv and added RUST_BACKTRACE='full' to the environment.

build.log

twistedfall commented 4 years ago

That's interesting, can you please share the headers you have in /usr/local/include/opencv4/opencv2? It looks like there is something unexpected there.

dadkins789 commented 4 years ago

Ya, that panic was unexpected. Built the same thing on Fedora 32 as close to the same config as I could and no problem.

opencv2.headers.tar.gz

twistedfall commented 4 years ago

Can you check if rel branch works for you?

dadkins789 commented 4 years ago

Log from build on the rel branch.

build.log

twistedfall commented 4 years ago

I wonder how it turned out that "opencv2/core/cuda.hpp" is missing in your install. You have some header files, e.g. "opencv2/videostab/wobble_suppression.hpp" or "opencv2/stitching/detail/warpers.hpp" that include it (#include "opencv2/core/cuda.hpp") so that makes includes for modules videostab and stitching invalid in your headers. Even when it's built in the CI environment (definitely no CUDA there) with WITH_CUDA=OFF the "core/cuda.hpp" header is still getting installed. Can you please share in details of how you built your OpenCV installation?

dadkins789 commented 4 years ago

My procedure assuming I have all my dependencies installed which I install with brew. select version git checkout

make a build dir. run cmake " cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules -DOPENCV_GENERATE_PKGCONFIG=YES -DWITH_QT=YES -DCMAKE_VERBOSE_MAKEFILE=ON .." run make

if it all goes without error run make install

log from cmake

cmake.log

make log for opencv

make.log

I also started building this on fedora 32 with extra verbosity. It works on Fedora and it also included the offending cuda headers. Its not done building yet so I'll copy it up later.

cmake cache file from cmake on osx

CMakeCache.txt

twistedfall commented 4 years ago

Thanks, I’ll try to reproduce it! meanwhile can you try the rel branch again? I force-pushed it, the generation of the core module should work fine now, but I’m afraid some other modules like those videostab or stitching would fail.

dadkins789 commented 4 years ago

Tried rel and core was fine but it failed in other modules. I checked the installed opencv4/opencv2/core directory from a Fedora 32 build against the one that the OSX build. In the Fedora32 which worked cuda.hpp cuda.inl.hpp cuda_stream_accessor.hpp cuda_types.hpp were present. In the OSX build they were not. I manually copied them from the module/core/include/opencv2/core both the rel branch and the stock 0.44.1 built without incident. I guess that was to be expected. This sure looks like an opencv or cmake issue and not your problem.

I've got the build from rel both with and without the copied headers.

build-with-extra.log.gz build-without-extra.log.gz

twistedfall commented 4 years ago

I actually made a fresh build with options you mentioned (but also without Qt) in macOS and it did contain CUDA files. I haven’t made any deep comparisons of the logs between my build and yours though yet. But it might be worth trying to rebuild and reinstall OpenCV, maybe something went wrong the first time.

dadkins789 commented 4 years ago

I built from scratch and got your results (built with Qt). Whatever I did with that previous build I broke a while ago. .Sorry to chew up this much time.

Thanks for your time.

twistedfall commented 4 years ago

No problem at all! Due to your bugreport I managed to fix one of the issues that haunted me for a while, so it wasn’t in vain! I’m going to release the new version without the conditionals for CUDA, thanks!

twistedfall commented 4 years ago

Should be fixed in the crate version 0.44.2, please test

dadkins789 commented 4 years ago

No build problems with 0.44.2

twistedfall commented 4 years ago

Great to hear!