2023-03-10T20:15:22,955 Created temporary directory: /tmp/pip-ephem-wheel-cache-wn17ikb3 2023-03-10T20:15:22,958 Created temporary directory: /tmp/pip-build-tracker-jvay6es1 2023-03-10T20:15:22,958 Initialized build tracking at /tmp/pip-build-tracker-jvay6es1 2023-03-10T20:15:22,958 Created build tracker: /tmp/pip-build-tracker-jvay6es1 2023-03-10T20:15:22,958 Entered build tracker: /tmp/pip-build-tracker-jvay6es1 2023-03-10T20:15:22,959 Created temporary directory: /tmp/pip-wheel-95j09xvr 2023-03-10T20:15:22,964 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-10T20:15:22,966 Created temporary directory: /tmp/pip-ephem-wheel-cache-mrod22pu 2023-03-10T20:15:22,995 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-10T20:15:22,998 2 location(s) to search for versions of jpegandentropyencoding: 2023-03-10T20:15:22,998 * https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:22,998 * https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:22,999 Fetching project page and analyzing links: https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:22,999 Getting page https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:23,001 Found index url https://pypi.org/simple 2023-03-10T20:15:23,053 Fetched page https://pypi.org/simple/jpegandentropyencoding/ as application/vnd.pypi.simple.v1+json 2023-03-10T20:15:23,054 Skipping link: No binaries permitted for jpegandentropyencoding: https://files.pythonhosted.org/packages/7b/2e/597c7a69f2db93b9cbcff3959b678a7a7a6d019cd58411f663a533c60f5e/JPEGAndEntropyEncoding-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/jpegandentropyencoding/) (requires-python:>=3.7) 2023-03-10T20:15:23,055 Found link https://files.pythonhosted.org/packages/fc/50/a13cfa6e5137a71f021bea5903c9f5ce504a1d8afd9779b51beec5867b83/JPEGAndEntropyEncoding-0.1.0.tar.gz (from https://pypi.org/simple/jpegandentropyencoding/) (requires-python:>=3.7), version: 0.1.0 2023-03-10T20:15:23,055 Fetching project page and analyzing links: https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:23,055 Getting page https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:23,056 Found index url https://www.piwheels.org/simple 2023-03-10T20:15:25,914 Fetched page https://www.piwheels.org/simple/jpegandentropyencoding/ as text/html 2023-03-10T20:15:25,918 Skipping link: No binaries permitted for jpegandentropyencoding: https://www.piwheels.org/simple/jpegandentropyencoding/JPEGAndEntropyEncoding-0.1.0-cp37-cp37m-linux_armv7l.whl#sha256=0f79220993ad8b21585f156ebfe48d1c4e00754d1e85ae43d3d2873b6589eac0 (from https://www.piwheels.org/simple/jpegandentropyencoding/) (requires-python:>=3.7) 2023-03-10T20:15:25,918 Skipping link: No binaries permitted for jpegandentropyencoding: https://www.piwheels.org/simple/jpegandentropyencoding/JPEGAndEntropyEncoding-0.1.0-cp37-cp37m-linux_armv6l.whl#sha256=0f79220993ad8b21585f156ebfe48d1c4e00754d1e85ae43d3d2873b6589eac0 (from https://www.piwheels.org/simple/jpegandentropyencoding/) (requires-python:>=3.7) 2023-03-10T20:15:25,919 Skipping link: not a file: https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:25,919 Skipping link: not a file: https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T20:15:25,964 Given no hashes to check 1 links for project 'jpegandentropyencoding': discarding no candidates 2023-03-10T20:15:25,982 Collecting jpegandentropyencoding==0.1.0 2023-03-10T20:15:25,985 Created temporary directory: /tmp/pip-unpack-6_vcd_cv 2023-03-10T20:15:26,030 Downloading JPEGAndEntropyEncoding-0.1.0.tar.gz (15 kB) 2023-03-10T20:15:26,064 Added jpegandentropyencoding==0.1.0 from https://files.pythonhosted.org/packages/fc/50/a13cfa6e5137a71f021bea5903c9f5ce504a1d8afd9779b51beec5867b83/JPEGAndEntropyEncoding-0.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-jvay6es1' 2023-03-10T20:15:26,068 Created temporary directory: /tmp/pip-build-env-cvqnb8ee 2023-03-10T20:15:26,079 Installing build dependencies: started 2023-03-10T20:15:26,080 Running command pip subprocess to install build dependencies 2023-03-10T20:15:27,280 Using pip 23.0.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) 2023-03-10T20:15:27,855 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-10T20:15:27,882 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-10T20:15:29,070 Collecting maturin<0.15,>=0.14 2023-03-10T20:15:30,185 Using cached https://www.piwheels.org/simple/maturin/maturin-0.14.15-cp39-cp39-linux_armv7l.whl (9.3 MB) 2023-03-10T20:15:30,602 Collecting tomli>=1.1.0 2023-03-10T20:15:30,630 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2023-03-10T20:15:32,135 Installing collected packages: tomli, maturin 2023-03-10T20:15:33,051 Successfully installed maturin-0.14.15 tomli-2.0.1 2023-03-10T20:15:33,526 Installing build dependencies: finished with status 'done' 2023-03-10T20:15:33,532 Getting requirements to build wheel: started 2023-03-10T20:15:33,533 Running command Getting requirements to build wheel 2023-03-10T20:15:33,732 Getting requirements to build wheel: finished with status 'done' 2023-03-10T20:15:33,737 Created temporary directory: /tmp/pip-modern-metadata-5gmtw1qv 2023-03-10T20:15:33,740 Preparing metadata (pyproject.toml): started 2023-03-10T20:15:33,741 Running command Preparing metadata (pyproject.toml) 2023-03-10T20:15:34,996 Downloading crates ... 2023-03-10T20:15:35,400 Downloaded libc v0.2.140 2023-03-10T20:15:35,944 🔗 Found pyo3 bindings 2023-03-10T20:15:36,291 🐍 Found CPython 3.9 at /usr/bin/python3 2023-03-10T20:15:36,291 📡 Using build options features from pyproject.toml 2023-03-10T20:15:36,302 JPEGAndEntropyEncoding-0.1.0.dist-info 2023-03-10T20:15:36,302 Checking for Rust toolchain.... 2023-03-10T20:15:36,302 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-5gmtw1qv --interpreter /usr/bin/python3` 2023-03-10T20:15:36,323 Preparing metadata (pyproject.toml): finished with status 'done' 2023-03-10T20:15:36,330 Source in /tmp/pip-wheel-95j09xvr/jpegandentropyencoding_2b92540082534110bad6dd322fdff9c3 has version 0.1.0, which satisfies requirement jpegandentropyencoding==0.1.0 from https://files.pythonhosted.org/packages/fc/50/a13cfa6e5137a71f021bea5903c9f5ce504a1d8afd9779b51beec5867b83/JPEGAndEntropyEncoding-0.1.0.tar.gz 2023-03-10T20:15:36,331 Removed jpegandentropyencoding==0.1.0 from https://files.pythonhosted.org/packages/fc/50/a13cfa6e5137a71f021bea5903c9f5ce504a1d8afd9779b51beec5867b83/JPEGAndEntropyEncoding-0.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-jvay6es1' 2023-03-10T20:15:36,336 Created temporary directory: /tmp/pip-unpack-dwv4vnru 2023-03-10T20:15:36,337 Building wheels for collected packages: jpegandentropyencoding 2023-03-10T20:15:36,342 Created temporary directory: /tmp/pip-wheel-re19g0w2 2023-03-10T20:15:36,342 Destination directory: /tmp/pip-wheel-re19g0w2 2023-03-10T20:15:36,344 Building wheel for jpegandentropyencoding (pyproject.toml): started 2023-03-10T20:15:36,346 Running command Building wheel for jpegandentropyencoding (pyproject.toml) 2023-03-10T20:15:36,522 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2023-03-10T20:15:37,495 🔗 Found pyo3 bindings 2023-03-10T20:15:37,840 🐍 Found CPython 3.9 at /usr/bin/python3 2023-03-10T20:15:37,841 📡 Using build options features from pyproject.toml 2023-03-10T20:15:39,039 Compiling target-lexicon v0.12.6 2023-03-10T20:15:39,040 Compiling libc v0.2.140 2023-03-10T20:15:39,040 Compiling autocfg v1.1.0 2023-03-10T20:15:39,040 Compiling proc-macro2 v1.0.51 2023-03-10T20:15:42,142 Compiling once_cell v1.17.1 2023-03-10T20:15:42,456 Compiling cfg-if v1.0.0 2023-03-10T20:15:43,094 Compiling quote v1.0.23 2023-03-10T20:15:44,105 Compiling unicode-ident v1.0.8 2023-03-10T20:15:46,033 Compiling syn v1.0.109 2023-03-10T20:15:48,542 Compiling pyo3-build-config v0.18.1 2023-03-10T20:15:52,190 Compiling lock_api v0.4.9 2023-03-10T20:15:52,397 Compiling parking_lot_core v0.9.7 2023-03-10T20:15:54,614 Compiling getrandom v0.2.8 2023-03-10T20:15:54,787 Compiling memoffset v0.8.0 2023-03-10T20:15:56,850 Compiling smallvec v1.10.0 2023-03-10T20:15:56,938 Compiling scopeguard v1.1.0 2023-03-10T20:16:00,381 Compiling rand_core v0.6.4 2023-03-10T20:16:02,480 Compiling ppv-lite86 v0.2.17 2023-03-10T20:16:02,953 Compiling parking_lot v0.12.1 2023-03-10T20:16:06,020 Compiling rand_chacha v0.3.1 2023-03-10T20:16:07,475 Compiling pyo3-ffi v0.18.1 2023-03-10T20:16:10,549 Compiling pyo3 v0.18.1 2023-03-10T20:16:13,683 Compiling indoc v1.0.9 2023-03-10T20:16:17,293 Compiling unindent v0.1.11 2023-03-10T20:16:18,271 Compiling rand v0.8.5 2023-03-10T20:16:23,591 Compiling pyo3-macros-backend v0.18.1 2023-03-10T20:16:43,768 Compiling pyo3-macros v0.18.1 2023-03-10T20:17:14,795 Compiling JPEGAndEntropyEncoding v0.1.0 (/tmp/pip-wheel-95j09xvr/jpegandentropyencoding_2b92540082534110bad6dd322fdff9c3) 2023-03-10T20:17:18,590 Finished release [optimized] target(s) in 1m 40s 2023-03-10T20:17:19,448 📦 Built wheel for CPython 3.9 to /tmp/pip-wheel-95j09xvr/jpegandentropyencoding_2b92540082534110bad6dd322fdff9c3/target/wheels/JPEGAndEntropyEncoding-0.1.0-cp39-cp39-linux_armv7l.whl 2023-03-10T20:17:19,451 warning: unused import: `env` 2023-03-10T20:17:19,451 --> src/arithmetic_encoding.rs:7:81 2023-03-10T20:17:19,451 | 2023-03-10T20:17:19,451 7 | use std::{collections::{HashMap},hash::Hash, fmt::Debug,fs::File,io::prelude::*,env}; 2023-03-10T20:17:19,452 | ^^^ 2023-03-10T20:17:19,452 | 2023-03-10T20:17:19,452 = note: `#[warn(unused_imports)]` on by default 2023-03-10T20:17:19,452 warning: unused import: `rand::Rng` 2023-03-10T20:17:19,452 --> src/arithmetic_encoding.rs:8:5 2023-03-10T20:17:19,452 | 2023-03-10T20:17:19,453 8 | use rand::Rng; 2023-03-10T20:17:19,453 | ^^^^^^^^^ 2023-03-10T20:17:19,453 warning: unused variable: `Cb` 2023-03-10T20:17:19,453 --> src/colorspace_transforms.rs:23:26 2023-03-10T20:17:19,453 | 2023-03-10T20:17:19,453 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,454 | ^^ help: if this is intentional, prefix it with an underscore: `_Cb` 2023-03-10T20:17:19,454 | 2023-03-10T20:17:19,454 = note: `#[warn(unused_variables)]` on by default 2023-03-10T20:17:19,454 warning: unused variable: `Cr` 2023-03-10T20:17:19,454 --> src/colorspace_transforms.rs:31:38 2023-03-10T20:17:19,454 | 2023-03-10T20:17:19,455 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,455 | ^^ help: if this is intentional, prefix it with an underscore: `_Cr` 2023-03-10T20:17:19,455 warning: unused variable: `x` 2023-03-10T20:17:19,455 --> src/arithmetic_encoding.rs:98:48 2023-03-10T20:17:19,455 | 2023-03-10T20:17:19,455 98 | let denom = freq_vec.iter().fold(0,|s,(x,y)| s + y); 2023-03-10T20:17:19,455 | ^ help: if this is intentional, prefix it with an underscore: `_x` 2023-03-10T20:17:19,456 warning: function `ycbcr_to_r` is never used 2023-03-10T20:17:19,456 --> src/colorspace_transforms.rs:23:4 2023-03-10T20:17:19,456 | 2023-03-10T20:17:19,456 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,456 | ^^^^^^^^^^ 2023-03-10T20:17:19,456 | 2023-03-10T20:17:19,457 = note: `#[warn(dead_code)]` on by default 2023-03-10T20:17:19,457 warning: function `ycbcr_to_g` is never used 2023-03-10T20:17:19,457 --> src/colorspace_transforms.rs:27:4 2023-03-10T20:17:19,457 | 2023-03-10T20:17:19,457 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,457 | ^^^^^^^^^^ 2023-03-10T20:17:19,458 warning: function `ycbcr_to_b` is never used 2023-03-10T20:17:19,458 --> src/colorspace_transforms.rs:31:4 2023-03-10T20:17:19,458 | 2023-03-10T20:17:19,458 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,458 | ^^^^^^^^^^ 2023-03-10T20:17:19,459 warning: function `ycbcr_to_rgb` is never used 2023-03-10T20:17:19,459 --> src/colorspace_transforms.rs:35:8 2023-03-10T20:17:19,459 | 2023-03-10T20:17:19,459 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T20:17:19,459 | ^^^^^^^^^^^^ 2023-03-10T20:17:19,459 warning: function `alpha` is never used 2023-03-10T20:17:19,459 --> src/dct.rs:4:4 2023-03-10T20:17:19,460 | 2023-03-10T20:17:19,460 4 | fn alpha(i : f64) -> f64{ 2023-03-10T20:17:19,460 | ^^^^^ 2023-03-10T20:17:19,460 warning: function `dct_coeff` is never used 2023-03-10T20:17:19,460 --> src/dct.rs:9:4 2023-03-10T20:17:19,460 | 2023-03-10T20:17:19,460 9 | fn dct_coeff(block : &Vec>, u : f64, v : f64) -> f64{ 2023-03-10T20:17:19,461 | ^^^^^^^^^ 2023-03-10T20:17:19,461 warning: function `dct_block` is never used 2023-03-10T20:17:19,461 --> src/dct.rs:20:8 2023-03-10T20:17:19,461 | 2023-03-10T20:17:19,461 20 | pub fn dct_block(block : &Vec>) -> Vec>{ 2023-03-10T20:17:19,461 | ^^^^^^^^^ 2023-03-10T20:17:19,462 warning: function `inv_dct_coeff` is never used 2023-03-10T20:17:19,462 --> src/dct.rs:31:4 2023-03-10T20:17:19,462 | 2023-03-10T20:17:19,462 31 | fn inv_dct_coeff(block : &Vec>, x : usize, y : usize) -> f64{ 2023-03-10T20:17:19,462 | ^^^^^^^^^^^^^ 2023-03-10T20:17:19,462 warning: function `inv_dct_block` is never used 2023-03-10T20:17:19,462 --> src/dct.rs:42:4 2023-03-10T20:17:19,463 | 2023-03-10T20:17:19,463 42 | fn inv_dct_block(block : &Vec>) -> Vec>{ 2023-03-10T20:17:19,463 | ^^^^^^^^^^^^^ 2023-03-10T20:17:19,463 warning: function `down444` is never used 2023-03-10T20:17:19,463 --> src/downsampling.rs:3:8 2023-03-10T20:17:19,463 | 2023-03-10T20:17:19,463 3 | pub fn down444(image : &Vec>>) -> Vec>>{ 2023-03-10T20:17:19,464 | ^^^^^^^ 2023-03-10T20:17:19,464 warning: function `down422` is never used 2023-03-10T20:17:19,464 --> src/downsampling.rs:18:8 2023-03-10T20:17:19,464 | 2023-03-10T20:17:19,464 18 | pub fn down422(image : &Vec>>) -> Vec>>{ 2023-03-10T20:17:19,464 | ^^^^^^^ 2023-03-10T20:17:19,465 warning: function `down420` is never used 2023-03-10T20:17:19,465 --> src/downsampling.rs:46:8 2023-03-10T20:17:19,465 | 2023-03-10T20:17:19,465 46 | pub fn down420(image : &Vec>>) -> Vec>>{ 2023-03-10T20:17:19,465 | ^^^^^^^ 2023-03-10T20:17:19,465 warning: function `up444` is never used 2023-03-10T20:17:19,465 --> src/downsampling.rs:73:8 2023-03-10T20:17:19,466 | 2023-03-10T20:17:19,466 73 | pub fn up444(image : &Vec>>) -> Vec>>{ 2023-03-10T20:17:19,466 | ^^^^^ 2023-03-10T20:17:19,466 warning: function `up422` is never used 2023-03-10T20:17:19,466 --> src/downsampling.rs:89:8 2023-03-10T20:17:19,466 | 2023-03-10T20:17:19,466 89 | pub fn up422(image : &Vec>>) -> Vec>>{ 2023-03-10T20:17:19,467 | ^^^^^ 2023-03-10T20:17:19,467 warning: function `up420` is never used 2023-03-10T20:17:19,467 --> src/downsampling.rs:111:8 2023-03-10T20:17:19,468 | 2023-03-10T20:17:19,468 111 | pub fn up420(image : &Vec>>) -> Vec>>{ 2023-03-10T20:17:19,468 | ^^^^^ 2023-03-10T20:17:19,469 warning: function `quantization_block` is never used 2023-03-10T20:17:19,469 --> src/quantization.rs:4:4 2023-03-10T20:17:19,469 | 2023-03-10T20:17:19,469 4 | fn quantization_block(block : &Vec>, q_matrix : &Vec>) -> Vec>{ 2023-03-10T20:17:19,469 | ^^^^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,470 warning: function `gen_quantize_lumi_matrix` is never used 2023-03-10T20:17:19,470 --> src/quantization.rs:17:4 2023-03-10T20:17:19,470 | 2023-03-10T20:17:19,470 17 | fn gen_quantize_lumi_matrix(Qf : f64) -> Vec>{ 2023-03-10T20:17:19,470 | ^^^^^^^^^^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,471 warning: function `gen_quantize_chroma_matrix` is never used 2023-03-10T20:17:19,471 --> src/quantization.rs:43:4 2023-03-10T20:17:19,471 | 2023-03-10T20:17:19,471 43 | fn gen_quantize_chroma_matrix(Qf : f64) -> Vec>{ 2023-03-10T20:17:19,471 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,472 warning: constant `PRECISION` is never used 2023-03-10T20:17:19,472 --> src/arithmetic_encoding.rs:1:7 2023-03-10T20:17:19,472 | 2023-03-10T20:17:19,472 1 | const PRECISION : u64 = 32; 2023-03-10T20:17:19,472 | ^^^^^^^^^ 2023-03-10T20:17:19,473 warning: constant `WHOLE` is never used 2023-03-10T20:17:19,473 --> src/arithmetic_encoding.rs:2:7 2023-03-10T20:17:19,473 | 2023-03-10T20:17:19,473 2 | const WHOLE : u64 = (2u64).pow(PRECISION as u32); 2023-03-10T20:17:19,473 | ^^^^^ 2023-03-10T20:17:19,474 warning: constant `HALF` is never used 2023-03-10T20:17:19,474 --> src/arithmetic_encoding.rs:3:7 2023-03-10T20:17:19,474 | 2023-03-10T20:17:19,474 3 | const HALF : u64 = WHOLE / 2; 2023-03-10T20:17:19,475 | ^^^^ 2023-03-10T20:17:19,475 warning: constant `QUARTER` is never used 2023-03-10T20:17:19,475 --> src/arithmetic_encoding.rs:4:7 2023-03-10T20:17:19,475 | 2023-03-10T20:17:19,476 4 | const QUARTER : u64 = WHOLE / 4; 2023-03-10T20:17:19,476 | ^^^^^^^ 2023-03-10T20:17:19,476 warning: struct `ArithEncoder` is never constructed 2023-03-10T20:17:19,476 --> src/arithmetic_encoding.rs:12:12 2023-03-10T20:17:19,476 | 2023-03-10T20:17:19,477 12 | pub struct ArithEncoder{ 2023-03-10T20:17:19,477 | ^^^^^^^^^^^^ 2023-03-10T20:17:19,477 warning: struct `Model` is never constructed 2023-03-10T20:17:19,477 --> src/arithmetic_encoding.rs:87:12 2023-03-10T20:17:19,478 | 2023-03-10T20:17:19,478 87 | pub struct Model{ 2023-03-10T20:17:19,478 | ^^^^^ 2023-03-10T20:17:19,478 warning: function `encode` is never used 2023-03-10T20:17:19,478 --> src/arithmetic_encoding.rs:131:8 2023-03-10T20:17:19,479 | 2023-03-10T20:17:19,479 131 | pub fn encode(model : &Model, message : &Vec) -> Vec{ 2023-03-10T20:17:19,479 | ^^^^^^ 2023-03-10T20:17:19,479 warning: function `output_bits_and_pending` is never used 2023-03-10T20:17:19,480 --> src/arithmetic_encoding.rs:173:4 2023-03-10T20:17:19,480 | 2023-03-10T20:17:19,480 173 | fn output_bits_and_pending(output : &mut Vec, bit : u8, pending : u32) { 2023-03-10T20:17:19,480 | ^^^^^^^^^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,480 warning: function `decode` is never used 2023-03-10T20:17:19,481 --> src/arithmetic_encoding.rs:183:8 2023-03-10T20:17:19,481 | 2023-03-10T20:17:19,481 183 | pub fn decode(message : &Vec, model : &Model) -> Vec{ 2023-03-10T20:17:19,481 | ^^^^^^ 2023-03-10T20:17:19,481 warning: function `calculate_entropy` is never used 2023-03-10T20:17:19,482 --> src/arithmetic_encoding.rs:241:8 2023-03-10T20:17:19,482 | 2023-03-10T20:17:19,482 241 | pub fn calculate_entropy(message : &Vec, model : &Model) -> f64{ 2023-03-10T20:17:19,482 | ^^^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,482 warning: associated function `new` is never used 2023-03-10T20:17:19,483 --> src/arithmetic_encoding.rs:20:12 2023-03-10T20:17:19,483 | 2023-03-10T20:17:19,483 20 | pub fn new(message : Vec, eof : T) -> ArithEncoder{ 2023-03-10T20:17:19,483 | ^^^ 2023-03-10T20:17:19,483 warning: associated function `set_new_message` is never used 2023-03-10T20:17:19,483 --> src/arithmetic_encoding.rs:26:12 2023-03-10T20:17:19,483 | 2023-03-10T20:17:19,484 26 | pub fn set_new_message(&mut self, message : Vec, eof : T) { 2023-03-10T20:17:19,484 | ^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,484 warning: associated function `encode` is never used 2023-03-10T20:17:19,484 --> src/arithmetic_encoding.rs:34:12 2023-03-10T20:17:19,484 | 2023-03-10T20:17:19,484 34 | pub fn encode(&mut self){ 2023-03-10T20:17:19,485 | ^^^^^^ 2023-03-10T20:17:19,485 warning: associated function `decode` is never used 2023-03-10T20:17:19,485 --> src/arithmetic_encoding.rs:38:12 2023-03-10T20:17:19,485 | 2023-03-10T20:17:19,485 38 | pub fn decode(&mut self) -> Vec{ 2023-03-10T20:17:19,485 | ^^^^^^ 2023-03-10T20:17:19,486 warning: associated function `write_to_bin` is never used 2023-03-10T20:17:19,486 --> src/arithmetic_encoding.rs:44:12 2023-03-10T20:17:19,486 | 2023-03-10T20:17:19,486 44 | pub fn write_to_bin(&mut self, path : &str){ 2023-03-10T20:17:19,486 | ^^^^^^^^^^^^ 2023-03-10T20:17:19,487 warning: associated function `load_from_bin` is never used 2023-03-10T20:17:19,487 --> src/arithmetic_encoding.rs:50:12 2023-03-10T20:17:19,487 | 2023-03-10T20:17:19,487 50 | pub fn load_from_bin(&mut self, path : &str){ 2023-03-10T20:17:19,487 | ^^^^^^^^^^^^^ 2023-03-10T20:17:19,488 warning: associated function `message_to_bytes` is never used 2023-03-10T20:17:19,488 --> src/arithmetic_encoding.rs:59:12 2023-03-10T20:17:19,488 | 2023-03-10T20:17:19,488 59 | pub fn message_to_bytes(&mut self) -> Vec{ 2023-03-10T20:17:19,488 | ^^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,489 warning: associated function `message_from_bytes` is never used 2023-03-10T20:17:19,489 --> src/arithmetic_encoding.rs:69:12 2023-03-10T20:17:19,489 | 2023-03-10T20:17:19,489 69 | pub fn message_from_bytes(&mut self, bytes : &Vec) -> Vec{ 2023-03-10T20:17:19,489 | ^^^^^^^^^^^^^^^^^^ 2023-03-10T20:17:19,490 warning: associated function `new` is never used 2023-03-10T20:17:19,490 --> src/arithmetic_encoding.rs:95:12 2023-03-10T20:17:19,490 | 2023-03-10T20:17:19,491 95 | pub fn new(freq_vec : &Vec<(T,u64)>, end : T) -> Model{ 2023-03-10T20:17:19,491 | ^^^ 2023-03-10T20:17:19,491 warning: associated function `get_prob` is never used 2023-03-10T20:17:19,492 --> src/arithmetic_encoding.rs:112:12 2023-03-10T20:17:19,492 | 2023-03-10T20:17:19,492 112 | pub fn get_prob(&self, sym : &T) -> (u64,u64,u64){ 2023-03-10T20:17:19,492 | ^^^^^^^^ 2023-03-10T20:17:19,493 warning: associated function `get_sym` is never used 2023-03-10T20:17:19,493 --> src/arithmetic_encoding.rs:116:12 2023-03-10T20:17:19,493 | 2023-03-10T20:17:19,493 116 | pub fn get_sym(&self, low : u64, range : u64, value : u64) -> T{ 2023-03-10T20:17:19,494 | ^^^^^^^ 2023-03-10T20:17:19,494 warning: crate `JPEGAndEntropyEncoding` should have a snake case name 2023-03-10T20:17:19,495 | 2023-03-10T20:17:19,495 = help: convert the identifier to snake case: `jpegand_entropy_encoding` 2023-03-10T20:17:19,495 = note: `#[warn(non_snake_case)]` on by default 2023-03-10T20:17:19,496 warning: function `JPEGAndEntropyEncoding` should have a snake case name 2023-03-10T20:17:19,496 --> src/lib.rs:16:4 2023-03-10T20:17:19,496 | 2023-03-10T20:17:19,496 16 | fn JPEGAndEntropyEncoding(_py: Python, m: &PyModule) -> PyResult<()> { 2023-03-10T20:17:19,497 | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jpegand_entropy_encoding` 2023-03-10T20:17:19,497 warning: variable `R` should have a snake case name 2023-03-10T20:17:19,497 --> src/colorspace_transforms.rs:5:13 2023-03-10T20:17:19,498 | 2023-03-10T20:17:19,498 5 | fn rgb_to_y(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,498 | ^ help: convert the identifier to snake case: `r` 2023-03-10T20:17:19,498 warning: variable `G` should have a snake case name 2023-03-10T20:17:19,499 --> src/colorspace_transforms.rs:5:24 2023-03-10T20:17:19,499 | 2023-03-10T20:17:19,499 5 | fn rgb_to_y(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,499 | ^ help: convert the identifier to snake case: `g` 2023-03-10T20:17:19,499 warning: variable `B` should have a snake case name 2023-03-10T20:17:19,499 --> src/colorspace_transforms.rs:5:35 2023-03-10T20:17:19,500 | 2023-03-10T20:17:19,500 5 | fn rgb_to_y(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,500 | ^ help: convert the identifier to snake case: `b` 2023-03-10T20:17:19,500 warning: variable `R` should have a snake case name 2023-03-10T20:17:19,500 --> src/colorspace_transforms.rs:9:14 2023-03-10T20:17:19,500 | 2023-03-10T20:17:19,500 9 | fn rgb_to_cb(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,501 | ^ help: convert the identifier to snake case: `r` 2023-03-10T20:17:19,501 warning: variable `G` should have a snake case name 2023-03-10T20:17:19,501 --> src/colorspace_transforms.rs:9:25 2023-03-10T20:17:19,501 | 2023-03-10T20:17:19,501 9 | fn rgb_to_cb(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,501 | ^ help: convert the identifier to snake case: `g` 2023-03-10T20:17:19,502 warning: variable `B` should have a snake case name 2023-03-10T20:17:19,502 --> src/colorspace_transforms.rs:9:36 2023-03-10T20:17:19,502 | 2023-03-10T20:17:19,502 9 | fn rgb_to_cb(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,502 | ^ help: convert the identifier to snake case: `b` 2023-03-10T20:17:19,503 warning: variable `R` should have a snake case name 2023-03-10T20:17:19,503 --> src/colorspace_transforms.rs:13:14 2023-03-10T20:17:19,503 | 2023-03-10T20:17:19,503 13 | fn rgb_to_cr(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,504 | ^ help: convert the identifier to snake case: `r` 2023-03-10T20:17:19,504 warning: variable `G` should have a snake case name 2023-03-10T20:17:19,504 --> src/colorspace_transforms.rs:13:25 2023-03-10T20:17:19,505 | 2023-03-10T20:17:19,505 13 | fn rgb_to_cr(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,505 | ^ help: convert the identifier to snake case: `g` 2023-03-10T20:17:19,505 warning: variable `B` should have a snake case name 2023-03-10T20:17:19,506 --> src/colorspace_transforms.rs:13:36 2023-03-10T20:17:19,506 | 2023-03-10T20:17:19,506 13 | fn rgb_to_cr(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T20:17:19,506 | ^ help: convert the identifier to snake case: `b` 2023-03-10T20:17:19,506 warning: variable `R` should have a snake case name 2023-03-10T20:17:19,507 --> src/colorspace_transforms.rs:17:21 2023-03-10T20:17:19,507 | 2023-03-10T20:17:19,507 17 | pub fn rgb_to_ycbcr(R : usize, G : usize, B : usize) -> (usize, usize, usize){ 2023-03-10T20:17:19,507 | ^ help: convert the identifier to snake case: `r` 2023-03-10T20:17:19,508 warning: variable `G` should have a snake case name 2023-03-10T20:17:19,508 --> src/colorspace_transforms.rs:17:32 2023-03-10T20:17:19,508 | 2023-03-10T20:17:19,508 17 | pub fn rgb_to_ycbcr(R : usize, G : usize, B : usize) -> (usize, usize, usize){ 2023-03-10T20:17:19,508 | ^ help: convert the identifier to snake case: `g` 2023-03-10T20:17:19,509 warning: variable `B` should have a snake case name 2023-03-10T20:17:19,509 --> src/colorspace_transforms.rs:17:43 2023-03-10T20:17:19,509 | 2023-03-10T20:17:19,509 17 | pub fn rgb_to_ycbcr(R : usize, G : usize, B : usize) -> (usize, usize, usize){ 2023-03-10T20:17:19,509 | ^ help: convert the identifier to snake case: `b` 2023-03-10T20:17:19,509 warning: variable `Y` should have a snake case name 2023-03-10T20:17:19,509 --> src/colorspace_transforms.rs:23:15 2023-03-10T20:17:19,510 | 2023-03-10T20:17:19,510 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,510 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T20:17:19,510 warning: variable `Cb` should have a snake case name 2023-03-10T20:17:19,510 --> src/colorspace_transforms.rs:23:26 2023-03-10T20:17:19,510 | 2023-03-10T20:17:19,510 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,511 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T20:17:19,511 warning: variable `Cr` should have a snake case name 2023-03-10T20:17:19,511 --> src/colorspace_transforms.rs:23:38 2023-03-10T20:17:19,511 | 2023-03-10T20:17:19,511 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,511 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T20:17:19,512 warning: variable `Y` should have a snake case name 2023-03-10T20:17:19,512 --> src/colorspace_transforms.rs:27:15 2023-03-10T20:17:19,512 | 2023-03-10T20:17:19,512 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,512 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T20:17:19,512 warning: variable `Cb` should have a snake case name 2023-03-10T20:17:19,512 --> src/colorspace_transforms.rs:27:26 2023-03-10T20:17:19,513 | 2023-03-10T20:17:19,513 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,513 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T20:17:19,513 warning: variable `Cr` should have a snake case name 2023-03-10T20:17:19,513 --> src/colorspace_transforms.rs:27:38 2023-03-10T20:17:19,513 | 2023-03-10T20:17:19,513 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,513 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T20:17:19,514 warning: variable `Y` should have a snake case name 2023-03-10T20:17:19,514 --> src/colorspace_transforms.rs:31:15 2023-03-10T20:17:19,514 | 2023-03-10T20:17:19,514 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,514 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T20:17:19,515 warning: variable `Cb` should have a snake case name 2023-03-10T20:17:19,515 --> src/colorspace_transforms.rs:31:26 2023-03-10T20:17:19,515 | 2023-03-10T20:17:19,515 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,515 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T20:17:19,515 warning: variable `Cr` should have a snake case name 2023-03-10T20:17:19,515 --> src/colorspace_transforms.rs:31:38 2023-03-10T20:17:19,516 | 2023-03-10T20:17:19,516 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T20:17:19,516 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T20:17:19,516 warning: variable `Y` should have a snake case name 2023-03-10T20:17:19,516 --> src/colorspace_transforms.rs:35:21 2023-03-10T20:17:19,516 | 2023-03-10T20:17:19,516 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T20:17:19,516 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T20:17:19,517 warning: variable `Cb` should have a snake case name 2023-03-10T20:17:19,517 --> src/colorspace_transforms.rs:35:32 2023-03-10T20:17:19,517 | 2023-03-10T20:17:19,517 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T20:17:19,517 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T20:17:19,518 warning: variable `Cr` should have a snake case name 2023-03-10T20:17:19,518 --> src/colorspace_transforms.rs:35:44 2023-03-10T20:17:19,518 | 2023-03-10T20:17:19,518 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T20:17:19,518 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T20:17:19,518 warning: variable `Qf` should have a snake case name 2023-03-10T20:17:19,518 --> src/quantization.rs:17:29 2023-03-10T20:17:19,519 | 2023-03-10T20:17:19,519 17 | fn gen_quantize_lumi_matrix(Qf : f64) -> Vec>{ 2023-03-10T20:17:19,519 | ^^ help: convert the identifier to snake case: `qf` 2023-03-10T20:17:19,519 warning: variable `S` should have a snake case name 2023-03-10T20:17:19,519 --> src/quantization.rs:27:9 2023-03-10T20:17:19,519 | 2023-03-10T20:17:19,519 27 | let S = if Qf >= 50.0 {200.0 - 2.0 * Qf} else {5000.0 / Qf}; 2023-03-10T20:17:19,520 | ^ help: convert the identifier to snake case (notice the capitalization): `s` 2023-03-10T20:17:19,520 warning: variable `Qf` should have a snake case name 2023-03-10T20:17:19,520 --> src/quantization.rs:43:31 2023-03-10T20:17:19,520 | 2023-03-10T20:17:19,520 43 | fn gen_quantize_chroma_matrix(Qf : f64) -> Vec>{ 2023-03-10T20:17:19,520 | ^^ help: convert the identifier to snake case: `qf` 2023-03-10T20:17:19,521 warning: variable `S` should have a snake case name 2023-03-10T20:17:19,521 --> src/quantization.rs:53:9 2023-03-10T20:17:19,521 | 2023-03-10T20:17:19,521 53 | let S = if Qf >= 50.0 {200.0 - 2.0 * Qf} else {5000.0 / Qf}; 2023-03-10T20:17:19,521 | ^ help: convert the identifier to snake case (notice the capitalization): `s` 2023-03-10T20:17:19,521 warning: variable `H` should have a snake case name 2023-03-10T20:17:19,521 --> src/arithmetic_encoding.rs:242:13 2023-03-10T20:17:19,522 | 2023-03-10T20:17:19,522 242 | let mut H = 0.0; 2023-03-10T20:17:19,522 | ^ help: convert the identifier to snake case: `h` 2023-03-10T20:17:19,522 warning: 75 warnings emitted 2023-03-10T20:17:19,522 /tmp/pip-wheel-95j09xvr/jpegandentropyencoding_2b92540082534110bad6dd322fdff9c3/target/wheels/JPEGAndEntropyEncoding-0.1.0-cp39-cp39-linux_armv7l.whl 2023-03-10T20:17:19,523 Building wheel for jpegandentropyencoding (pyproject.toml): finished with status 'done' 2023-03-10T20:17:19,540 Created wheel for jpegandentropyencoding: filename=JPEGAndEntropyEncoding-0.1.0-cp39-cp39-linux_armv7l.whl size=1033611 sha256=294116cfa477a90fdefeb26ad1e784982f3d4953b16d877e73d9b74d48de557e 2023-03-10T20:17:19,541 Stored in directory: /tmp/pip-ephem-wheel-cache-mrod22pu/wheels/3d/4d/cd/4191cc0ea19f939706bce96922177669b5100a9e7dfbf8b940 2023-03-10T20:17:19,553 Successfully built jpegandentropyencoding 2023-03-10T20:17:19,587 Removed build tracker: '/tmp/pip-build-tracker-jvay6es1'