[INFO] cloning repository https://github.com/371tti/wk-371tti-net-search-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/371tti/wk-371tti-net-search-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F371tti%2Fwk-371tti-net-search-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F371tti%2Fwk-371tti-net-search-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c68be9d6f61583265f9350fe95408c124d509b4e [INFO] testing 371tti/wk-371tti-net-search-engine against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F371tti%2Fwk-371tti-net-search-engine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 58% (28/48) Updating files: 60% (29/48) Updating files: 62% (30/48) Updating files: 64% (31/48) Updating files: 66% (32/48) Updating files: 68% (33/48) Updating files: 70% (34/48) Updating files: 72% (35/48) Updating files: 75% (36/48) Updating files: 77% (37/48) Updating files: 79% (38/48) Updating files: 81% (39/48) Updating files: 83% (40/48) Updating files: 85% (41/48) Updating files: 87% (42/48) Updating files: 89% (43/48) Updating files: 91% (44/48) Updating files: 93% (45/48) Updating files: 95% (46/48) Updating files: 97% (47/48) Updating files: 100% (48/48) Updating files: 100% (48/48), done. [INFO] started tweaking git repo https://github.com/371tti/wk-371tti-net-search-engine [INFO] finished tweaking git repo https://github.com/371tti/wk-371tti-net-search-engine [INFO] tweaked toml for git repo https://github.com/371tti/wk-371tti-net-search-engine written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/371tti/wk-371tti-net-search-engine on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/371tti/wk-371tti-net-search-engine 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6a09021d8f1c3a1da24750c9dd72cf2d5391a2fe42dfc8e668d5ab49a350a55 [INFO] running `Command { std: "docker" "start" "-a" "b6a09021d8f1c3a1da24750c9dd72cf2d5391a2fe42dfc8e668d5ab49a350a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6a09021d8f1c3a1da24750c9dd72cf2d5391a2fe42dfc8e668d5ab49a350a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a09021d8f1c3a1da24750c9dd72cf2d5391a2fe42dfc8e668d5ab49a350a55", kill_on_drop: false }` [INFO] [stdout] b6a09021d8f1c3a1da24750c9dd72cf2d5391a2fe42dfc8e668d5ab49a350a55 [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=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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb287df97d0ca0dd98dbbaecb696f87860209f7c6fca1e88f9c074a6712f0abe [INFO] running `Command { std: "docker" "start" "-a" "eb287df97d0ca0dd98dbbaecb696f87860209f7c6fca1e88f9c074a6712f0abe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling compression-codecs v0.4.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.227 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling html_format v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tf-idf-vectorizer v0.5.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling async-compression v0.4.32 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling kurosabi v0.4.8 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling wk-371tti-net-search-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless assignment of field of type `f64` to itself [INFO] [stdout] --> src/index.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | h.score = h.score; // Placeholder for actual score calculation if needed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/main.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | ScraperResult::Failed { error , success } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `success: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `f64` to itself [INFO] [stdout] --> src/index.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | h.score = h.score; // Placeholder for actual score calculation if needed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `B` and `C` are never constructed [INFO] [stdout] --> src/tokenize.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SudachiMode { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 7 | A, [INFO] [stdout] 8 | B, [INFO] [stdout] | ^ [INFO] [stdout] 9 | C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `SudachiMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sudachi_tokenize` is never used [INFO] [stdout] --> src/tokenize.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn sudachi_tokenize(input: &str) -> Result, SudachiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_FILE_SIZE` is never used [INFO] [stdout] --> src/index.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const MAX_FILE_SIZE: usize = 200 * 1024 * 1024; // 200MB [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/index.rs:669:12 [INFO] [stdout] | [INFO] [stdout] 658 | impl Tags { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 669 | pub fn new(set: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "eb287df97d0ca0dd98dbbaecb696f87860209f7c6fca1e88f9c074a6712f0abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb287df97d0ca0dd98dbbaecb696f87860209f7c6fca1e88f9c074a6712f0abe", kill_on_drop: false }` [INFO] [stdout] eb287df97d0ca0dd98dbbaecb696f87860209f7c6fca1e88f9c074a6712f0abe [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=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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 834a7ff1cdab99140ad3e1ce18927779d40d171c9dda5a265711170ffd3e1c75 [INFO] running `Command { std: "docker" "start" "-a" "834a7ff1cdab99140ad3e1ce18927779d40d171c9dda5a265711170ffd3e1c75", kill_on_drop: false }` [INFO] [stdout] warning: useless assignment of field of type `f64` to itself [INFO] [stdout] --> src/index.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | h.score = h.score; // Placeholder for actual score calculation if needed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wk-371tti-net-search-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless assignment of field of type `f64` to itself [INFO] [stdout] --> src/index.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | h.score = h.score; // Placeholder for actual score calculation if needed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/main.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | ScraperResult::Failed { error , success } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `success: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `f64` to itself [INFO] [stdout] --> src/index.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | h.score = h.score; // Placeholder for actual score calculation if needed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `B` and `C` are never constructed [INFO] [stdout] --> src/tokenize.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SudachiMode { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 7 | A, [INFO] [stdout] 8 | B, [INFO] [stdout] | ^ [INFO] [stdout] 9 | C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `SudachiMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_FILE_SIZE` is never used [INFO] [stdout] --> src/index.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const MAX_FILE_SIZE: usize = 200 * 1024 * 1024; // 200MB [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/index.rs:669:12 [INFO] [stdout] | [INFO] [stdout] 658 | impl Tags { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 669 | pub fn new(set: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.92s [INFO] running `Command { std: "docker" "inspect" "834a7ff1cdab99140ad3e1ce18927779d40d171c9dda5a265711170ffd3e1c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834a7ff1cdab99140ad3e1ce18927779d40d171c9dda5a265711170ffd3e1c75", kill_on_drop: false }` [INFO] [stdout] 834a7ff1cdab99140ad3e1ce18927779d40d171c9dda5a265711170ffd3e1c75 [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=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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e8a5893e7f6a54cb44ff313751f4bdc41e10976b065a49d4aacaa88b7739604 [INFO] running `Command { std: "docker" "start" "-a" "1e8a5893e7f6a54cb44ff313751f4bdc41e10976b065a49d4aacaa88b7739604", kill_on_drop: false }` [INFO] [stderr] warning: useless assignment of field of type `f64` to itself [INFO] [stderr] --> src/index.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | h.score = h.score; // Placeholder for actual score calculation if needed [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `wk-371tti-net-search-engine` (lib) generated 1 warning [INFO] [stderr] warning: `wk-371tti-net-search-engine` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/main.rs:159:45 [INFO] [stderr] | [INFO] [stderr] 159 | ScraperResult::Failed { error , success } => { [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `success: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `B` and `C` are never constructed [INFO] [stderr] --> src/tokenize.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum SudachiMode { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 7 | A, [INFO] [stderr] 8 | B, [INFO] [stderr] | ^ [INFO] [stderr] 9 | C, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `SudachiMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_FILE_SIZE` is never used [INFO] [stderr] --> src/index.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | pub const MAX_FILE_SIZE: usize = 200 * 1024 * 1024; // 200MB [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/index.rs:669:12 [INFO] [stderr] | [INFO] [stderr] 658 | impl Tags { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 669 | pub fn new(set: u64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `wk-371tti-net-search-engine` (bin "wk-371tti-net-search-engine" test) generated 5 warnings (1 duplicate) (run `cargo fix --bin "wk-371tti-net-search-engine" -p wk-371tti-net-search-engine --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wk_371tti_net_search_engine-e6bb85d8da4b4ca0) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tokenize::tests::test_sudachi_tokenize ... ignored [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wk_371tti_net_search_engine-4b8b9a81f88ce6b5) [INFO] [stdout] test tokenize::tests::test_split_for_sudachi ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tokenize::tests::test_sudachi_tokenize ... ignored [INFO] [stdout] test tokenize::tests::test_split_for_sudachi ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests wk_371tti_net_search_engine [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/index.rs - index::IndexPool::per_similarity (line 57) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/index.rs - index::IndexPool::per_similarity (line 57) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `index_pool` in this scope [INFO] [stdout] --> src/index.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 3 | let results = index_pool.per_similarity(&token_fq, &SimilarityAlgorithm::CosineSimilarity); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token_fq` in this scope [INFO] [stdout] --> src/index.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 3 | let results = index_pool.per_similarity(&token_fq, &SimilarityAlgorithm::CosineSimilarity); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimilarityAlgorithm` [INFO] [stdout] --> src/index.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 3 | let results = index_pool.per_similarity(&token_fq, &SimilarityAlgorithm::CosineSimilarity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SimilarityAlgorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tf_idf_vectorizer::SimilarityAlgorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/index.rs - index::IndexPool::per_similarity (line 57) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.30s; merged doctests compilation took 0.16s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1e8a5893e7f6a54cb44ff313751f4bdc41e10976b065a49d4aacaa88b7739604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8a5893e7f6a54cb44ff313751f4bdc41e10976b065a49d4aacaa88b7739604", kill_on_drop: false }` [INFO] [stdout] 1e8a5893e7f6a54cb44ff313751f4bdc41e10976b065a49d4aacaa88b7739604