[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] checking ngoclinh93qt/openjph-ffi/c2227d0c39aa2245f4ebe95d857b1af65bd33a63 against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ngoclinh93qt/openjph-ffi on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ngoclinh93qt/openjph-ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jobserver v0.1.22
[INFO] [stderr]   Downloaded bytemuck v1.7.0
[INFO] [stderr]   Downloaded gif v0.11.2
[INFO] [stderr]   Downloaded time v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8522b8e20d27a84abb72ff1417c9eef5fc8cb2131960a09890f5e3f423fed558
[INFO] running `Command { std: "docker" "start" "-a" "8522b8e20d27a84abb72ff1417c9eef5fc8cb2131960a09890f5e3f423fed558", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8522b8e20d27a84abb72ff1417c9eef5fc8cb2131960a09890f5e3f423fed558", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8522b8e20d27a84abb72ff1417c9eef5fc8cb2131960a09890f5e3f423fed558", kill_on_drop: false }`
[INFO] [stdout] 8522b8e20d27a84abb72ff1417c9eef5fc8cb2131960a09890f5e3f423fed558
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ae0b48ef87bd47cf0e89871e8bc63f9e103165289704564a22e57aaea309a48
[INFO] running `Command { std: "docker" "start" "-a" "9ae0b48ef87bd47cf0e89871e8bc63f9e103165289704564a22e57aaea309a48", 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 proc-macro2 v1.0.27
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling log v0.4.14
[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 quick-error v1.2.3
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking unicode-xid v0.2.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking quote v1.0.9
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking bytemuck v1.7.0
[INFO] [stderr]     Checking shlex v0.1.1
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]     Checking peeking_take_while v0.1.2
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]     Checking time v0.3.0
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]     Checking cexpr v0.4.0
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_codestream.cpp:2242:13: 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: openjph_ffi@0.1.0:  2242 |       memset(precincts, 0, sizeof(precinct) * num_precincts.area());
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: In file included from vendor/openjph/src/core/codestream/ojph_codestream.cpp:46:
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_codestream_local.h:297:12: note: 'struct ojph::local::precinct' declared here
[INFO] [stderr] warning: openjph_ffi@0.1.0:   297 |     struct precinct
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |            ^~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_codestream.cpp: At global scope:
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_codestream.cpp:75:21: warning: 'ojph::codestream ojph::dao()' defined but not used [-Wunused-function]
[INFO] [stderr] warning: openjph_ffi@0.1.0:    75 |   static codestream dao() {
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                     ^~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In function 'int ojph::write(const line_buf*, mem_outfile*, ui8*, int, int)':
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:11: warning: unused variable 's' [-Wunused-variable]
[INFO] [stderr] warning: openjph_ffi@0.1.0:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |           ^
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    70 |     for (int i = 0; i < height; ++i)
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                     ~~^~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:80:13: warning: unused variable 'd' [-Wunused-variable]
[INFO] [stderr] warning: openjph_ffi@0.1.0:    80 |         int d = write(line, &mem_outfile, buffer, width, comp_num);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |             ^
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                      ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                             ^~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    65 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: In file included from /usr/include/c++/13/cassert:44,
[INFO] [stderr] warning: openjph_ffi@0.1.0:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning: openjph_ffi@0.1.0:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    68 |         assert(c == next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                              ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                     ^
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:58:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning: openjph_ffi@0.1.0:    58 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                      ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                             ^~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   135 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   138 |         assert(c == next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                              ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                     ^
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:128:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning: openjph_ffi@0.1.0:   128 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'const ojph::ui8* ojph::htj2kcompress::encodedao(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                      ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                             ^~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   207 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   210 |         assert(c == next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                              ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                     ^
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:200:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning: openjph_ffi@0.1.0:   200 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:171:94: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning: openjph_ffi@0.1.0:   171 |   const ui8* htj2kcompress::encodedao(const uint8_t* data, size_t width, size_t height, bool isSigned) {
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                                                                         ~~~~~^~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                      ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                             ^~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   272 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   275 |         assert(c == next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                              ^~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: 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: openjph_ffi@0.1.0:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                     ^
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:265:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning: openjph_ffi@0.1.0:   265 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: openjph_ffi@0.1.0: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:235:92: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning: openjph_ffi@0.1.0:   235 |   mem_outfile htj2kcompress::encode(const uint8_t* data, size_t width, size_t height, bool isSigned)
[INFO] [stderr] warning: openjph_ffi@0.1.0:       |                                                                                       ~~~~~^~~~~~~~
[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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.71s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "9ae0b48ef87bd47cf0e89871e8bc63f9e103165289704564a22e57aaea309a48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ae0b48ef87bd47cf0e89871e8bc63f9e103165289704564a22e57aaea309a48", kill_on_drop: false }`
[INFO] [stdout] 9ae0b48ef87bd47cf0e89871e8bc63f9e103165289704564a22e57aaea309a48
