[INFO] cloning repository https://github.com/McPatate/boolean_retrieval [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/McPatate/boolean_retrieval" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcPatate%2Fboolean_retrieval", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcPatate%2Fboolean_retrieval'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50a5fe7ea663c50374bd5b1ffcc5c24bc7282ac5 [INFO] checking McPatate/boolean_retrieval against try#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcPatate%2Fboolean_retrieval" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/McPatate/boolean_retrieval on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/McPatate/boolean_retrieval [INFO] finished tweaking git repo https://github.com/McPatate/boolean_retrieval [INFO] tweaked toml for git repo https://github.com/McPatate/boolean_retrieval written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/McPatate/boolean_retrieval already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.120 [INFO] [stderr] Downloaded serde v1.0.120 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08a0cb273fa1502c00bd2cf773d97962864f8d0f318bba85ab2b19fe2d31fc62 [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" "08a0cb273fa1502c00bd2cf773d97962864f8d0f318bba85ab2b19fe2d31fc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08a0cb273fa1502c00bd2cf773d97962864f8d0f318bba85ab2b19fe2d31fc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a0cb273fa1502c00bd2cf773d97962864f8d0f318bba85ab2b19fe2d31fc62", kill_on_drop: false }` [INFO] [stdout] 08a0cb273fa1502c00bd2cf773d97962864f8d0f318bba85ab2b19fe2d31fc62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5f1aed840131e55f4b0d16adafefd1e9eff2611c24ca302d88ff629bd84d21f [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" "a5f1aed840131e55f4b0d16adafefd1e9eff2611c24ca302d88ff629bd84d21f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking boolean_retrieval v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/inverted_index.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/inverted_index.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | if !postings.contains(&doc_id) { [INFO] [stdout] | ^^^^^^^ expected struct `std::string::String`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | if !postings.contains(&doc_id) { [INFO] [stdout] | ^^^^^^^ expected struct `std::string::String`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | InvertedIndex::sorted_insert(postings, doc_id); [INFO] [stdout] | ^^^^^^^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | InvertedIndex::sorted_insert(postings, doc_id); [INFO] [stdout] | ^^^^^^^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | self.idx.insert(lt, vec![doc_id]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `usize` [INFO] [stdout] | help: try using a conversion method: `doc_id.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | self.idx.insert(lt, vec![doc_id]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `usize` [INFO] [stdout] | help: try using a conversion method: `doc_id.to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | Some(InvertedIndex::merge(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | Some(InvertedIndex::merge(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | Some(InvertedIndex::merge(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | Some(InvertedIndex::merge(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | Some(InvertedIndex::intersect(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | Some(InvertedIndex::intersect(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | Some(InvertedIndex::intersect(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | Some(InvertedIndex::intersect_not(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | Some(InvertedIndex::intersect(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | Some(InvertedIndex::intersect_not(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:82:51 [INFO] [stdout] | [INFO] [stdout] 82 | Some(InvertedIndex::intersect_not(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/inverted_index.rs:82:51 [INFO] [stdout] | [INFO] [stdout] 82 | Some(InvertedIndex::intersect_not(p1, p2)) [INFO] [stdout] | ^^ expected `usize`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boolean_retrieval` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a5f1aed840131e55f4b0d16adafefd1e9eff2611c24ca302d88ff629bd84d21f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f1aed840131e55f4b0d16adafefd1e9eff2611c24ca302d88ff629bd84d21f", kill_on_drop: false }` [INFO] [stdout] a5f1aed840131e55f4b0d16adafefd1e9eff2611c24ca302d88ff629bd84d21f