[INFO] cloning repository https://github.com/ngoclinh93qt/openjph-ffi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngoclinh93qt/openjph-ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2227d0c39aa2245f4ebe95d857b1af65bd33a63
[INFO] testing ngoclinh93qt/openjph-ffi against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ngoclinh93qt/openjph-ffi on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ngoclinh93qt/openjph-ffi
[INFO] finished tweaking git repo https://github.com/ngoclinh93qt/openjph-ffi
[INFO] tweaked toml for git repo https://github.com/ngoclinh93qt/openjph-ffi written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/ngoclinh93qt/openjph-ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c4572be10c13fc3b80469b569d039f222d28be8e41b61dc79786aa4c7f402b1
[INFO] running `Command { std: "docker" "start" "-a" "3c4572be10c13fc3b80469b569d039f222d28be8e41b61dc79786aa4c7f402b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c4572be10c13fc3b80469b569d039f222d28be8e41b61dc79786aa4c7f402b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c4572be10c13fc3b80469b569d039f222d28be8e41b61dc79786aa4c7f402b1", kill_on_drop: false }`
[INFO] [stdout] 3c4572be10c13fc3b80469b569d039f222d28be8e41b61dc79786aa4c7f402b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3925fbd747173d22ec43438d50b30e6126d55f525dfff9ee0a8e179fda555861
[INFO] running `Command { std: "docker" "start" "-a" "3925fbd747173d22ec43438d50b30e6126d55f525dfff9ee0a8e179fda555861", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling bytemuck v1.7.0
[INFO] [stderr]    Compiling time v0.3.0
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling openjph_ffi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> build.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 |     if (env::consts::OS == "macos") {
[INFO] [stdout]    |        ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -     if (env::consts::OS == "macos") {
[INFO] [stdout] 26 +     if env::consts::OS == "macos" {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: In member function 'void ojph::local::resolution::finalize_alloc(ojph::local::codestream*, const ojph::rect&, const ojph::rect&, int, int, ojph::point, ojph::local::tile_comp*, ojph::local::resolution*)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:2242:67: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ojph::local::precinct'; use assignment or value-initialization instead [-Wclass-memaccess]
[INFO] [stderr] warning:  2242 |       memset(precincts, 0, sizeof(precinct) * num_precincts.area());
[INFO] [stderr] warning:       |                                                                   ^
[INFO] [stderr] warning: In file included from vendor/openjph/src/core/codestream/ojph_codestream.cpp:46:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream_local.h:297:12: note: 'struct ojph::local::precinct' declared here
[INFO] [stderr] warning:   297 |     struct precinct
[INFO] [stderr] warning:       |            ^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: At global scope:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:75:21: warning: 'ojph::codestream ojph::dao()' defined but not used [-Wunused-function]
[INFO] [stderr] warning:    75 |   static codestream dao() {
[INFO] [stderr] warning:       |                     ^~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodefullquality(const uint8_t*, size_t, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:65:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:    65 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:68:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:    68 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:58:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:    58 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodewithqualityrate(const uint8_t*, size_t, size_t, float_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:135:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   135 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:138:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   138 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:128:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   128 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'const ui8* ojph::htj2kcompress::encodedao(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:207:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   207 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:210:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   210 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:200:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   200 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:171:94: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   171 |   const ui8* htj2kcompress::encodedao(const uint8_t* data, size_t width, size_t height, bool isSigned) {
[INFO] [stderr] warning:       |                                                                                         ~~~~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::mem_outfile ojph::htj2kcompress::encode(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:272:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   272 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:275:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   275 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:265:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   265 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:235:92: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   235 |   mem_outfile htj2kcompress::encode(const uint8_t* data, size_t width, size_t height, bool isSigned)
[INFO] [stderr] warning:       |                                                                                       ~~~~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In function 'int ojph::write(const ojph::line_buf*, ojph::mem_outfile*, ojph::ui8*, int, int)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:11: warning: unused variable 's' [-Wunused-variable]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |           ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In member function 'ojph::output_data ojph::htj2kdecompress::decode(const uint8_t*, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'ojph::ui32' {aka 'unsigned int'} [-Wsign-compare]
[INFO] [stderr] warning:    70 |     for (int i = 0; i < height; ++i)
[INFO] [stderr] warning:       |                     ~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:80:13: warning: unused variable 'd' [-Wunused-variable]
[INFO] [stderr] warning:    80 |         int d = write(line, &mem_outfile, buffer, width, comp_num);
[INFO] [stderr] warning:       |             ^
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fs::*;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |             let width = img.width();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/main.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let out = d.encodedao(data.as_mut_ptr(), dimentsion.0 as usize, dimentsion.1 as usize,  false);
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcYvXsEL/symbols.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.5827bp1zpjbc5w84.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/openjph_ffi-d1de99c7a07c4054/out" "-L" "/opt/rustwide/target/debug/build/libloading-d786c8b572560414/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-lopenjph" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libimage-e8e1597617120dc5.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-47bf8a664afcf1af.rlib" "/opt/rustwide/target/debug/deps/libpng-af70fb006a28004f.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-8e3c5683e1061b77.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-6f96f7d933bc0431.rlib" "/opt/rustwide/target/debug/deps/libdeflate-0afa3df3a88088d0.rlib" "/opt/rustwide/target/debug/deps/libadler32-80cf2240aaa29036.rlib" "/opt/rustwide/target/debug/deps/libbitflags-3f42560074bc4a9a.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-38c3976a2982f51f.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-2cb066cdf5c65f77.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-52b83f47fb29760e.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-c8f03eb541e836b0.rlib" "/opt/rustwide/target/debug/deps/libgif-d618bbf1e04a140a.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-3060c5f00f931e46.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-9843e4d331d3c374.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-e8774f26318facf7.rlib" "/opt/rustwide/target/debug/deps/libtiff-4010a66a901a51d5.rlib" "/opt/rustwide/target/debug/deps/libweezl-74b7da038b092034.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-266d3b4f28a731f0.rlib" "/opt/rustwide/target/debug/deps/libadler-0fde365a4d87e943.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-c5ed6600f079c8f7.rlib" "/opt/rustwide/target/debug/deps/librayon-c0db521e78e99eb5.rlib" "/opt/rustwide/target/debug/deps/librayon_core-e01125379dec9ba0.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-0abc216525e638ae.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-289edf733f747d07.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-3f5ae85f4c5b7223.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-1af3525584a34215.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a8751fe16e8ac7c3.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-27f685321dd3a2f2.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-20e6424787d6fb3b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e24fcf15b5cab9c8.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-904ac7e0155b8ce8.rlib" "/opt/rustwide/target/debug/deps/libeither-e50be805a3a4a3e9.rlib" "/opt/rustwide/target/debug/deps/liblibc-7f9a6d2f0a899e84.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7ca39ac42651c3df.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-62c6d032818141a1.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-50484fc03eb1eb5b.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-758be083b246d9c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3cdf9a3c68f76e2d.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-3a1b74821c25a0e1.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e046d82ebd84bb7f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a61cdd33cfa8394f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-410c38f8df854235.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f79d7458e122215f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-7d24b750ce5b22e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-4c2aa1ea3133ab73.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-41220dc85a7f114f.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-230d004276c898f9.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-03ae30169a5438be.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6f82c44b7818af35.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-1a0b7681f7efa789.rlib" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-83735dd4dae9b02c.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-385029872275478f.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.62.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/openjph_ffi-f1b7f73f84ac9661.openjph_ffi.0208f18b-cgu.6.rcgu.o: in function `openjph_ffi::ffi::ojph_htj2kcompress::encodedao':
[INFO] [stdout]           /opt/rustwide/workdir/src/ffi.rs:1092: undefined reference to `__ZN4ojph13htj2kcompress9encodedaoEPKhmmb'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: In member function 'void ojph::local::resolution::finalize_alloc(ojph::local::codestream*, const ojph::rect&, const ojph::rect&, int, int, ojph::point, ojph::local::tile_comp*, ojph::local::resolution*)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:2242:67: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ojph::local::precinct'; use assignment or value-initialization instead [-Wclass-memaccess]
[INFO] [stderr] warning:  2242 |       memset(precincts, 0, sizeof(precinct) * num_precincts.area());
[INFO] [stderr] warning:       |                                                                   ^
[INFO] [stderr] warning: In file included from vendor/openjph/src/core/codestream/ojph_codestream.cpp:46:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream_local.h:297:12: note: 'struct ojph::local::precinct' declared here
[INFO] [stderr] warning:   297 |     struct precinct
[INFO] [stderr] warning:       |            ^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: At global scope:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:75:21: warning: 'ojph::codestream ojph::dao()' defined but not used [-Wunused-function]
[INFO] [stderr] warning:    75 |   static codestream dao() {
[INFO] [stderr] warning:       |                     ^~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodefullquality(const uint8_t*, size_t, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:65:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:    65 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:68:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:    68 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:58:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:    58 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodewithqualityrate(const uint8_t*, size_t, size_t, float_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:135:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   135 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:138:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   138 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:128:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   128 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'const ui8* ojph::htj2kcompress::encodedao(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:207:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   207 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:210:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   210 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:200:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   200 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:171:94: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   171 |   const ui8* htj2kcompress::encodedao(const uint8_t* data, size_t width, size_t height, bool isSigned) {
[INFO] [stderr] warning:       |                                                                                         ~~~~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::mem_outfile ojph::htj2kcompress::encode(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:272:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   272 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:275:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   275 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:265:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   265 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:235:92: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   235 |   mem_outfile htj2kcompress::encode(const uint8_t* data, size_t width, size_t height, bool isSigned)
[INFO] [stderr] warning:       |                                                                                       ~~~~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In function 'int ojph::write(const ojph::line_buf*, ojph::mem_outfile*, ojph::ui8*, int, int)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:11: warning: unused variable 's' [-Wunused-variable]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |           ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In member function 'ojph::output_data ojph::htj2kdecompress::decode(const uint8_t*, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'ojph::ui32' {aka 'unsigned int'} [-Wsign-compare]
[INFO] [stderr] warning:    70 |     for (int i = 0; i < height; ++i)
[INFO] [stderr] warning:       |                     ~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:80:13: warning: unused variable 'd' [-Wunused-variable]
[INFO] [stderr] warning:    80 |         int d = write(line, &mem_outfile, buffer, width, comp_num);
[INFO] [stderr] warning:       |             ^
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `openjph_ffi` due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3925fbd747173d22ec43438d50b30e6126d55f525dfff9ee0a8e179fda555861", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3925fbd747173d22ec43438d50b30e6126d55f525dfff9ee0a8e179fda555861", kill_on_drop: false }`
[INFO] [stdout] 3925fbd747173d22ec43438d50b30e6126d55f525dfff9ee0a8e179fda555861
