2023-03-10T19:40:15,575 Created temporary directory: /tmp/pip-ephem-wheel-cache-tii1wctb 2023-03-10T19:40:15,581 Created temporary directory: /tmp/pip-build-tracker-sh8fn93s 2023-03-10T19:40:15,582 Initialized build tracking at /tmp/pip-build-tracker-sh8fn93s 2023-03-10T19:40:15,582 Created build tracker: /tmp/pip-build-tracker-sh8fn93s 2023-03-10T19:40:15,582 Entered build tracker: /tmp/pip-build-tracker-sh8fn93s 2023-03-10T19:40:15,584 Created temporary directory: /tmp/pip-wheel-494zkc7q 2023-03-10T19:40:15,594 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-10T19:40:15,599 Created temporary directory: /tmp/pip-ephem-wheel-cache-gdv8rl3_ 2023-03-10T19:40:15,654 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-10T19:40:15,661 2 location(s) to search for versions of jpegandentropyencoding: 2023-03-10T19:40:15,661 * https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:15,661 * https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:15,662 Fetching project page and analyzing links: https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:15,663 Getting page https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:15,667 Found index url https://pypi.org/simple 2023-03-10T19:40:15,886 Fetched page https://pypi.org/simple/jpegandentropyencoding/ as application/vnd.pypi.simple.v1+json 2023-03-10T19:40:15,889 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-10T19:40:15,890 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-10T19:40:15,891 Fetching project page and analyzing links: https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:15,892 Getting page https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:15,894 Found index url https://www.piwheels.org/simple 2023-03-10T19:40:16,434 Fetched page https://www.piwheels.org/simple/jpegandentropyencoding/ as text/html 2023-03-10T19:40:16,436 Skipping link: not a file: https://www.piwheels.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:16,437 Skipping link: not a file: https://pypi.org/simple/jpegandentropyencoding/ 2023-03-10T19:40:16,474 Given no hashes to check 1 links for project 'jpegandentropyencoding': discarding no candidates 2023-03-10T19:40:16,504 Collecting jpegandentropyencoding==0.1.0 2023-03-10T19:40:16,508 Created temporary directory: /tmp/pip-unpack-n44bcmso 2023-03-10T19:40:16,744 Downloading JPEGAndEntropyEncoding-0.1.0.tar.gz (15 kB) 2023-03-10T19:40:16,810 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-sh8fn93s' 2023-03-10T19:40:16,819 Created temporary directory: /tmp/pip-build-env-x5ejenlj 2023-03-10T19:40:16,840 Installing build dependencies: started 2023-03-10T19:40:16,843 Running command pip subprocess to install build dependencies 2023-03-10T19:40:19,661 Using pip 23.0.1 from /home/piwheels/.local/lib/python3.7/site-packages/pip (python 3.7) 2023-03-10T19:40:20,902 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-10T19:40:20,965 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-10T19:40:23,479 Collecting maturin<0.15,>=0.14 2023-03-10T19:40:25,221 Using cached https://www.piwheels.org/simple/maturin/maturin-0.14.15-cp37-cp37m-linux_armv7l.whl (9.3 MB) 2023-03-10T19:40:26,178 Collecting tomli>=1.1.0 2023-03-10T19:40:26,210 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2023-03-10T19:40:30,317 Installing collected packages: tomli, maturin 2023-03-10T19:40:32,546 Successfully installed maturin-0.14.15 tomli-2.0.1 2023-03-10T19:40:33,474 Installing build dependencies: finished with status 'done' 2023-03-10T19:40:33,485 Getting requirements to build wheel: started 2023-03-10T19:40:33,487 Running command Getting requirements to build wheel 2023-03-10T19:40:33,917 Getting requirements to build wheel: finished with status 'done' 2023-03-10T19:40:33,927 Created temporary directory: /tmp/pip-modern-metadata-qkhui9kr 2023-03-10T19:40:33,933 Preparing metadata (pyproject.toml): started 2023-03-10T19:40:33,935 Running command Preparing metadata (pyproject.toml) 2023-03-10T19:40:37,112 🔗 Found pyo3 bindings 2023-03-10T19:40:37,851 🐍 Found CPython 3.7m at /usr/bin/python3 2023-03-10T19:40:37,852 📡 Using build options features from pyproject.toml 2023-03-10T19:40:37,872 JPEGAndEntropyEncoding-0.1.0.dist-info 2023-03-10T19:40:37,873 Checking for Rust toolchain.... 2023-03-10T19:40:37,873 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-qkhui9kr --interpreter /usr/bin/python3` 2023-03-10T19:40:37,914 Preparing metadata (pyproject.toml): finished with status 'done' 2023-03-10T19:40:37,928 Source in /tmp/pip-wheel-494zkc7q/jpegandentropyencoding_c7d802a91ac64c018aaceeea4cc656e3 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-10T19:40:37,929 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-sh8fn93s' 2023-03-10T19:40:37,942 Created temporary directory: /tmp/pip-unpack-nzs_it97 2023-03-10T19:40:37,943 Building wheels for collected packages: jpegandentropyencoding 2023-03-10T19:40:37,952 Created temporary directory: /tmp/pip-wheel-4apvm40o 2023-03-10T19:40:37,953 Destination directory: /tmp/pip-wheel-4apvm40o 2023-03-10T19:40:37,957 Building wheel for jpegandentropyencoding (pyproject.toml): started 2023-03-10T19:40:37,960 Running command Building wheel for jpegandentropyencoding (pyproject.toml) 2023-03-10T19:40:38,363 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2023-03-10T19:40:40,477 🔗 Found pyo3 bindings 2023-03-10T19:40:41,217 🐍 Found CPython 3.7m at /usr/bin/python3 2023-03-10T19:40:41,218 📡 Using build options features from pyproject.toml 2023-03-10T19:40:43,797 Compiling target-lexicon v0.12.6 2023-03-10T19:40:43,798 Compiling libc v0.2.140 2023-03-10T19:40:43,799 Compiling autocfg v1.1.0 2023-03-10T19:40:43,800 Compiling once_cell v1.17.1 2023-03-10T19:40:47,581 Compiling proc-macro2 v1.0.51 2023-03-10T19:40:49,972 Compiling cfg-if v1.0.0 2023-03-10T19:40:50,618 Compiling quote v1.0.23 2023-03-10T19:40:54,163 Compiling unicode-ident v1.0.8 2023-03-10T19:40:56,260 Compiling syn v1.0.109 2023-03-10T19:41:00,486 Compiling pyo3-build-config v0.18.1 2023-03-10T19:41:02,015 Compiling lock_api v0.4.9 2023-03-10T19:41:07,863 Compiling parking_lot_core v0.9.7 2023-03-10T19:41:12,050 Compiling getrandom v0.2.8 2023-03-10T19:41:13,115 Compiling memoffset v0.8.0 2023-03-10T19:41:15,906 Compiling scopeguard v1.1.0 2023-03-10T19:41:16,870 Compiling smallvec v1.10.0 2023-03-10T19:41:22,178 Compiling rand_core v0.6.4 2023-03-10T19:41:26,698 Compiling ppv-lite86 v0.2.17 2023-03-10T19:41:26,892 Compiling parking_lot v0.12.1 2023-03-10T19:41:32,968 Compiling rand_chacha v0.3.1 2023-03-10T19:41:34,301 Compiling pyo3-ffi v0.18.1 2023-03-10T19:41:40,034 Compiling pyo3 v0.18.1 2023-03-10T19:41:46,298 Compiling indoc v1.0.9 2023-03-10T19:41:54,783 Compiling unindent v0.1.11 2023-03-10T19:41:54,865 Compiling rand v0.8.5 2023-03-10T19:42:07,601 Compiling pyo3-macros-backend v0.18.1 2023-03-10T19:42:45,935 Compiling pyo3-macros v0.18.1 2023-03-10T19:43:52,405 Compiling JPEGAndEntropyEncoding v0.1.0 (/tmp/pip-wheel-494zkc7q/jpegandentropyencoding_c7d802a91ac64c018aaceeea4cc656e3) 2023-03-10T19:44:00,390 Finished release [optimized] target(s) in 3m 18s 2023-03-10T19:44:02,446 📦 Built wheel for CPython 3.7m to /tmp/pip-wheel-494zkc7q/jpegandentropyencoding_c7d802a91ac64c018aaceeea4cc656e3/target/wheels/JPEGAndEntropyEncoding-0.1.0-cp37-cp37m-linux_armv7l.whl 2023-03-10T19:44:02,453 warning: unused import: `env` 2023-03-10T19:44:02,454 --> src/arithmetic_encoding.rs:7:81 2023-03-10T19:44:02,454 | 2023-03-10T19:44:02,454 7 | use std::{collections::{HashMap},hash::Hash, fmt::Debug,fs::File,io::prelude::*,env}; 2023-03-10T19:44:02,454 | ^^^ 2023-03-10T19:44:02,455 | 2023-03-10T19:44:02,455 = note: `#[warn(unused_imports)]` on by default 2023-03-10T19:44:02,456 warning: unused import: `rand::Rng` 2023-03-10T19:44:02,456 --> src/arithmetic_encoding.rs:8:5 2023-03-10T19:44:02,457 | 2023-03-10T19:44:02,457 8 | use rand::Rng; 2023-03-10T19:44:02,457 | ^^^^^^^^^ 2023-03-10T19:44:02,458 warning: unused variable: `Cb` 2023-03-10T19:44:02,458 --> src/colorspace_transforms.rs:23:26 2023-03-10T19:44:02,459 | 2023-03-10T19:44:02,459 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,459 | ^^ help: if this is intentional, prefix it with an underscore: `_Cb` 2023-03-10T19:44:02,459 | 2023-03-10T19:44:02,460 = note: `#[warn(unused_variables)]` on by default 2023-03-10T19:44:02,460 warning: unused variable: `Cr` 2023-03-10T19:44:02,461 --> src/colorspace_transforms.rs:31:38 2023-03-10T19:44:02,461 | 2023-03-10T19:44:02,462 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,462 | ^^ help: if this is intentional, prefix it with an underscore: `_Cr` 2023-03-10T19:44:02,463 warning: unused variable: `x` 2023-03-10T19:44:02,463 --> src/arithmetic_encoding.rs:98:48 2023-03-10T19:44:02,463 | 2023-03-10T19:44:02,464 98 | let denom = freq_vec.iter().fold(0,|s,(x,y)| s + y); 2023-03-10T19:44:02,464 | ^ help: if this is intentional, prefix it with an underscore: `_x` 2023-03-10T19:44:02,465 warning: function `ycbcr_to_r` is never used 2023-03-10T19:44:02,465 --> src/colorspace_transforms.rs:23:4 2023-03-10T19:44:02,466 | 2023-03-10T19:44:02,466 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,466 | ^^^^^^^^^^ 2023-03-10T19:44:02,466 | 2023-03-10T19:44:02,467 = note: `#[warn(dead_code)]` on by default 2023-03-10T19:44:02,468 warning: function `ycbcr_to_g` is never used 2023-03-10T19:44:02,468 --> src/colorspace_transforms.rs:27:4 2023-03-10T19:44:02,468 | 2023-03-10T19:44:02,468 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,469 | ^^^^^^^^^^ 2023-03-10T19:44:02,470 warning: function `ycbcr_to_b` is never used 2023-03-10T19:44:02,470 --> src/colorspace_transforms.rs:31:4 2023-03-10T19:44:02,470 | 2023-03-10T19:44:02,471 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,471 | ^^^^^^^^^^ 2023-03-10T19:44:02,472 warning: function `ycbcr_to_rgb` is never used 2023-03-10T19:44:02,472 --> src/colorspace_transforms.rs:35:8 2023-03-10T19:44:02,472 | 2023-03-10T19:44:02,473 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T19:44:02,473 | ^^^^^^^^^^^^ 2023-03-10T19:44:02,474 warning: function `alpha` is never used 2023-03-10T19:44:02,474 --> src/dct.rs:4:4 2023-03-10T19:44:02,474 | 2023-03-10T19:44:02,475 4 | fn alpha(i : f64) -> f64{ 2023-03-10T19:44:02,475 | ^^^^^ 2023-03-10T19:44:02,476 warning: function `dct_coeff` is never used 2023-03-10T19:44:02,477 --> src/dct.rs:9:4 2023-03-10T19:44:02,478 | 2023-03-10T19:44:02,478 9 | fn dct_coeff(block : &Vec>, u : f64, v : f64) -> f64{ 2023-03-10T19:44:02,478 | ^^^^^^^^^ 2023-03-10T19:44:02,480 warning: function `dct_block` is never used 2023-03-10T19:44:02,480 --> src/dct.rs:20:8 2023-03-10T19:44:02,486 | 2023-03-10T19:44:02,486 20 | pub fn dct_block(block : &Vec>) -> Vec>{ 2023-03-10T19:44:02,487 | ^^^^^^^^^ 2023-03-10T19:44:02,488 warning: function `inv_dct_coeff` is never used 2023-03-10T19:44:02,488 --> src/dct.rs:31:4 2023-03-10T19:44:02,489 | 2023-03-10T19:44:02,489 31 | fn inv_dct_coeff(block : &Vec>, x : usize, y : usize) -> f64{ 2023-03-10T19:44:02,489 | ^^^^^^^^^^^^^ 2023-03-10T19:44:02,490 warning: function `inv_dct_block` is never used 2023-03-10T19:44:02,491 --> src/dct.rs:42:4 2023-03-10T19:44:02,493 | 2023-03-10T19:44:02,494 42 | fn inv_dct_block(block : &Vec>) -> Vec>{ 2023-03-10T19:44:02,495 | ^^^^^^^^^^^^^ 2023-03-10T19:44:02,501 warning: function `down444` is never used 2023-03-10T19:44:02,502 --> src/downsampling.rs:3:8 2023-03-10T19:44:02,504 | 2023-03-10T19:44:02,505 3 | pub fn down444(image : &Vec>>) -> Vec>>{ 2023-03-10T19:44:02,506 | ^^^^^^^ 2023-03-10T19:44:02,511 warning: function `down422` is never used 2023-03-10T19:44:02,511 --> src/downsampling.rs:18:8 2023-03-10T19:44:02,512 | 2023-03-10T19:44:02,512 18 | pub fn down422(image : &Vec>>) -> Vec>>{ 2023-03-10T19:44:02,512 | ^^^^^^^ 2023-03-10T19:44:02,513 warning: function `down420` is never used 2023-03-10T19:44:02,514 --> src/downsampling.rs:46:8 2023-03-10T19:44:02,514 | 2023-03-10T19:44:02,514 46 | pub fn down420(image : &Vec>>) -> Vec>>{ 2023-03-10T19:44:02,515 | ^^^^^^^ 2023-03-10T19:44:02,516 warning: function `up444` is never used 2023-03-10T19:44:02,516 --> src/downsampling.rs:73:8 2023-03-10T19:44:02,517 | 2023-03-10T19:44:02,517 73 | pub fn up444(image : &Vec>>) -> Vec>>{ 2023-03-10T19:44:02,517 | ^^^^^ 2023-03-10T19:44:02,518 warning: function `up422` is never used 2023-03-10T19:44:02,519 --> src/downsampling.rs:89:8 2023-03-10T19:44:02,519 | 2023-03-10T19:44:02,519 89 | pub fn up422(image : &Vec>>) -> Vec>>{ 2023-03-10T19:44:02,519 | ^^^^^ 2023-03-10T19:44:02,521 warning: function `up420` is never used 2023-03-10T19:44:02,521 --> src/downsampling.rs:111:8 2023-03-10T19:44:02,522 | 2023-03-10T19:44:02,522 111 | pub fn up420(image : &Vec>>) -> Vec>>{ 2023-03-10T19:44:02,522 | ^^^^^ 2023-03-10T19:44:02,524 warning: function `quantization_block` is never used 2023-03-10T19:44:02,524 --> src/quantization.rs:4:4 2023-03-10T19:44:02,524 | 2023-03-10T19:44:02,525 4 | fn quantization_block(block : &Vec>, q_matrix : &Vec>) -> Vec>{ 2023-03-10T19:44:02,525 | ^^^^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,527 warning: function `gen_quantize_lumi_matrix` is never used 2023-03-10T19:44:02,527 --> src/quantization.rs:17:4 2023-03-10T19:44:02,528 | 2023-03-10T19:44:02,528 17 | fn gen_quantize_lumi_matrix(Qf : f64) -> Vec>{ 2023-03-10T19:44:02,528 | ^^^^^^^^^^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,529 warning: function `gen_quantize_chroma_matrix` is never used 2023-03-10T19:44:02,530 --> src/quantization.rs:43:4 2023-03-10T19:44:02,530 | 2023-03-10T19:44:02,530 43 | fn gen_quantize_chroma_matrix(Qf : f64) -> Vec>{ 2023-03-10T19:44:02,531 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,532 warning: constant `PRECISION` is never used 2023-03-10T19:44:02,533 --> src/arithmetic_encoding.rs:1:7 2023-03-10T19:44:02,533 | 2023-03-10T19:44:02,534 1 | const PRECISION : u64 = 32; 2023-03-10T19:44:02,534 | ^^^^^^^^^ 2023-03-10T19:44:02,535 warning: constant `WHOLE` is never used 2023-03-10T19:44:02,536 --> src/arithmetic_encoding.rs:2:7 2023-03-10T19:44:02,536 | 2023-03-10T19:44:02,537 2 | const WHOLE : u64 = (2u64).pow(PRECISION as u32); 2023-03-10T19:44:02,537 | ^^^^^ 2023-03-10T19:44:02,538 warning: constant `HALF` is never used 2023-03-10T19:44:02,538 --> src/arithmetic_encoding.rs:3:7 2023-03-10T19:44:02,539 | 2023-03-10T19:44:02,539 3 | const HALF : u64 = WHOLE / 2; 2023-03-10T19:44:02,539 | ^^^^ 2023-03-10T19:44:02,540 warning: constant `QUARTER` is never used 2023-03-10T19:44:02,541 --> src/arithmetic_encoding.rs:4:7 2023-03-10T19:44:02,541 | 2023-03-10T19:44:02,541 4 | const QUARTER : u64 = WHOLE / 4; 2023-03-10T19:44:02,542 | ^^^^^^^ 2023-03-10T19:44:02,543 warning: struct `ArithEncoder` is never constructed 2023-03-10T19:44:02,543 --> src/arithmetic_encoding.rs:12:12 2023-03-10T19:44:02,543 | 2023-03-10T19:44:02,544 12 | pub struct ArithEncoder{ 2023-03-10T19:44:02,544 | ^^^^^^^^^^^^ 2023-03-10T19:44:02,545 warning: struct `Model` is never constructed 2023-03-10T19:44:02,545 --> src/arithmetic_encoding.rs:87:12 2023-03-10T19:44:02,546 | 2023-03-10T19:44:02,546 87 | pub struct Model{ 2023-03-10T19:44:02,547 | ^^^^^ 2023-03-10T19:44:02,548 warning: function `encode` is never used 2023-03-10T19:44:02,548 --> src/arithmetic_encoding.rs:131:8 2023-03-10T19:44:02,549 | 2023-03-10T19:44:02,549 131 | pub fn encode(model : &Model, message : &Vec) -> Vec{ 2023-03-10T19:44:02,550 | ^^^^^^ 2023-03-10T19:44:02,551 warning: function `output_bits_and_pending` is never used 2023-03-10T19:44:02,552 --> src/arithmetic_encoding.rs:173:4 2023-03-10T19:44:02,552 | 2023-03-10T19:44:02,552 173 | fn output_bits_and_pending(output : &mut Vec, bit : u8, pending : u32) { 2023-03-10T19:44:02,553 | ^^^^^^^^^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,554 warning: function `decode` is never used 2023-03-10T19:44:02,554 --> src/arithmetic_encoding.rs:183:8 2023-03-10T19:44:02,554 | 2023-03-10T19:44:02,555 183 | pub fn decode(message : &Vec, model : &Model) -> Vec{ 2023-03-10T19:44:02,555 | ^^^^^^ 2023-03-10T19:44:02,556 warning: function `calculate_entropy` is never used 2023-03-10T19:44:02,556 --> src/arithmetic_encoding.rs:241:8 2023-03-10T19:44:02,556 | 2023-03-10T19:44:02,557 241 | pub fn calculate_entropy(message : &Vec, model : &Model) -> f64{ 2023-03-10T19:44:02,557 | ^^^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,558 warning: associated function `new` is never used 2023-03-10T19:44:02,558 --> src/arithmetic_encoding.rs:20:12 2023-03-10T19:44:02,558 | 2023-03-10T19:44:02,559 20 | pub fn new(message : Vec, eof : T) -> ArithEncoder{ 2023-03-10T19:44:02,559 | ^^^ 2023-03-10T19:44:02,560 warning: associated function `set_new_message` is never used 2023-03-10T19:44:02,560 --> src/arithmetic_encoding.rs:26:12 2023-03-10T19:44:02,560 | 2023-03-10T19:44:02,561 26 | pub fn set_new_message(&mut self, message : Vec, eof : T) { 2023-03-10T19:44:02,561 | ^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,562 warning: associated function `encode` is never used 2023-03-10T19:44:02,562 --> src/arithmetic_encoding.rs:34:12 2023-03-10T19:44:02,563 | 2023-03-10T19:44:02,563 34 | pub fn encode(&mut self){ 2023-03-10T19:44:02,563 | ^^^^^^ 2023-03-10T19:44:02,564 warning: associated function `decode` is never used 2023-03-10T19:44:02,564 --> src/arithmetic_encoding.rs:38:12 2023-03-10T19:44:02,565 | 2023-03-10T19:44:02,565 38 | pub fn decode(&mut self) -> Vec{ 2023-03-10T19:44:02,565 | ^^^^^^ 2023-03-10T19:44:02,566 warning: associated function `write_to_bin` is never used 2023-03-10T19:44:02,566 --> src/arithmetic_encoding.rs:44:12 2023-03-10T19:44:02,566 | 2023-03-10T19:44:02,567 44 | pub fn write_to_bin(&mut self, path : &str){ 2023-03-10T19:44:02,567 | ^^^^^^^^^^^^ 2023-03-10T19:44:02,568 warning: associated function `load_from_bin` is never used 2023-03-10T19:44:02,568 --> src/arithmetic_encoding.rs:50:12 2023-03-10T19:44:02,568 | 2023-03-10T19:44:02,569 50 | pub fn load_from_bin(&mut self, path : &str){ 2023-03-10T19:44:02,569 | ^^^^^^^^^^^^^ 2023-03-10T19:44:02,570 warning: associated function `message_to_bytes` is never used 2023-03-10T19:44:02,570 --> src/arithmetic_encoding.rs:59:12 2023-03-10T19:44:02,570 | 2023-03-10T19:44:02,571 59 | pub fn message_to_bytes(&mut self) -> Vec{ 2023-03-10T19:44:02,571 | ^^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,572 warning: associated function `message_from_bytes` is never used 2023-03-10T19:44:02,572 --> src/arithmetic_encoding.rs:69:12 2023-03-10T19:44:02,572 | 2023-03-10T19:44:02,573 69 | pub fn message_from_bytes(&mut self, bytes : &Vec) -> Vec{ 2023-03-10T19:44:02,573 | ^^^^^^^^^^^^^^^^^^ 2023-03-10T19:44:02,574 warning: associated function `new` is never used 2023-03-10T19:44:02,574 --> src/arithmetic_encoding.rs:95:12 2023-03-10T19:44:02,574 | 2023-03-10T19:44:02,575 95 | pub fn new(freq_vec : &Vec<(T,u64)>, end : T) -> Model{ 2023-03-10T19:44:02,575 | ^^^ 2023-03-10T19:44:02,576 warning: associated function `get_prob` is never used 2023-03-10T19:44:02,576 --> src/arithmetic_encoding.rs:112:12 2023-03-10T19:44:02,576 | 2023-03-10T19:44:02,576 112 | pub fn get_prob(&self, sym : &T) -> (u64,u64,u64){ 2023-03-10T19:44:02,577 | ^^^^^^^^ 2023-03-10T19:44:02,578 warning: associated function `get_sym` is never used 2023-03-10T19:44:02,578 --> src/arithmetic_encoding.rs:116:12 2023-03-10T19:44:02,578 | 2023-03-10T19:44:02,579 116 | pub fn get_sym(&self, low : u64, range : u64, value : u64) -> T{ 2023-03-10T19:44:02,579 | ^^^^^^^ 2023-03-10T19:44:02,580 warning: crate `JPEGAndEntropyEncoding` should have a snake case name 2023-03-10T19:44:02,580 | 2023-03-10T19:44:02,580 = help: convert the identifier to snake case: `jpegand_entropy_encoding` 2023-03-10T19:44:02,580 = note: `#[warn(non_snake_case)]` on by default 2023-03-10T19:44:02,582 warning: function `JPEGAndEntropyEncoding` should have a snake case name 2023-03-10T19:44:02,582 --> src/lib.rs:16:4 2023-03-10T19:44:02,582 | 2023-03-10T19:44:02,582 16 | fn JPEGAndEntropyEncoding(_py: Python, m: &PyModule) -> PyResult<()> { 2023-03-10T19:44:02,583 | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jpegand_entropy_encoding` 2023-03-10T19:44:02,583 warning: variable `R` should have a snake case name 2023-03-10T19:44:02,584 --> src/colorspace_transforms.rs:5:13 2023-03-10T19:44:02,584 | 2023-03-10T19:44:02,584 5 | fn rgb_to_y(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,585 | ^ help: convert the identifier to snake case: `r` 2023-03-10T19:44:02,585 warning: variable `G` should have a snake case name 2023-03-10T19:44:02,586 --> src/colorspace_transforms.rs:5:24 2023-03-10T19:44:02,586 | 2023-03-10T19:44:02,586 5 | fn rgb_to_y(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,587 | ^ help: convert the identifier to snake case: `g` 2023-03-10T19:44:02,587 warning: variable `B` should have a snake case name 2023-03-10T19:44:02,588 --> src/colorspace_transforms.rs:5:35 2023-03-10T19:44:02,588 | 2023-03-10T19:44:02,588 5 | fn rgb_to_y(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,589 | ^ help: convert the identifier to snake case: `b` 2023-03-10T19:44:02,589 warning: variable `R` should have a snake case name 2023-03-10T19:44:02,590 --> src/colorspace_transforms.rs:9:14 2023-03-10T19:44:02,590 | 2023-03-10T19:44:02,590 9 | fn rgb_to_cb(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,590 | ^ help: convert the identifier to snake case: `r` 2023-03-10T19:44:02,591 warning: variable `G` should have a snake case name 2023-03-10T19:44:02,592 --> src/colorspace_transforms.rs:9:25 2023-03-10T19:44:02,592 | 2023-03-10T19:44:02,592 9 | fn rgb_to_cb(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,592 | ^ help: convert the identifier to snake case: `g` 2023-03-10T19:44:02,593 warning: variable `B` should have a snake case name 2023-03-10T19:44:02,594 --> src/colorspace_transforms.rs:9:36 2023-03-10T19:44:02,594 | 2023-03-10T19:44:02,594 9 | fn rgb_to_cb(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,594 | ^ help: convert the identifier to snake case: `b` 2023-03-10T19:44:02,595 warning: variable `R` should have a snake case name 2023-03-10T19:44:02,595 --> src/colorspace_transforms.rs:13:14 2023-03-10T19:44:02,596 | 2023-03-10T19:44:02,596 13 | fn rgb_to_cr(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,596 | ^ help: convert the identifier to snake case: `r` 2023-03-10T19:44:02,597 warning: variable `G` should have a snake case name 2023-03-10T19:44:02,597 --> src/colorspace_transforms.rs:13:25 2023-03-10T19:44:02,598 | 2023-03-10T19:44:02,598 13 | fn rgb_to_cr(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,598 | ^ help: convert the identifier to snake case: `g` 2023-03-10T19:44:02,599 warning: variable `B` should have a snake case name 2023-03-10T19:44:02,599 --> src/colorspace_transforms.rs:13:36 2023-03-10T19:44:02,600 | 2023-03-10T19:44:02,600 13 | fn rgb_to_cr(R : usize, G : usize, B : usize) -> usize{ 2023-03-10T19:44:02,600 | ^ help: convert the identifier to snake case: `b` 2023-03-10T19:44:02,601 warning: variable `R` should have a snake case name 2023-03-10T19:44:02,601 --> src/colorspace_transforms.rs:17:21 2023-03-10T19:44:02,602 | 2023-03-10T19:44:02,602 17 | pub fn rgb_to_ycbcr(R : usize, G : usize, B : usize) -> (usize, usize, usize){ 2023-03-10T19:44:02,602 | ^ help: convert the identifier to snake case: `r` 2023-03-10T19:44:02,603 warning: variable `G` should have a snake case name 2023-03-10T19:44:02,603 --> src/colorspace_transforms.rs:17:32 2023-03-10T19:44:02,604 | 2023-03-10T19:44:02,604 17 | pub fn rgb_to_ycbcr(R : usize, G : usize, B : usize) -> (usize, usize, usize){ 2023-03-10T19:44:02,604 | ^ help: convert the identifier to snake case: `g` 2023-03-10T19:44:02,605 warning: variable `B` should have a snake case name 2023-03-10T19:44:02,605 --> src/colorspace_transforms.rs:17:43 2023-03-10T19:44:02,605 | 2023-03-10T19:44:02,606 17 | pub fn rgb_to_ycbcr(R : usize, G : usize, B : usize) -> (usize, usize, usize){ 2023-03-10T19:44:02,606 | ^ help: convert the identifier to snake case: `b` 2023-03-10T19:44:02,607 warning: variable `Y` should have a snake case name 2023-03-10T19:44:02,607 --> src/colorspace_transforms.rs:23:15 2023-03-10T19:44:02,607 | 2023-03-10T19:44:02,608 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,608 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T19:44:02,609 warning: variable `Cb` should have a snake case name 2023-03-10T19:44:02,609 --> src/colorspace_transforms.rs:23:26 2023-03-10T19:44:02,609 | 2023-03-10T19:44:02,610 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,610 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T19:44:02,611 warning: variable `Cr` should have a snake case name 2023-03-10T19:44:02,611 --> src/colorspace_transforms.rs:23:38 2023-03-10T19:44:02,611 | 2023-03-10T19:44:02,612 23 | fn ycbcr_to_r(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,612 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T19:44:02,613 warning: variable `Y` should have a snake case name 2023-03-10T19:44:02,613 --> src/colorspace_transforms.rs:27:15 2023-03-10T19:44:02,613 | 2023-03-10T19:44:02,614 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,614 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T19:44:02,615 warning: variable `Cb` should have a snake case name 2023-03-10T19:44:02,615 --> src/colorspace_transforms.rs:27:26 2023-03-10T19:44:02,615 | 2023-03-10T19:44:02,615 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,616 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T19:44:02,617 warning: variable `Cr` should have a snake case name 2023-03-10T19:44:02,617 --> src/colorspace_transforms.rs:27:38 2023-03-10T19:44:02,617 | 2023-03-10T19:44:02,617 27 | fn ycbcr_to_g(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,618 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T19:44:02,618 warning: variable `Y` should have a snake case name 2023-03-10T19:44:02,619 --> src/colorspace_transforms.rs:31:15 2023-03-10T19:44:02,619 | 2023-03-10T19:44:02,619 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,620 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T19:44:02,620 warning: variable `Cb` should have a snake case name 2023-03-10T19:44:02,621 --> src/colorspace_transforms.rs:31:26 2023-03-10T19:44:02,621 | 2023-03-10T19:44:02,621 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,622 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T19:44:02,622 warning: variable `Cr` should have a snake case name 2023-03-10T19:44:02,623 --> src/colorspace_transforms.rs:31:38 2023-03-10T19:44:02,623 | 2023-03-10T19:44:02,623 31 | fn ycbcr_to_b(Y : usize, Cb : usize, Cr : usize) -> usize{ 2023-03-10T19:44:02,623 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T19:44:02,624 warning: variable `Y` should have a snake case name 2023-03-10T19:44:02,625 --> src/colorspace_transforms.rs:35:21 2023-03-10T19:44:02,625 | 2023-03-10T19:44:02,625 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T19:44:02,625 | ^ help: convert the identifier to snake case (notice the capitalization): `y` 2023-03-10T19:44:02,626 warning: variable `Cb` should have a snake case name 2023-03-10T19:44:02,626 --> src/colorspace_transforms.rs:35:32 2023-03-10T19:44:02,627 | 2023-03-10T19:44:02,627 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T19:44:02,627 | ^^ help: convert the identifier to snake case (notice the capitalization): `cb` 2023-03-10T19:44:02,628 warning: variable `Cr` should have a snake case name 2023-03-10T19:44:02,628 --> src/colorspace_transforms.rs:35:44 2023-03-10T19:44:02,629 | 2023-03-10T19:44:02,629 35 | pub fn ycbcr_to_rgb(Y : usize, Cb : usize, Cr : usize) -> (usize,usize,usize){ 2023-03-10T19:44:02,629 | ^^ help: convert the identifier to snake case (notice the capitalization): `cr` 2023-03-10T19:44:02,630 warning: variable `Qf` should have a snake case name 2023-03-10T19:44:02,630 --> src/quantization.rs:17:29 2023-03-10T19:44:02,631 | 2023-03-10T19:44:02,631 17 | fn gen_quantize_lumi_matrix(Qf : f64) -> Vec>{ 2023-03-10T19:44:02,631 | ^^ help: convert the identifier to snake case: `qf` 2023-03-10T19:44:02,632 warning: variable `S` should have a snake case name 2023-03-10T19:44:02,632 --> src/quantization.rs:27:9 2023-03-10T19:44:02,633 | 2023-03-10T19:44:02,633 27 | let S = if Qf >= 50.0 {200.0 - 2.0 * Qf} else {5000.0 / Qf}; 2023-03-10T19:44:02,633 | ^ help: convert the identifier to snake case (notice the capitalization): `s` 2023-03-10T19:44:02,634 warning: variable `Qf` should have a snake case name 2023-03-10T19:44:02,634 --> src/quantization.rs:43:31 2023-03-10T19:44:02,635 | 2023-03-10T19:44:02,635 43 | fn gen_quantize_chroma_matrix(Qf : f64) -> Vec>{ 2023-03-10T19:44:02,635 | ^^ help: convert the identifier to snake case: `qf` 2023-03-10T19:44:02,636 warning: variable `S` should have a snake case name 2023-03-10T19:44:02,636 --> src/quantization.rs:53:9 2023-03-10T19:44:02,636 | 2023-03-10T19:44:02,637 53 | let S = if Qf >= 50.0 {200.0 - 2.0 * Qf} else {5000.0 / Qf}; 2023-03-10T19:44:02,637 | ^ help: convert the identifier to snake case (notice the capitalization): `s` 2023-03-10T19:44:02,638 warning: variable `H` should have a snake case name 2023-03-10T19:44:02,638 --> src/arithmetic_encoding.rs:242:13 2023-03-10T19:44:02,638 | 2023-03-10T19:44:02,639 242 | let mut H = 0.0; 2023-03-10T19:44:02,639 | ^ help: convert the identifier to snake case: `h` 2023-03-10T19:44:02,640 warning: 75 warnings emitted 2023-03-10T19:44:02,641 /tmp/pip-wheel-494zkc7q/jpegandentropyencoding_c7d802a91ac64c018aaceeea4cc656e3/target/wheels/JPEGAndEntropyEncoding-0.1.0-cp37-cp37m-linux_armv7l.whl 2023-03-10T19:44:02,642 Building wheel for jpegandentropyencoding (pyproject.toml): finished with status 'done' 2023-03-10T19:44:02,685 Created wheel for jpegandentropyencoding: filename=JPEGAndEntropyEncoding-0.1.0-cp37-cp37m-linux_armv7l.whl size=1032795 sha256=0f79220993ad8b21585f156ebfe48d1c4e00754d1e85ae43d3d2873b6589eac0 2023-03-10T19:44:02,688 Stored in directory: /tmp/pip-ephem-wheel-cache-gdv8rl3_/wheels/bd/81/b7/2274f81e9f87445439d8ac3d9fa6f4305f16800f3068ba14b9 2023-03-10T19:44:02,715 Successfully built jpegandentropyencoding 2023-03-10T19:44:02,807 Removed build tracker: '/tmp/pip-build-tracker-sh8fn93s'