[INFO] cloning repository https://github.com/jero98772/steap_by_steap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jero98772/steap_by_steap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjero98772%2Fsteap_by_steap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjero98772%2Fsteap_by_steap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76a1b45a969cdb50045351e04d9bc538d5a61cd0 [INFO] checking jero98772/steap_by_steap against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjero98772%2Fsteap_by_steap" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jero98772/steap_by_steap on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jero98772/steap_by_steap [INFO] finished tweaking git repo https://github.com/jero98772/steap_by_steap [INFO] tweaked toml for git repo https://github.com/jero98772/steap_by_steap written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jero98772/steap_by_steap 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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2f47d1f1e1d68ef60d0fc5128435c85fc325c668edf6db7466f1ce29c7bad9c [INFO] running `Command { std: "docker" "start" "-a" "b2f47d1f1e1d68ef60d0fc5128435c85fc325c668edf6db7466f1ce29c7bad9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2f47d1f1e1d68ef60d0fc5128435c85fc325c668edf6db7466f1ce29c7bad9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f47d1f1e1d68ef60d0fc5128435c85fc325c668edf6db7466f1ce29c7bad9c", kill_on_drop: false }` [INFO] [stdout] b2f47d1f1e1d68ef60d0fc5128435c85fc325c668edf6db7466f1ce29c7bad9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9646ae9c29a2e9ef46de9b754e959cfc34b15c71b058af48f29ecf358a8096c2 [INFO] running `Command { std: "docker" "start" "-a" "9646ae9c29a2e9ef46de9b754e959cfc34b15c71b058af48f29ecf358a8096c2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Checking steap_by_steap v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/intervalsearchtree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/intervalsearchtree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::types::PyList` [INFO] [stdout] --> src/suffixarray.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pyo3::types::PyList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::types::PyList` [INFO] [stdout] --> src/suffixarray.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pyo3::types::PyList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::prelude::*` [INFO] [stdout] --> src/substringsearch.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | use pyo3::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/substringsearch.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/nonfiniteautomata.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::prelude::*` [INFO] [stdout] --> src/substringsearch.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | use pyo3::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/substringsearch.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/nonfiniteautomata.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/compression.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use image::{open, ImageBuffer, Rgb, DynamicImage, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/compression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/compression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/compression.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use image::{open, ImageBuffer, Rgb, DynamicImage, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array1` [INFO] [stdout] --> src/simplexmethod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::{Array1, Array2, s}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/compression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/criptografy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | m.add_class::()?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/compression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array1` [INFO] [stdout] --> src/simplexmethod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::{Array1, Array2, s}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::wrap_pyfunction` [INFO] [stdout] --> src/criptografy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pyo3::wrap_pyfunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | m.add_class::()?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/sort.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn MsdRadix(strings: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/sort.rs:364:31 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn RadixQuicksort(arr_py: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/sort.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn MsdRadix(strings: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/sort.rs:364:31 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn RadixQuicksort(arr_py: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/digraph.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | fn digraph(_py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/digraph.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | fn digraph(_py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/nonfiniteautomata.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | fn is_accepted(&self, input: &PyString) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/nonfiniteautomata.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | fn my_nfa(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/nonfiniteautomata.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | fn is_accepted(&self, input: &PyString) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/nonfiniteautomata.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | fn my_nfa(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn steap_by_steap(m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn steap_by_steap(m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unionfind.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut rank = vec![0; n]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/convexhull.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn Convex_hull(py: Python, points: Vec<(f64, f64)>) -> PyResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unionfind.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut rank = vec![0; n]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/convexhull.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn Convex_hull(py: Python, points: Vec<(f64, f64)>) -> PyResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ternarysearchtrie.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut tmproot = self.root.take(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ternarysearchtrie.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut node = match node { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/nonfiniteautomata.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | fn my_nfa(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ternarysearchtrie.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut tmproot = self.root.take(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ternarysearchtrie.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut node = match node { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/nonfiniteautomata.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | fn my_nfa(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `children` and `is_leaf` are never read [INFO] [stdout] --> src/btree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct BTreeNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | /// Flag indicating if the node is a leaf node. [INFO] [stdout] 13 | is_leaf: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `degree` is never read [INFO] [stdout] --> src/btree.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BTree { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | degree: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `coords` is never read [INFO] [stdout] --> src/kdtree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | coords: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_graph` is never used [INFO] [stdout] --> src/graph.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn create_graph() -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/compression.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl HuffmanNode { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn decode(&self, encoded: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Binary_search` should have a snake case name [INFO] [stdout] --> src/binarysearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Binary_search(array: Vec, target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_search` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Binary_search` should have a snake case name [INFO] [stdout] --> src/binarysearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Binary_search(array: Vec, target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Selection` should have a snake case name [INFO] [stdout] --> src/sort.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn Selection(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Selection` should have a snake case name [INFO] [stdout] --> src/sort.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn Selection(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Insertion` should have a snake case name [INFO] [stdout] --> src/sort.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn Insertion(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `insertion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Insertion` should have a snake case name [INFO] [stdout] --> src/sort.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn Insertion(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `insertion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Shell` should have a snake case name [INFO] [stdout] --> src/sort.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn Shell(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shell` should have a snake case name [INFO] [stdout] --> src/sort.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn Shell(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Quick` should have a snake case name [INFO] [stdout] --> src/sort.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn Quick(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `quick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Quick` should have a snake case name [INFO] [stdout] --> src/sort.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn Quick(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `quick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Merge` should have a snake case name [INFO] [stdout] --> src/sort.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn Merge(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Merge` should have a snake case name [INFO] [stdout] --> src/sort.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn Merge(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn LsdRadix(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `lsd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn LsdRadix(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `lsd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn MsdRadix(strings: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `msd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn MsdRadix(strings: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `msd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RadixQuicksort` should have a snake case name [INFO] [stdout] --> src/sort.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn RadixQuicksort(arr_py: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `radix_quicksort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RadixQuicksort` should have a snake case name [INFO] [stdout] --> src/sort.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn RadixQuicksort(arr_py: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `radix_quicksort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Knuth` should have a snake case name [INFO] [stdout] --> src/shuffle.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn Knuth(mut data: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `knuth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Knuth` should have a snake case name [INFO] [stdout] --> src/shuffle.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn Knuth(mut data: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `knuth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Convex_hull` should have a snake case name [INFO] [stdout] --> src/convexhull.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn Convex_hull(py: Python, points: Vec<(f64, f64)>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `convex_hull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Convex_hull` should have a snake case name [INFO] [stdout] --> src/convexhull.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn Convex_hull(py: Python, points: Vec<(f64, f64)>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `convex_hull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Heapsort` should have a snake case name [INFO] [stdout] --> src/heap.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn Heapsort(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `heapsort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Heapsort` should have a snake case name [INFO] [stdout] --> src/heap.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn Heapsort(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `heapsort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BrutalForceSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn BrutalForceSearch(text: &str, pattern: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `brutal_force_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BrutalForceSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn BrutalForceSearch(text: &str, pattern: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `brutal_force_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KMPSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn KMPSearch(text: &str, pattern: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `kmpsearch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `KMPSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn KMPSearch(text: &str, pattern: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `kmpsearch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BoyerMooreSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn BoyerMooreSearch(text: &str, pattern: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `boyer_moore_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BoyerMooreSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn BoyerMooreSearch(text: &str, pattern: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `boyer_moore_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RabinKarpSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn RabinKarpSearch(text: &str, pattern: &str, prime: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rabin_karp_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/substringsearch.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | if text_hash < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RabinKarpSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn RabinKarpSearch(text: &str, pattern: &str, prime: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rabin_karp_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HuffmanCodes` should have a snake case name [INFO] [stdout] --> src/compression.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn HuffmanCodes(input: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HuffmanCodes` should have a snake case name [INFO] [stdout] --> src/compression.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn HuffmanCodes(input: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HuffmanCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn HuffmanCompress(input: &str) -> PyResult<(String, HashMap)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HuffmanCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn HuffmanCompress(input: &str) -> PyResult<(String, HashMap)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HuffmanDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn HuffmanDecompress(compressed: &str, codes: HashMap) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_decompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HuffmanDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn HuffmanDecompress(compressed: &str, codes: HashMap) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_decompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RunLengthEncode` should have a snake case name [INFO] [stdout] --> src/compression.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn RunLengthEncode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RunLengthEncode` should have a snake case name [INFO] [stdout] --> src/compression.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn RunLengthEncode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RunLengthDecode` should have a snake case name [INFO] [stdout] --> src/compression.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn RunLengthDecode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RunLengthDecode` should have a snake case name [INFO] [stdout] --> src/compression.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn RunLengthDecode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LZWCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn LZWCompress(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lzwcompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LZWCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn LZWCompress(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lzwcompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LZWDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn LZWDecompress(compressed: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lzwdecompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LZWDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn LZWDecompress(compressed: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lzwdecompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn CompressImageFFT(input_path: &str, output_path: &str, compression_ratio: f32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn CompressImageFFT(input_path: &str, output_path: &str, compression_ratio: f32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn DecompressImageFFT(input_path: &str, output_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decompress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn DecompressImageFFT(input_path: &str, output_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decompress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn EncryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn EncryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn DecryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn DecryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RandomPrime` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn RandomPrime(limit: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RandomPrime` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn RandomPrime(limit: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GenerateKey` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn GenerateKey(key1: usize, key2: usize) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generate_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GenerateKey` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn GenerateKey(key1: usize, key2: usize) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generate_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn EncryptRSA(msg: &str, e: usize, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn EncryptRSA(msg: &str, e: usize, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn DecryptRSA(cifrate: Vec, d: usize, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn DecryptRSA(cifrate: Vec, d: usize, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn EncryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn EncryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn DecryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn DecryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn EncryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn EncryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn DecryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn DecryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `children` and `is_leaf` are never read [INFO] [stdout] --> src/btree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct BTreeNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | /// Flag indicating if the node is a leaf node. [INFO] [stdout] 13 | is_leaf: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `degree` is never read [INFO] [stdout] --> src/btree.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BTree { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | degree: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `coords` is never read [INFO] [stdout] --> src/kdtree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | coords: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_graph` is never used [INFO] [stdout] --> src/graph.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn create_graph() -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/compression.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl HuffmanNode { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn decode(&self, encoded: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Binary_search` should have a snake case name [INFO] [stdout] --> src/binarysearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Binary_search(array: Vec, target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_search` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Binary_search` should have a snake case name [INFO] [stdout] --> src/binarysearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Binary_search(array: Vec, target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Selection` should have a snake case name [INFO] [stdout] --> src/sort.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn Selection(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Selection` should have a snake case name [INFO] [stdout] --> src/sort.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn Selection(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Insertion` should have a snake case name [INFO] [stdout] --> src/sort.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn Insertion(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `insertion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Insertion` should have a snake case name [INFO] [stdout] --> src/sort.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn Insertion(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `insertion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Shell` should have a snake case name [INFO] [stdout] --> src/sort.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn Shell(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shell` should have a snake case name [INFO] [stdout] --> src/sort.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn Shell(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Quick` should have a snake case name [INFO] [stdout] --> src/sort.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn Quick(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `quick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Quick` should have a snake case name [INFO] [stdout] --> src/sort.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn Quick(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `quick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Merge` should have a snake case name [INFO] [stdout] --> src/sort.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn Merge(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Merge` should have a snake case name [INFO] [stdout] --> src/sort.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn Merge(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `merge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn LsdRadix(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `lsd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn LsdRadix(mut arr: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `lsd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn MsdRadix(strings: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `msd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MsdRadix` should have a snake case name [INFO] [stdout] --> src/sort.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn MsdRadix(strings: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `msd_radix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RadixQuicksort` should have a snake case name [INFO] [stdout] --> src/sort.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn RadixQuicksort(arr_py: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `radix_quicksort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RadixQuicksort` should have a snake case name [INFO] [stdout] --> src/sort.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn RadixQuicksort(arr_py: &PyList) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `radix_quicksort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Knuth` should have a snake case name [INFO] [stdout] --> src/shuffle.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn Knuth(mut data: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `knuth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Knuth` should have a snake case name [INFO] [stdout] --> src/shuffle.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn Knuth(mut data: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `knuth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Convex_hull` should have a snake case name [INFO] [stdout] --> src/convexhull.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn Convex_hull(py: Python, points: Vec<(f64, f64)>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `convex_hull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Convex_hull` should have a snake case name [INFO] [stdout] --> src/convexhull.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn Convex_hull(py: Python, points: Vec<(f64, f64)>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `convex_hull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Heapsort` should have a snake case name [INFO] [stdout] --> src/heap.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn Heapsort(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `heapsort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Heapsort` should have a snake case name [INFO] [stdout] --> src/heap.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn Heapsort(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `heapsort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BrutalForceSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn BrutalForceSearch(text: &str, pattern: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `brutal_force_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BrutalForceSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn BrutalForceSearch(text: &str, pattern: &str) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `brutal_force_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KMPSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn KMPSearch(text: &str, pattern: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `kmpsearch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `KMPSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn KMPSearch(text: &str, pattern: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `kmpsearch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BoyerMooreSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn BoyerMooreSearch(text: &str, pattern: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `boyer_moore_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BoyerMooreSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn BoyerMooreSearch(text: &str, pattern: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `boyer_moore_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RabinKarpSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn RabinKarpSearch(text: &str, pattern: &str, prime: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rabin_karp_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/substringsearch.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | if text_hash < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RabinKarpSearch` should have a snake case name [INFO] [stdout] --> src/substringsearch.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn RabinKarpSearch(text: &str, pattern: &str, prime: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rabin_karp_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HuffmanCodes` should have a snake case name [INFO] [stdout] --> src/compression.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn HuffmanCodes(input: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HuffmanCodes` should have a snake case name [INFO] [stdout] --> src/compression.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn HuffmanCodes(input: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HuffmanCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn HuffmanCompress(input: &str) -> PyResult<(String, HashMap)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HuffmanCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn HuffmanCompress(input: &str) -> PyResult<(String, HashMap)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HuffmanDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn HuffmanDecompress(compressed: &str, codes: HashMap) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_decompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HuffmanDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn HuffmanDecompress(compressed: &str, codes: HashMap) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `huffman_decompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RunLengthEncode` should have a snake case name [INFO] [stdout] --> src/compression.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn RunLengthEncode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RunLengthEncode` should have a snake case name [INFO] [stdout] --> src/compression.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn RunLengthEncode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RunLengthDecode` should have a snake case name [INFO] [stdout] --> src/compression.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn RunLengthDecode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RunLengthDecode` should have a snake case name [INFO] [stdout] --> src/compression.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn RunLengthDecode(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `run_length_decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LZWCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn LZWCompress(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lzwcompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LZWCompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn LZWCompress(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `lzwcompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LZWDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn LZWDecompress(compressed: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lzwdecompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LZWDecompress` should have a snake case name [INFO] [stdout] --> src/compression.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn LZWDecompress(compressed: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lzwdecompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn CompressImageFFT(input_path: &str, output_path: &str, compression_ratio: f32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn CompressImageFFT(input_path: &str, output_path: &str, compression_ratio: f32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn DecompressImageFFT(input_path: &str, output_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decompress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecompressImageFFT` should have a snake case name [INFO] [stdout] --> src/compression.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn DecompressImageFFT(input_path: &str, output_path: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decompress_image_fft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn EncryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn EncryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn DecryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptXOR` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn DecryptXOR(data: &str, key: char) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_xor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RandomPrime` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn RandomPrime(limit: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RandomPrime` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn RandomPrime(limit: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GenerateKey` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn GenerateKey(key1: usize, key2: usize) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generate_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GenerateKey` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn GenerateKey(key1: usize, key2: usize) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generate_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn EncryptRSA(msg: &str, e: usize, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn EncryptRSA(msg: &str, e: usize, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn DecryptRSA(cifrate: Vec, d: usize, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptRSA` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn DecryptRSA(cifrate: Vec, d: usize, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn EncryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn EncryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn DecryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptCesar` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn DecryptCesar(text: &str, shift: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_cesar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `EncryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn EncryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EncryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn EncryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn DecryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DecryptRailFence` should have a snake case name [INFO] [stdout] --> src/criptografy.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn DecryptRailFence(text: &str, rails: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_rail_fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.25s [INFO] running `Command { std: "docker" "inspect" "9646ae9c29a2e9ef46de9b754e959cfc34b15c71b058af48f29ecf358a8096c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9646ae9c29a2e9ef46de9b754e959cfc34b15c71b058af48f29ecf358a8096c2", kill_on_drop: false }` [INFO] [stdout] 9646ae9c29a2e9ef46de9b754e959cfc34b15c71b058af48f29ecf358a8096c2