[INFO] fetching crate rustflow 0.1.0... [INFO] checking rustflow-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rustflow 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rustflow 0.1.0 [INFO] finished tweaking crates.io crate rustflow 0.1.0 [INFO] tweaked toml for crates.io crate rustflow 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustflow 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.55.1 (available: v0.72.0) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gif v0.11.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 241f48c854dc57ab2c22585425ae9d88c3f0e142c99141220b8252c098a30c3c [INFO] running `Command { std: "docker" "start" "-a" "241f48c854dc57ab2c22585425ae9d88c3f0e142c99141220b8252c098a30c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "241f48c854dc57ab2c22585425ae9d88c3f0e142c99141220b8252c098a30c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "241f48c854dc57ab2c22585425ae9d88c3f0e142c99141220b8252c098a30c3c", kill_on_drop: false }` [INFO] [stdout] 241f48c854dc57ab2c22585425ae9d88c3f0e142c99141220b8252c098a30c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54eaaf1635c3ae74f64f1b01af308c7dc94ee58fee67e0520d6244f3bee498cb [INFO] running `Command { std: "docker" "start" "-a" "54eaaf1635c3ae74f64f1b01af308c7dc94ee58fee67e0520d6244f3bee498cb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rustflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp: In member function 'void GaussianPyramid::displayTop(const char*)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp:110:46: warning: unused parameter 'filename' [-Wunused-parameter] [INFO] [stderr] warning: rustflow@0.1.0: 110 | void GaussianPyramid::displayTop(const char *filename) [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: In file included from vendor/Image.hpp:9, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/GaussianPyramid.hpp:7, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/GaussianPyramid.cpp:4: [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::vfiltering(const T1*, T2*, int, int, int, const double*, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1331:29: required from 'void Image::imfilter_hv(Image&, const double*, int, const double*, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1199:13: required from 'void Image::GaussianSmoothing(Image&, double, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp:67:27: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:344:21: warning: unused variable 'offset' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 344 | int i,j,l,k,offset,ii; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowSOR(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:267:32: warning: unused variable 'power_alpha' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 267 | double power_alpha = 0.5; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:287:32: warning: unused variable '_a' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 287 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:287:45: warning: unused variable '_b' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 287 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowPDE(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:545:32: warning: unused variable 'power_alpha' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 545 | double power_alpha = 0.5; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:565:32: warning: unused variable '_a' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 565 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:565:45: warning: unused variable '_b' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 565 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static bool OpticalFlow::showFlow(const DImage&, const char*)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:1189:59: warning: unused parameter 'filename' [-Wunused-parameter] [INFO] [stderr] warning: rustflow@0.1.0: 1189 | bool OpticalFlow::showFlow(const DImage& flow,const char* filename) [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: In file included from vendor/Image.hpp:9, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/OpticalFlow.hpp:6, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/OpticalFlow.cpp:4: [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::vfiltering(const T1*, T2*, int, int, int, const double*, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1331:29: required from 'void Image::imfilter_hv(Image&, const double*, int, const double*, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:52:18: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:344:21: warning: unused variable 'offset' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 344 | int i,j,l,k,offset,ii; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp: In instantiation of 'void Image::warpImageBicubicRef(const Image&, Image&, const Image&, const Image&, const Image&, const Image&, const Image&) const [with T1 = double; T2 = double; T = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:2482:21: required from 'void Image::warpImageBicubicRef(const Image&, Image&, const Image&, const Image&) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:437:27: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:2525:11: warning: variable 'ImgMax' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: rustflow@0.1.0: 2525 | T ImgMax; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::ResizeImage(const T1*, T2*, int, int, int, int, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:770:30: required from 'void Image::imresize(int, int) [with T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:991:15: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:230:15: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] [INFO] [stderr] warning: rustflow@0.1.0: 230 | memset(pDstImage,sizeof(T2)*DstWidth*DstHeight*nChannels,0); [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowPDE(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:762:16: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] [INFO] [stderr] warning: rustflow@0.1.0: 762 | delete rou; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:495:37: note: returned from 'void* operator new [](std::size_t)' [INFO] [stderr] warning: rustflow@0.1.0: 495 | rou=new double[nCGIterations]; [INFO] [stderr] warning: rustflow@0.1.0: | ^ [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp: In member function 'void GaussianPyramid::displayTop(const char*)': [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Coarse2FineFlowWrapper` in this scope [INFO] [stdout] --> lib/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Coarse2FineFlowWrapper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp:110:46: warning: unused parameter 'filename' [-Wunused-parameter] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: rustflow@0.1.0: 110 | void GaussianPyramid::displayTop(const char *filename) [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: In file included from vendor/Image.hpp:9, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/GaussianPyramid.hpp:7, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/GaussianPyramid.cpp:4: [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::vfiltering(const T1*, T2*, int, int, int, const double*, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1331:29: required from 'void Image::imfilter_hv(Image&, const double*, int, const double*, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1199:13: required from 'void Image::GaussianSmoothing(Image&, double, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp:67:27: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:344:21: warning: unused variable 'offset' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 344 | int i,j,l,k,offset,ii; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowSOR(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:267:32: warning: unused variable 'power_alpha' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 267 | double power_alpha = 0.5; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:287:32: warning: unused variable '_a' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 287 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:287:45: warning: unused variable '_b' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 287 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowPDE(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:545:32: warning: unused variable 'power_alpha' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 545 | double power_alpha = 0.5; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:565:32: warning: unused variable '_a' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 565 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:565:45: warning: unused variable '_b' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 565 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static bool OpticalFlow::showFlow(const DImage&, const char*)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:1189:59: warning: unused parameter 'filename' [-Wunused-parameter] [INFO] [stderr] warning: rustflow@0.1.0: 1189 | bool OpticalFlow::showFlow(const DImage& flow,const char* filename) [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: In file included from vendor/Image.hpp:9, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/OpticalFlow.hpp:6, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/OpticalFlow.cpp:4: [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::vfiltering(const T1*, T2*, int, int, int, const double*, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1331:29: required from 'void Image::imfilter_hv(Image&, const double*, int, const double*, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:52:18: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:344:21: warning: unused variable 'offset' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 344 | int i,j,l,k,offset,ii; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp: In instantiation of 'void Image::warpImageBicubicRef(const Image&, Image&, const Image&, const Image&, const Image&, const Image&, const Image&) const [with T1 = double; T2 = double; T = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:2482:21: required from 'void Image::warpImageBicubicRef(const Image&, Image&, const Image&, const Image&) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:437:27: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:2525:11: warning: variable 'ImgMax' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: rustflow@0.1.0: 2525 | T ImgMax; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::ResizeImage(const T1*, T2*, int, int, int, int, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:770:30: required from 'void Image::imresize(int, int) [with T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:991:15: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:230:15: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] [INFO] [stderr] warning: rustflow@0.1.0: 230 | memset(pDstImage,sizeof(T2)*DstWidth*DstHeight*nChannels,0); [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowPDE(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:762:16: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] [INFO] [stderr] warning: rustflow@0.1.0: 762 | delete rou; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:495:37: note: returned from 'void* operator new [](std::size_t)' [INFO] [stderr] warning: rustflow@0.1.0: 495 | rou=new double[nCGIterations]; [INFO] [stderr] warning: rustflow@0.1.0: | ^ [INFO] [stderr] error: could not compile `rustflow` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Coarse2FineFlowWrapper` in this scope [INFO] [stdout] --> lib/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Coarse2FineFlowWrapper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp: In member function 'void GaussianPyramid::displayTop(const char*)': [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp:110:46: warning: unused parameter 'filename' [-Wunused-parameter] [INFO] [stderr] warning: rustflow@0.1.0: 110 | void GaussianPyramid::displayTop(const char *filename) [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: In file included from vendor/Image.hpp:9, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/GaussianPyramid.hpp:7, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/GaussianPyramid.cpp:4: [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::vfiltering(const T1*, T2*, int, int, int, const double*, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1331:29: required from 'void Image::imfilter_hv(Image&, const double*, int, const double*, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1199:13: required from 'void Image::GaussianSmoothing(Image&, double, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/GaussianPyramid.cpp:67:27: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:344:21: warning: unused variable 'offset' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 344 | int i,j,l,k,offset,ii; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowSOR(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:267:32: warning: unused variable 'power_alpha' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 267 | double power_alpha = 0.5; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:287:32: warning: unused variable '_a' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 287 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:287:45: warning: unused variable '_b' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 287 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowPDE(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:545:32: warning: unused variable 'power_alpha' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 545 | double power_alpha = 0.5; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:565:32: warning: unused variable '_a' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 565 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:565:45: warning: unused variable '_b' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 565 | double _a = 10000, _b = 0.1; [INFO] [stderr] warning: rustflow@0.1.0: | ^~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static bool OpticalFlow::showFlow(const DImage&, const char*)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:1189:59: warning: unused parameter 'filename' [-Wunused-parameter] [INFO] [stderr] warning: rustflow@0.1.0: 1189 | bool OpticalFlow::showFlow(const DImage& flow,const char* filename) [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: In file included from vendor/Image.hpp:9, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/OpticalFlow.hpp:6, [INFO] [stderr] warning: rustflow@0.1.0: from vendor/OpticalFlow.cpp:4: [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::vfiltering(const T1*, T2*, int, int, int, const double*, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:1331:29: required from 'void Image::imfilter_hv(Image&, const double*, int, const double*, int) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:52:18: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:344:21: warning: unused variable 'offset' [-Wunused-variable] [INFO] [stderr] warning: rustflow@0.1.0: 344 | int i,j,l,k,offset,ii; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp: In instantiation of 'void Image::warpImageBicubicRef(const Image&, Image&, const Image&, const Image&, const Image&, const Image&, const Image&) const [with T1 = double; T2 = double; T = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:2482:21: required from 'void Image::warpImageBicubicRef(const Image&, Image&, const Image&, const Image&) const [with T1 = double; T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:437:27: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:2525:11: warning: variable 'ImgMax' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: rustflow@0.1.0: 2525 | T ImgMax; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp: In instantiation of 'static void ImageProcessing::ResizeImage(const T1*, T2*, int, int, int, int, int) [with T1 = double; T2 = double]': [INFO] [stderr] warning: rustflow@0.1.0: vendor/Image.hpp:770:30: required from 'void Image::imresize(int, int) [with T = double]' [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:991:15: required from here [INFO] [stderr] warning: rustflow@0.1.0: vendor/ImageProcessing.hpp:230:15: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] [INFO] [stderr] warning: rustflow@0.1.0: 230 | memset(pDstImage,sizeof(T2)*DstWidth*DstHeight*nChannels,0); [INFO] [stderr] warning: rustflow@0.1.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp: In static member function 'static void OpticalFlow::SmoothFlowPDE(const DImage&, const DImage&, DImage&, DImage&, DImage&, double, int, int, int)': [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:762:16: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] [INFO] [stderr] warning: rustflow@0.1.0: 762 | delete rou; [INFO] [stderr] warning: rustflow@0.1.0: | ^~~ [INFO] [stderr] warning: rustflow@0.1.0: vendor/OpticalFlow.cpp:495:37: note: returned from 'void* operator new [](std::size_t)' [INFO] [stderr] warning: rustflow@0.1.0: 495 | rou=new double[nCGIterations]; [INFO] [stderr] warning: rustflow@0.1.0: | ^ [INFO] [stderr] error: could not compile `rustflow` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "54eaaf1635c3ae74f64f1b01af308c7dc94ee58fee67e0520d6244f3bee498cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54eaaf1635c3ae74f64f1b01af308c7dc94ee58fee67e0520d6244f3bee498cb", kill_on_drop: false }` [INFO] [stdout] 54eaaf1635c3ae74f64f1b01af308c7dc94ee58fee67e0520d6244f3bee498cb