[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 beta-2022-07-10 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 beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "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" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 407597a524cffed69c35abd57a54c5feff98b1a2df96eeee35b97a8273b23a77
[INFO] running `Command { std: "docker" "start" "-a" "407597a524cffed69c35abd57a54c5feff98b1a2df96eeee35b97a8273b23a77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "407597a524cffed69c35abd57a54c5feff98b1a2df96eeee35b97a8273b23a77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "407597a524cffed69c35abd57a54c5feff98b1a2df96eeee35b97a8273b23a77", kill_on_drop: false }`
[INFO] [stdout] 407597a524cffed69c35abd57a54c5feff98b1a2df96eeee35b97a8273b23a77
[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" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c2aa90e5f3637d059a25afb41af35c8b5b6b11ce8161e650b950b681a7167bb
[INFO] running `Command { std: "docker" "start" "-a" "1c2aa90e5f3637d059a25afb41af35c8b5b6b11ce8161e650b950b681a7167bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling shlex v0.1.1
[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 rayon v1.5.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[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 png v0.16.8
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[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 clap v2.33.3
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling libloading v0.5.2
[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_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] 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] [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/rustcnvaAa4/symbols.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.5bueqvkv42np8qcj.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/openjph_ffi-6e96ebb74e66f2f3/out" "-L" "/opt/rustwide/target/debug/build/libloading-1a317f954e7359fc/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-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-a32f3cd05cc1ff0f.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-673938733fb001d6.rlib" "/opt/rustwide/target/debug/deps/libpng-13ab5c039b0c2491.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-210ea0057e6857f3.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-667de4e810607513.rlib" "/opt/rustwide/target/debug/deps/libdeflate-cb4d95640e47c57e.rlib" "/opt/rustwide/target/debug/deps/libadler32-4ad3039ef892af0b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-4477133c7b326206.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-0a9edc57bfe4f517.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-6ad8d9d719a2fafb.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-7fa1605ead94bf14.rlib" "/opt/rustwide/target/debug/deps/libgif-41e9db4830efc6a7.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-76ea6da9e2ca7302.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-614d7e4e7f7903e2.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ecf9ce88dc3126a2.rlib" "/opt/rustwide/target/debug/deps/libtiff-67ee84bf032df605.rlib" "/opt/rustwide/target/debug/deps/libweezl-55d032a32b789a6f.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-e49231c28250f5f1.rlib" "/opt/rustwide/target/debug/deps/libadler-92f8db84032ff960.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-0c1673b0df39a390.rlib" "/opt/rustwide/target/debug/deps/librayon-10676237cfc887aa.rlib" "/opt/rustwide/target/debug/deps/librayon_core-0b9ca0d3d7959309.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-85e93647f7250ab6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-d50d6a564e00e02c.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-7a3d6a822e3414bd.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-57ac68445a84688d.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-54ff2283d814f48f.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-c93230d2c8eb1bc7.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-c079f7c57dd512a6.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/libeither-1fa9e7dc99f602fc.rlib" "/opt/rustwide/target/debug/deps/liblibc-b952dd8c2798e05b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e057554754fbed42.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-38f4500c8e36887e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-11bb6e96feb6c746.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f838a014ab1c7d32.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-710883455c4be2e0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-e96d9169d2effbe1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-215934dc20828268.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-3e26c049c5c32aac.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c49e63298582420e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5d5f00eb3990a6bc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8f95e5205524a698.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1ef477c6e479434a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3020ed0b606b73e5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-7f274de0dcfe29d9.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3c27a7ce9d667fb8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4dd309b4657699ca.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-21f08c242946afef.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/openjph_ffi-92f98a628ae7c5c7.openjph_ffi.c5aacfd3-cgu.10.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_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] 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] 
[INFO] [stderr] error: could not compile `openjph_ffi` due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1c2aa90e5f3637d059a25afb41af35c8b5b6b11ce8161e650b950b681a7167bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c2aa90e5f3637d059a25afb41af35c8b5b6b11ce8161e650b950b681a7167bb", kill_on_drop: false }`
[INFO] [stdout] 1c2aa90e5f3637d059a25afb41af35c8b5b6b11ce8161e650b950b681a7167bb
