[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] 4ab9377608bffa3cf9a5285427455d99e4a5d2a9 [INFO] checking jero98772/steap_by_steap against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjero98772%2Fsteap_by_steap" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jero98772/steap_by_steap on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-6-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.2.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.2 [INFO] [stderr] Downloaded pyo3-build-config v0.21.2 [INFO] [stderr] Downloaded pyo3-macros v0.21.2 [INFO] [stderr] Downloaded indoc v2.0.5 [INFO] [stderr] Downloaded pyo3-ffi v0.21.2 [INFO] [stderr] Downloaded pyo3 v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79f2559ebabdeb36297a37cd561cafd902b0421895d8ad102d1cbdf179321d2d [INFO] running `Command { std: "docker" "start" "-a" "79f2559ebabdeb36297a37cd561cafd902b0421895d8ad102d1cbdf179321d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79f2559ebabdeb36297a37cd561cafd902b0421895d8ad102d1cbdf179321d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f2559ebabdeb36297a37cd561cafd902b0421895d8ad102d1cbdf179321d2d", kill_on_drop: false }` [INFO] [stdout] 79f2559ebabdeb36297a37cd561cafd902b0421895d8ad102d1cbdf179321d2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a03932d59edf444c0d04ccb392d787266ff71a303966c600bd4becadb359de2 [INFO] running `Command { std: "docker" "start" "-a" "2a03932d59edf444c0d04ccb392d787266ff71a303966c600bd4becadb359de2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [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 pyo3-build-config v0.21.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [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::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: `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/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: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | 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: `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: `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: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | 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/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 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/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:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 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: 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: 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:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | 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:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | 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 `RunLengthEncode` should have a snake case name [INFO] [stdout] --> src/compression.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | 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:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | 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:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | 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:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | 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:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | 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:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn LZWDecompress(compressed: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lzwdecompress` [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: 65 warnings emitted [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: 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:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | 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:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | 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 `RunLengthEncode` should have a snake case name [INFO] [stdout] --> src/compression.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | 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:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | 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:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | 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:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | 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:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | 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:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn LZWDecompress(compressed: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lzwdecompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.57s [INFO] running `Command { std: "docker" "inspect" "2a03932d59edf444c0d04ccb392d787266ff71a303966c600bd4becadb359de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a03932d59edf444c0d04ccb392d787266ff71a303966c600bd4becadb359de2", kill_on_drop: false }` [INFO] [stdout] 2a03932d59edf444c0d04ccb392d787266ff71a303966c600bd4becadb359de2