[INFO] cloning repository https://github.com/LamaKami/Rustdex
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LamaKami/Rustdex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLamaKami%2FRustdex", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLamaKami%2FRustdex'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06619f038ae680674ce0a167e2bb63f32d3568f1
[INFO] checking LamaKami/Rustdex against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLamaKami%2FRustdex" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LamaKami/Rustdex
[INFO] finished tweaking git repo https://github.com/LamaKami/Rustdex
[INFO] tweaked toml for git repo https://github.com/LamaKami/Rustdex written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LamaKami/Rustdex on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LamaKami/Rustdex 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded flexbuffers v0.2.2
[INFO] [stderr]   Downloaded syn v1.0.69
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76
[INFO] running `Command { std: "docker" "start" "02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking regex v1.4.5
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling num_enum_derive v0.5.1
[INFO] [stderr]     Checking num_enum v0.5.1
[INFO] [stderr]     Checking flexbuffers v0.2.2
[INFO] [stderr]     Checking t1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `retrieved_document` should have an upper camel case name
[INFO] [stdout]   --> src/searching/searcher.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct retrieved_document{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RetrievedDocument`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::indexing::index`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index;
[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: `uuid::Uuid`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `retrieved_document` should have an upper camel case name
[INFO] [stdout]   --> src/searching/searcher.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct retrieved_document{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RetrievedDocument`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::indexing::index`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index;
[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: `uuid::Uuid`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/searching/searcher.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     return retrieved_document_list[0..first_n_documents].to_vec();
[INFO] [stdout]    |     ------------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 42 |     println!("{:?}", retrieved_document_list);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/searching/searcher.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     return retrieved_document_list[0..first_n_documents].to_vec();
[INFO] [stdout]    |     ------------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 42 |     println!("{:?}", retrieved_document_list);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `post` is never read
[INFO] [stdout]   --> src/indexing/postlist.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut post:Posting = Default::default();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 45 |             post = Posting{
[INFO] [stdout]    |             ---- `post` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `post` is never read
[INFO] [stdout]   --> src/indexing/postlist.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut post:Posting = Default::default();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 45 |             post = Posting{
[INFO] [stdout]    |             ---- `post` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_update_index` is never used
[INFO] [stdout]   --> src/indexing/index.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn create_update_index(documents_folder_path: &str, optional_index_path: Option<Box<&str>>, optional_document_ids_path: Option<B...
[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 `create_doc_list` is never used
[INFO] [stdout]   --> src/indexing/index.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn create_doc_list(documents_folder_path: &str) -> Vec<String>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_documents_too_index` is never used
[INFO] [stdout]   --> src/indexing/index.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn add_documents_too_index(doc_list: Vec<String>,documents_folder_path: &str, index: &mut HashMap<String,Vec<Posting>>, document...
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `increase_weight` and `add_position` are never used
[INFO] [stdout]   --> src/indexing/postlist.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Posting{
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 22 |     pub fn increase_weight(&mut self){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn add_position(&mut self, pos: u32){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_postings_for_document` is never used
[INFO] [stdout]   --> src/indexing/postlist.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn create_postings_for_document(document: &str, uuid: Uuid, document_name: String) -> HashMap<String, Posting>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_postlist` is never used
[INFO] [stdout]   --> src/indexing/postlist.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn sort_postlist (index: &mut HashMap<String,Vec<Posting>>){
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_hash_map` is never used
[INFO] [stdout]  --> src/utils/load_and_save.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn save_hash_map<T: Eq + Hash + Serialize, V: Eq + Hash + Serialize>(path: &str, map: HashMap<T,V>){
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_update_index` is never used
[INFO] [stdout]   --> src/indexing/index.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn create_update_index(documents_folder_path: &str, optional_index_path: Option<Box<&str>>, optional_document_ids_path: Option<B...
[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 `create_doc_list` is never used
[INFO] [stdout]   --> src/indexing/index.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn create_doc_list(documents_folder_path: &str) -> Vec<String>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_documents_too_index` is never used
[INFO] [stdout]   --> src/indexing/index.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn add_documents_too_index(doc_list: Vec<String>,documents_folder_path: &str, index: &mut HashMap<String,Vec<Posting>>, document...
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `increase_weight` and `add_position` are never used
[INFO] [stdout]   --> src/indexing/postlist.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Posting{
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 22 |     pub fn increase_weight(&mut self){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn add_position(&mut self, pos: u32){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_postings_for_document` is never used
[INFO] [stdout]   --> src/indexing/postlist.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn create_postings_for_document(document: &str, uuid: Uuid, document_name: String) -> HashMap<String, Posting>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_postlist` is never used
[INFO] [stdout]   --> src/indexing/postlist.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn sort_postlist (index: &mut HashMap<String,Vec<Posting>>){
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_hash_map` is never used
[INFO] [stdout]  --> src/utils/load_and_save.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn save_hash_map<T: Eq + Hash + Serialize, V: Eq + Hash + Serialize>(path: &str, map: HashMap<T,V>){
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.30s
[INFO] running `Command { std: "docker" "inspect" "02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76", kill_on_drop: false }`
[INFO] [stdout] 02438553a7545f64e38d5ca4ad4291b38c075838fb7baa433c9c8fa3903c4c76
