[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 try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLamaKami%2FRustdex" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LamaKami/Rustdex on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/LamaKami/Rustdex already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flexbuffers v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be448a1774b08d72251466dbe7e33025535073575357aa23c97eb1c8ef51402b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be448a1774b08d72251466dbe7e33025535073575357aa23c97eb1c8ef51402b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be448a1774b08d72251466dbe7e33025535073575357aa23c97eb1c8ef51402b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be448a1774b08d72251466dbe7e33025535073575357aa23c97eb1c8ef51402b", kill_on_drop: false }` [INFO] [stdout] be448a1774b08d72251466dbe7e33025535073575357aa23c97eb1c8ef51402b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f5f1d537f7354746a928d7f56afa1bc2ea9ecef1426a918506905a0ebeefa0f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5f5f1d537f7354746a928d7f56afa1bc2ea9ecef1426a918506905a0ebeefa0f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde v1.0.125 [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)]` 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `post` is never read [INFO] [stdout] --> src/indexing/postlist.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let mut post:Posting = Default::default(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_update_index` [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>, optional_document_ids_path: Option src/indexing/index.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_doc_list(documents_folder_path: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_documents_too_index` [INFO] [stdout] --> src/indexing/index.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn add_documents_too_index(doc_list: Vec,documents_folder_path: &str, index: &mut HashMap>, document_ids:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_weight` [INFO] [stdout] --> src/indexing/postlist.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn increase_weight(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_position` [INFO] [stdout] --> src/indexing/postlist.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn add_position(&mut self, pos: u32){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_postings_for_document` [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{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort_postlist` [INFO] [stdout] --> src/indexing/postlist.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn sort_postlist (index: &mut HashMap>){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_hash_map` [INFO] [stdout] --> src/utils/load_and_save.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn save_hash_map(path: &str, map: HashMap){ [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `post` is never read [INFO] [stdout] --> src/indexing/postlist.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let mut post:Posting = Default::default(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_update_index` [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>, optional_document_ids_path: Option src/indexing/index.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_doc_list(documents_folder_path: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_documents_too_index` [INFO] [stdout] --> src/indexing/index.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn add_documents_too_index(doc_list: Vec,documents_folder_path: &str, index: &mut HashMap>, document_ids:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_weight` [INFO] [stdout] --> src/indexing/postlist.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn increase_weight(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_position` [INFO] [stdout] --> src/indexing/postlist.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn add_position(&mut self, pos: u32){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_postings_for_document` [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{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort_postlist` [INFO] [stdout] --> src/indexing/postlist.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn sort_postlist (index: &mut HashMap>){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_hash_map` [INFO] [stdout] --> src/utils/load_and_save.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn save_hash_map(path: &str, map: HashMap){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.30s [INFO] running `Command { std: "docker" "inspect" "5f5f1d537f7354746a928d7f56afa1bc2ea9ecef1426a918506905a0ebeefa0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f5f1d537f7354746a928d7f56afa1bc2ea9ecef1426a918506905a0ebeefa0f", kill_on_drop: false }` [INFO] [stdout] 5f5f1d537f7354746a928d7f56afa1bc2ea9ecef1426a918506905a0ebeefa0f