[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 1.90.0 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liudesheng9/tfidf_vectorizer_base on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.22.6 [INFO] [stderr] Downloaded pyo3-build-config v0.22.6 [INFO] [stderr] Downloaded alga v0.9.3 [INFO] [stderr] Downloaded pyo3-ffi v0.22.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.22.6 [INFO] [stderr] Downloaded sprs v0.11.3 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] [stderr] Downloaded pyo3 v0.22.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e79cd106fb9472fce5f02778b36d6239c6c5ba4ccbc523b4345d06cf1352682 [INFO] running `Command { std: "docker" "start" "-a" "6e79cd106fb9472fce5f02778b36d6239c6c5ba4ccbc523b4345d06cf1352682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e79cd106fb9472fce5f02778b36d6239c6c5ba4ccbc523b4345d06cf1352682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e79cd106fb9472fce5f02778b36d6239c6c5ba4ccbc523b4345d06cf1352682", kill_on_drop: false }` [INFO] [stdout] 6e79cd106fb9472fce5f02778b36d6239c6c5ba4ccbc523b4345d06cf1352682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 468272c6fa4a4702c8e197f5e066f57e2c2e065427122474727147c0fabbfd44 [INFO] running `Command { std: "docker" "start" "-a" "468272c6fa4a4702c8e197f5e066f57e2c2e065427122474727147c0fabbfd44", 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 rawpointer v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling either v1.15.0 [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [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 pyo3 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 alga v0.9.3 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling regex v1.11.2 [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)]` 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)]` 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)]` 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 25.59s [INFO] running `Command { std: "docker" "inspect" "468272c6fa4a4702c8e197f5e066f57e2c2e065427122474727147c0fabbfd44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468272c6fa4a4702c8e197f5e066f57e2c2e065427122474727147c0fabbfd44", kill_on_drop: false }` [INFO] [stdout] 468272c6fa4a4702c8e197f5e066f57e2c2e065427122474727147c0fabbfd44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01f5dda243017b926d95174d205791ac867f93d634875a471d418216ef59f35f [INFO] running `Command { std: "docker" "start" "-a" "01f5dda243017b926d95174d205791ac867f93d634875a471d418216ef59f35f", 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)]` 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)]` 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)]` 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.39s [INFO] running `Command { std: "docker" "inspect" "01f5dda243017b926d95174d205791ac867f93d634875a471d418216ef59f35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f5dda243017b926d95174d205791ac867f93d634875a471d418216ef59f35f", kill_on_drop: false }` [INFO] [stdout] 01f5dda243017b926d95174d205791ac867f93d634875a471d418216ef59f35f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3748d82470e2be03d1e24e2308511e9aeaf3541183253f3dd50969ca26f2f0a5 [INFO] running `Command { std: "docker" "start" "-a" "3748d82470e2be03d1e24e2308511e9aeaf3541183253f3dd50969ca26f2f0a5", 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)]` 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)]` 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)]` 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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tfidf_vectorizer_base-37fc5a1d0ba077e7) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tfidf_vectorizer::tests::test_sublinear_tf ... ok [INFO] [stdout] test count_vectorizer::tests::test_fit_transform_simple ... ok [INFO] [stdout] test count_vectorizer::tests::test_get_feature_names_out ... ok [INFO] [stdout] test tfidf_vectorizer::tests::test_fit_transform_simple ... ok [INFO] [stdout] test count_vectorizer::tests::test_ngram_range ... ok [INFO] [stdout] test count_vectorizer::tests::test_char_analyzer ... ok [INFO] [stdout] test tfidf_vectorizer::tests::test_transform_after_fit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3748d82470e2be03d1e24e2308511e9aeaf3541183253f3dd50969ca26f2f0a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3748d82470e2be03d1e24e2308511e9aeaf3541183253f3dd50969ca26f2f0a5", kill_on_drop: false }` [INFO] [stdout] 3748d82470e2be03d1e24e2308511e9aeaf3541183253f3dd50969ca26f2f0a5