[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 against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ngoclinh93qt/openjph-ffi on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking ngoclinh93qt/openjph-ffi against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ngoclinh93qt/openjph-ffi on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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 bytemuck v1.7.0
[INFO] [stderr]   Downloaded time v0.3.0
[INFO] [stderr]   Downloaded gif v0.11.2
[INFO] [stderr]   Downloaded which v3.1.1
[INFO] [stderr]   Downloaded jobserver v0.1.22
[INFO] [stderr]   Downloaded cexpr v0.4.0
[INFO] [stderr]   Downloaded cc v1.0.69
[INFO] [stderr]   Downloaded proc-macro2 v1.0.27
[INFO] [stderr]   Downloaded clang-sys v0.29.3
[INFO] [stderr]   Downloaded memchr v2.4.0
[INFO] [stderr]   Downloaded nom v5.1.2
[INFO] [stderr]   Downloaded bindgen v0.53.3
[INFO] [stderr]   Downloaded libc v0.2.98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e
[INFO] running `Command { std: "docker" "start" "bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling unicode-width v0.1.8
[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 bindgen v0.53.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking bytemuck v1.7.0
[INFO] [stderr]     Checking time v0.3.0
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling 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++/15/cassert:46,
[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 23.47s
[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 5`
[INFO] running `Command { std: "docker" "inspect" "bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e", kill_on_drop: false }`
[INFO] [stdout] bef78aeb4890bad306feaa3c12d99e8df670712985c23c1bb3f2dea4ec4c365e
