[INFO] fetching crate yass-2 2.0.0... [INFO] checking yass-2-2.0.0 against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] extracting crate yass-2 2.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate yass-2 2.0.0 [INFO] finished tweaking crates.io crate yass-2 2.0.0 [INFO] tweaked toml for crates.io crate yass-2 2.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yass-2 2.0.0 on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.16.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding pyo3 v0.19.2 (available: v0.27.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.11 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] [stderr] Downloaded lsap v1.0.2 [INFO] [stderr] Downloaded pyo3-macros v0.19.2 [INFO] [stderr] Downloaded pyo3-build-config v0.19.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.19.2 [INFO] [stderr] Downloaded pyo3-ffi v0.19.2 [INFO] [stderr] Downloaded pyo3 v0.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5ec98549d170f1762fc74ed6debfae36b791a4a45cc4d572f1e3151100124e6 [INFO] running `Command { std: "docker" "start" "-a" "d5ec98549d170f1762fc74ed6debfae36b791a4a45cc4d572f1e3151100124e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5ec98549d170f1762fc74ed6debfae36b791a4a45cc4d572f1e3151100124e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ec98549d170f1762fc74ed6debfae36b791a4a45cc4d572f1e3151100124e6", kill_on_drop: false }` [INFO] [stdout] d5ec98549d170f1762fc74ed6debfae36b791a4a45cc4d572f1e3151100124e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fedcd70347c19b962f4c5610a05f9a24e544974561434eb4c6955675896d70e [INFO] running `Command { std: "docker" "start" "-a" "7fedcd70347c19b962f4c5610a05f9a24e544974561434eb4c6955675896d70e", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking lsap v1.0.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking yass-2 v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::set_strsim::SetStrSim` [INFO] [stdout] --> src/wrapped_strsim/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::set_strsim::SetStrSim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prelude::*` and `types::PyList` [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use pyo3::{prelude::*, types::PyList}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::set_strsim::SetStrSim` [INFO] [stdout] --> src/wrapped_strsim/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::set_strsim::SetStrSim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prelude::*` and `types::PyList` [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use pyo3::{prelude::*, types::PyList}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `threshold` is never read [INFO] [stdout] --> src/hybrid_jaccard.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub threshold: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lower_bound` is never read [INFO] [stdout] --> src/hybrid_jaccard.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub lower_bound: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `strsim` is never read [INFO] [stdout] --> src/hybrid_jaccard.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub strsim: S, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `threshold` is never read [INFO] [stdout] --> src/hybrid_jaccard.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub threshold: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lower_bound` is never read [INFO] [stdout] --> src/hybrid_jaccard.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub lower_bound: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `strsim` is never read [INFO] [stdout] --> src/hybrid_jaccard.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub strsim: S, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `threshold` is never read [INFO] [stdout] --> src/jaro_winkler.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub threshold: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scaling_factor` is never read [INFO] [stdout] --> src/jaro_winkler.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub scaling_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prefix_len` is never read [INFO] [stdout] --> src/jaro_winkler.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub prefix_len: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `threshold` is never read [INFO] [stdout] --> src/jaro_winkler.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub threshold: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `insertion` is never read [INFO] [stdout] --> src/levenshtein.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub insertion: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `insertion_default` is never read [INFO] [stdout] --> src/levenshtein.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub insertion_default: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deletion` is never read [INFO] [stdout] --> src/levenshtein.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub deletion: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scaling_factor` is never read [INFO] [stdout] --> src/jaro_winkler.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub scaling_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deletion_default` is never read [INFO] [stdout] --> src/levenshtein.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub deletion_default: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prefix_len` is never read [INFO] [stdout] --> src/jaro_winkler.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub prefix_len: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `substitution` is never read [INFO] [stdout] --> src/levenshtein.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub substitution: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `substitution_default` is never read [INFO] [stdout] --> src/levenshtein.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub substitution_default: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowerbound` is never read [INFO] [stdout] --> src/levenshtein.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub lowerbound: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `insertion` is never read [INFO] [stdout] --> src/levenshtein.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub insertion: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `insertion_default` is never read [INFO] [stdout] --> src/levenshtein.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub insertion_default: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deletion` is never read [INFO] [stdout] --> src/levenshtein.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub deletion: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `deletion_default` is never read [INFO] [stdout] --> src/levenshtein.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub deletion_default: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `substitution` is never read [INFO] [stdout] --> src/levenshtein.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub substitution: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `substitution_default` is never read [INFO] [stdout] --> src/levenshtein.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub substitution_default: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lowerbound` is never read [INFO] [stdout] --> src/levenshtein.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub lowerbound: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `strsim` is never read [INFO] [stdout] --> src/monge_elkan.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub strsim: S, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lower_bound` is never read [INFO] [stdout] --> src/monge_elkan.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub lower_bound: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `strsim` is never read [INFO] [stdout] --> src/monge_elkan.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub strsim: S, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lower_bound` is never read [INFO] [stdout] --> src/monge_elkan.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub lower_bound: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `into_pyerr` is never used [INFO] [stdout] --> src/error.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn into_pyerr>(err: E) -> PyErr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `into_pyerr` is never used [INFO] [stdout] --> src/error.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn into_pyerr>(err: E) -> PyErr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/python.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VecVecChar(Vec>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/python.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VecVecChar(Vec>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/python.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct VecChar(Vec); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hybrid_jaccard_similarity` is never used [INFO] [stdout] --> src/python.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn hybrid_jaccard_similarity(key: &VecVecChar, query: &VecVecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/python.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct VecChar(Vec); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `levenshtein_similarity` is never used [INFO] [stdout] --> src/python.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn levenshtein_similarity(key: &VecChar, query: &VecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hybrid_jaccard_similarity` is never used [INFO] [stdout] --> src/python.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn hybrid_jaccard_similarity(key: &VecVecChar, query: &VecVecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jaro_similarity` is never used [INFO] [stdout] --> src/python.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn jaro_similarity(key: &VecChar, query: &VecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `levenshtein_similarity` is never used [INFO] [stdout] --> src/python.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn levenshtein_similarity(key: &VecChar, query: &VecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jaro_winkler_similarity` is never used [INFO] [stdout] --> src/python.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn jaro_winkler_similarity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jaro_similarity` is never used [INFO] [stdout] --> src/python.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn jaro_similarity(key: &VecChar, query: &VecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jaro_winkler_similarity` is never used [INFO] [stdout] --> src/python.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn jaro_winkler_similarity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `monge_elkan_similarity` is never used [INFO] [stdout] --> src/python.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn monge_elkan_similarity(key: &VecVecChar, query: &VecVecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symmetric_monge_elkan_similarity` is never used [INFO] [stdout] --> src/python.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn symmetric_monge_elkan_similarity(key: &VecVecChar, query: &VecVecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/python.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 23 | impl PyWhitespaceCharSeqTokenizer { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | `PyWhitespaceCharSeqTokenizer` is not local [INFO] [stdout] | `PyWhitespaceCharSeqTokenizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `monge_elkan_similarity` is never used [INFO] [stdout] --> src/python.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn monge_elkan_similarity(key: &VecVecChar, query: &VecVecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symmetric_monge_elkan_similarity` is never used [INFO] [stdout] --> src/python.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn symmetric_monge_elkan_similarity(key: &VecVecChar, query: &VecVecChar) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/python.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 39 | impl PyCharacterTokenizer { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | `PyCharacterTokenizer` is not local [INFO] [stdout] | `PyCharacterTokenizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/python.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 23 | impl PyWhitespaceCharSeqTokenizer { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | `PyWhitespaceCharSeqTokenizer` is not local [INFO] [stdout] | `PyWhitespaceCharSeqTokenizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/python.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 39 | impl PyCharacterTokenizer { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | `PyCharacterTokenizer` is not local [INFO] [stdout] | `PyCharacterTokenizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/monge_elkan.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut strsim = SeqStrSim::new(&mut tokenizer, MongeElkan::default())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/levenshtein.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut strsim = SeqStrSim::new(&mut tokenizer, Levenshtein::default())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/jaro_winkler.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut strsim = SeqStrSim::new(&mut tokenizer, JaroWinkler::default())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/jaro_winkler.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut strsim = SeqStrSim::new(&mut tokenizer, JaroWinkler::new(Some(0.0), None, None))?; [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] --> tests/jaro.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut strsim = SeqStrSim::new(&mut tokenizer, Jaro {})?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.17s [INFO] running `Command { std: "docker" "inspect" "7fedcd70347c19b962f4c5610a05f9a24e544974561434eb4c6955675896d70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fedcd70347c19b962f4c5610a05f9a24e544974561434eb4c6955675896d70e", kill_on_drop: false }` [INFO] [stdout] 7fedcd70347c19b962f4c5610a05f9a24e544974561434eb4c6955675896d70e