[INFO] cloning repository https://github.com/BronzeCrab/tg-dating-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BronzeCrab/tg-dating-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBronzeCrab%2Ftg-dating-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBronzeCrab%2Ftg-dating-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34a7650c84083c56e572e0b0dab70e28c30429ae [INFO] building BronzeCrab/tg-dating-bot against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBronzeCrab%2Ftg-dating-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BronzeCrab/tg-dating-bot [INFO] finished tweaking git repo https://github.com/BronzeCrab/tg-dating-bot [INFO] tweaked toml for git repo https://github.com/BronzeCrab/tg-dating-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BronzeCrab/tg-dating-bot on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BronzeCrab/tg-dating-bot 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded rusqlite v0.33.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79fe9396b12f79f042a7f7560afb4c7bd20649a595cb58c4f793602acb188e13 [INFO] running `Command { std: "docker" "start" "-a" "79fe9396b12f79f042a7f7560afb4c7bd20649a595cb58c4f793602acb188e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79fe9396b12f79f042a7f7560afb4c7bd20649a595cb58c4f793602acb188e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fe9396b12f79f042a7f7560afb4c7bd20649a595cb58c4f793602acb188e13", kill_on_drop: false }` [INFO] [stdout] 79fe9396b12f79f042a7f7560afb4c7bd20649a595cb58c4f793602acb188e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c223a831084ee8ed724250bc2ae6888740acb7f48a7a79013b6d684363d41ebe [INFO] running `Command { std: "docker" "start" "-a" "c223a831084ee8ed724250bc2ae6888740acb7f48a7a79013b6d684363d41ebe", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling libsqlite3-sys v0.31.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling teloxide-macros v0.8.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rusqlite v0.33.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling teloxide-core v0.10.1 [INFO] [stderr] Compiling teloxide v0.13.0 [INFO] [stderr] Compiling tg-dating-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `Result`, and `Statement` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::{Connection, Error, Result, Statement}; [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: `try_to_insert_user_entity_relations` [INFO] [stdout] --> src/main.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | try_to_create_db_tables, try_to_insert_user_data, try_to_insert_user_entity_relations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_idf` and `compute_tf` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use search::{compute_idf, compute_tf}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::prelude` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use teloxide::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_word` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let req_word: &str = "this"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let docs: [&[&str]; 2] = [&words, &words2]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_entity_id_by_name` is never used [INFO] [stdout] --> src/db_operations.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_entity_id_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_to_insert_user_entities` is never used [INFO] [stdout] --> src/db_operations.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn try_to_insert_user_entities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_to_insert_user_entity_relations` is never used [INFO] [stdout] --> src/db_operations.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn try_to_insert_user_entity_relations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_idf` is never used [INFO] [stdout] --> src/search.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compute_idf(req_word: &str, documents: &[&[&str]]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_users_ratings` is never used [INFO] [stdout] --> src/utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_users_ratings(tf_idf_map: HashMap>) -> Vec<(u32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_vec_of_tuples_by_second_elem` is never used [INFO] [stdout] --> src/utils.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn sort_vec_of_tuples_by_second_elem(mut user_rating: Vec<(u32, f32)>) -> Vec<(u32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.35s [INFO] running `Command { std: "docker" "inspect" "c223a831084ee8ed724250bc2ae6888740acb7f48a7a79013b6d684363d41ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c223a831084ee8ed724250bc2ae6888740acb7f48a7a79013b6d684363d41ebe", kill_on_drop: false }` [INFO] [stdout] c223a831084ee8ed724250bc2ae6888740acb7f48a7a79013b6d684363d41ebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7504dbe6afc697cbc1133b3fad027b434d141055361867f4ac2eff5117de30cc [INFO] running `Command { std: "docker" "start" "-a" "7504dbe6afc697cbc1133b3fad027b434d141055361867f4ac2eff5117de30cc", kill_on_drop: false }` [INFO] [stderr] Compiling tg-dating-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `Result`, and `Statement` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::{Connection, Error, Result, Statement}; [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: `try_to_insert_user_entity_relations` [INFO] [stdout] --> src/main.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | try_to_create_db_tables, try_to_insert_user_data, try_to_insert_user_entity_relations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_idf` and `compute_tf` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use search::{compute_idf, compute_tf}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::prelude` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use teloxide::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_word` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let req_word: &str = "this"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let docs: [&[&str]; 2] = [&words, &words2]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_entity_id_by_name` is never used [INFO] [stdout] --> src/db_operations.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_entity_id_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_to_insert_user_entities` is never used [INFO] [stdout] --> src/db_operations.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn try_to_insert_user_entities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_to_insert_user_entity_relations` is never used [INFO] [stdout] --> src/db_operations.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn try_to_insert_user_entity_relations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_idf` is never used [INFO] [stdout] --> src/search.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compute_idf(req_word: &str, documents: &[&[&str]]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_users_ratings` is never used [INFO] [stdout] --> src/utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_users_ratings(tf_idf_map: HashMap>) -> Vec<(u32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_vec_of_tuples_by_second_elem` is never used [INFO] [stdout] --> src/utils.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn sort_vec_of_tuples_by_second_elem(mut user_rating: Vec<(u32, f32)>) -> Vec<(u32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "7504dbe6afc697cbc1133b3fad027b434d141055361867f4ac2eff5117de30cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7504dbe6afc697cbc1133b3fad027b434d141055361867f4ac2eff5117de30cc", kill_on_drop: false }` [INFO] [stdout] 7504dbe6afc697cbc1133b3fad027b434d141055361867f4ac2eff5117de30cc