[INFO] cloning repository https://github.com/liudesheng9/tfidf_vectorizer_base [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liudesheng9/tfidf_vectorizer_base" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliudesheng9%2Ftfidf_vectorizer_base", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliudesheng9%2Ftfidf_vectorizer_base'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0874db834968b045c758f8466520d3448f2443c0 [INFO] testing liudesheng9/tfidf_vectorizer_base against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliudesheng9%2Ftfidf_vectorizer_base" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/liudesheng9/tfidf_vectorizer_base [INFO] finished tweaking git repo https://github.com/liudesheng9/tfidf_vectorizer_base [INFO] tweaked toml for git repo https://github.com/liudesheng9/tfidf_vectorizer_base written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liudesheng9/tfidf_vectorizer_base on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/liudesheng9/tfidf_vectorizer_base 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05f333f1c007d34431973891dff7fe2321afafe6ca80d83ef3bfdad54488d1e7 [INFO] running `Command { std: "docker" "start" "-a" "05f333f1c007d34431973891dff7fe2321afafe6ca80d83ef3bfdad54488d1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05f333f1c007d34431973891dff7fe2321afafe6ca80d83ef3bfdad54488d1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f333f1c007d34431973891dff7fe2321afafe6ca80d83ef3bfdad54488d1e7", kill_on_drop: false }` [INFO] [stdout] 05f333f1c007d34431973891dff7fe2321afafe6ca80d83ef3bfdad54488d1e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c2d8dbde68b4da6f8d7fc03aee7a0e4b8b5068ca18dfe696b530130f3792477 [INFO] running `Command { std: "docker" "start" "-a" "5c2d8dbde68b4da6f8d7fc03aee7a0e4b8b5068ca18dfe696b530130f3792477", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling sprs v0.11.3 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling tfidf-vectorizer_base v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray::prelude::*` [INFO] [stdout] --> src/count_vectorizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::prelude::*; [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 import: `std::slice::SliceIndex` [INFO] [stdout] --> src/count_vectorizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/tfidf_vectorizer.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::{Array1, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | fn get_feature_names_out(&self, py: Python) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyo3_wrapper.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | fn fit(&mut self, raw_documents: Vec) { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | fn fit(&mut self, raw_documents: Vec) { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:216:60 [INFO] [stdout] | [INFO] [stdout] 216 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | fn get_feature_names_out(&self, py: Python) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyo3_wrapper.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | fn idf(&self, py: Python) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyo3_wrapper.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | fn set_idf(&mut self, value: Vec) { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:242:34 [INFO] [stdout] | [INFO] [stdout] 242 | fn set_idf(&mut self, value: Vec) { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_analyzer` are never used [INFO] [stdout] --> src/count_vectorizer.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl CountVectorizer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 59 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn build_analyzer<'a>(&'a self) -> Box Vec + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `idf` is never used [INFO] [stdout] --> src/tfidf_vectorizer.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TfidfVectorizer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn idf(&self) -> Option<&Array1> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.88s [INFO] running `Command { std: "docker" "inspect" "5c2d8dbde68b4da6f8d7fc03aee7a0e4b8b5068ca18dfe696b530130f3792477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2d8dbde68b4da6f8d7fc03aee7a0e4b8b5068ca18dfe696b530130f3792477", kill_on_drop: false }` [INFO] [stdout] 5c2d8dbde68b4da6f8d7fc03aee7a0e4b8b5068ca18dfe696b530130f3792477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 598c0b15935e286c80fe73b8a8c8da5ffe995214928cc89cc8ce8c499911cf18 [INFO] running `Command { std: "docker" "start" "-a" "598c0b15935e286c80fe73b8a8c8da5ffe995214928cc89cc8ce8c499911cf18", kill_on_drop: false }` [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling tfidf-vectorizer_base v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray::prelude::*` [INFO] [stdout] --> src/count_vectorizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::prelude::*; [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 import: `std::slice::SliceIndex` [INFO] [stdout] --> src/count_vectorizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:114:52 [INFO] [stdout] | [INFO] [stdout] 114 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | fn get_feature_names_out(&self, py: Python) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyo3_wrapper.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | fn fit(&mut self, raw_documents: Vec) { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | fn fit(&mut self, raw_documents: Vec) { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:216:60 [INFO] [stdout] | [INFO] [stdout] 216 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:221:52 [INFO] [stdout] | [INFO] [stdout] 221 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | fn get_feature_names_out(&self, py: Python) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyo3_wrapper.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | fn idf(&self, py: Python) -> PyResult { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyo3_wrapper.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | fn set_idf(&mut self, value: Vec) { [INFO] [stdout] | ^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyo3_wrapper.rs:242:34 [INFO] [stdout] | [INFO] [stdout] 242 | fn set_idf(&mut self, value: Vec) { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_analyzer` is never used [INFO] [stdout] --> src/count_vectorizer.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl CountVectorizer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn build_analyzer<'a>(&'a self) -> Box Vec + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "598c0b15935e286c80fe73b8a8c8da5ffe995214928cc89cc8ce8c499911cf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598c0b15935e286c80fe73b8a8c8da5ffe995214928cc89cc8ce8c499911cf18", kill_on_drop: false }` [INFO] [stdout] 598c0b15935e286c80fe73b8a8c8da5ffe995214928cc89cc8ce8c499911cf18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eaa9ae20dbc0613d1bc22159cda4ed4b497b2f84b657fc28f21da2881f5debc7 [INFO] running `Command { std: "docker" "start" "-a" "eaa9ae20dbc0613d1bc22159cda4ed4b497b2f84b657fc28f21da2881f5debc7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ndarray::prelude::*` [INFO] [stderr] --> src/count_vectorizer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ndarray::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::slice::SliceIndex` [INFO] [stderr] --> src/count_vectorizer.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::slice::SliceIndex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:109:22 [INFO] [stderr] | [INFO] [stderr] 109 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:109:60 [INFO] [stderr] | [INFO] [stderr] 109 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:114:18 [INFO] [stderr] | [INFO] [stderr] 114 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:114:52 [INFO] [stderr] | [INFO] [stderr] 114 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:119:30 [INFO] [stderr] | [INFO] [stderr] 119 | fn get_feature_names_out(&self, py: Python) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/pyo3_wrapper.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | #[pymethods] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 212 | fn fit(&mut self, raw_documents: Vec) { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:212:38 [INFO] [stderr] | [INFO] [stderr] 212 | fn fit(&mut self, raw_documents: Vec) { [INFO] [stderr] | ^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:216:22 [INFO] [stderr] | [INFO] [stderr] 216 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:216:60 [INFO] [stderr] | [INFO] [stderr] 216 | fn fit_transform(&mut self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:221:18 [INFO] [stderr] | [INFO] [stderr] 221 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:221:52 [INFO] [stderr] | [INFO] [stderr] 221 | fn transform(&self, py: Python, raw_documents: Vec) -> PyResult { [INFO] [stderr] | ^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:226:30 [INFO] [stderr] | [INFO] [stderr] 226 | fn get_feature_names_out(&self, py: Python) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/pyo3_wrapper.rs:131:1 [INFO] [stderr] | [INFO] [stderr] 131 | #[pymethods] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:232:12 [INFO] [stderr] | [INFO] [stderr] 232 | fn idf(&self, py: Python) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/pyo3_wrapper.rs:131:1 [INFO] [stderr] | [INFO] [stderr] 131 | #[pymethods] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:242:16 [INFO] [stderr] | [INFO] [stderr] 242 | fn set_idf(&mut self, value: Vec) { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/pyo3_wrapper.rs:242:34 [INFO] [stderr] | [INFO] [stderr] 242 | fn set_idf(&mut self, value: Vec) { [INFO] [stderr] | ^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning: method `build_analyzer` is never used [INFO] [stderr] --> src/count_vectorizer.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 58 | impl CountVectorizer { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 127 | fn build_analyzer<'a>(&'a self) -> Box Vec + 'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `tfidf-vectorizer_base` (lib test) generated 18 warnings (run `cargo fix --lib -p tfidf-vectorizer_base --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tfidf_vectorizer_base-773c11c805e3735d) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test count_vectorizer::tests::test_char_analyzer ... ok [INFO] [stdout] test count_vectorizer::tests::test_fit_transform_simple ... ok [INFO] [stdout] test count_vectorizer::tests::test_ngram_range ... ok [INFO] [stdout] test tfidf_vectorizer::tests::test_transform_after_fit ... ok [INFO] [stdout] test count_vectorizer::tests::test_get_feature_names_out ... ok [INFO] [stdout] test tfidf_vectorizer::tests::test_sublinear_tf ... ok [INFO] [stdout] test tfidf_vectorizer::tests::test_fit_transform_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eaa9ae20dbc0613d1bc22159cda4ed4b497b2f84b657fc28f21da2881f5debc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa9ae20dbc0613d1bc22159cda4ed4b497b2f84b657fc28f21da2881f5debc7", kill_on_drop: false }` [INFO] [stdout] eaa9ae20dbc0613d1bc22159cda4ed4b497b2f84b657fc28f21da2881f5debc7