[INFO] cloning repository https://github.com/Priyansh4444/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/Priyansh4444/Search-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPriyansh4444%2FSearch-Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPriyansh4444%2FSearch-Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df7ac7093f222de5b0bb313ecd5e7686a1c329a1 [INFO] testing Priyansh4444/Search-Engine against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPriyansh4444%2FSearch-Engine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Priyansh4444/Search-Engine [INFO] finished tweaking git repo https://github.com/Priyansh4444/Search-Engine [INFO] tweaked toml for git repo https://github.com/Priyansh4444/Search-Engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Priyansh4444/Search-Engine on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Priyansh4444/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 519afe11ce8b5173dac80c665da0dea8a26626a7b0d82dd3cf99a9bd21df6089 [INFO] running `Command { std: "docker" "start" "-a" "519afe11ce8b5173dac80c665da0dea8a26626a7b0d82dd3cf99a9bd21df6089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "519afe11ce8b5173dac80c665da0dea8a26626a7b0d82dd3cf99a9bd21df6089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519afe11ce8b5173dac80c665da0dea8a26626a7b0d82dd3cf99a9bd21df6089", kill_on_drop: false }` [INFO] [stdout] 519afe11ce8b5173dac80c665da0dea8a26626a7b0d82dd3cf99a9bd21df6089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a91186cdecf0ddf1f05e8b366b17ec2cf9301486dcb932aacc579dd5a1cf398 [INFO] running `Command { std: "docker" "start" "-a" "6a91186cdecf0ddf1f05e8b366b17ec2cf9301486dcb932aacc579dd5a1cf398", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling porter-stemmer v0.1.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling url-parse v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling scraper v0.22.0 [INFO] [stderr] Compiling search_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SimHashTabler` is never constructed [INFO] [stdout] --> src/duplicate_detection.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct SimHashTabler { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimHashPermTable` is never constructed [INFO] [stdout] --> src/duplicate_detection.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct SimHashPermTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_permutation`, `get_candidates`, and `is_duplicate` are never used [INFO] [stdout] --> src/duplicate_detection.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl SimHashTabler { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 82 | pub fn new() -> SimHashTabler { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn add_permutation(&mut self, fingerprint: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_candidates(&self, fingerprint: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn is_duplicate(&self, fingerprint: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_distance` is never used [INFO] [stdout] --> src/duplicate_detection.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn hamming_distance(fingerprint1: u64, fingerprint2: u64) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fingerprint_to_blocks` is never used [INFO] [stdout] --> src/duplicate_detection.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn fingerprint_to_blocks(fingerprint: &u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_candidates` is never used [INFO] [stdout] --> src/duplicate_detection.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn filter_candidates(candidates: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/index_builder.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/index_builder.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | if file.metadata().unwrap().file_size() > 5_000_000 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `file_type` with a similar name [INFO] [stdout] | [INFO] [stdout] 85 - if file.metadata().unwrap().file_size() > 5_000_000 { [INFO] [stdout] 85 + if file.metadata().unwrap().file_type() > 5_000_000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `search_engine` (bin "search_engine") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "6a91186cdecf0ddf1f05e8b366b17ec2cf9301486dcb932aacc579dd5a1cf398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a91186cdecf0ddf1f05e8b366b17ec2cf9301486dcb932aacc579dd5a1cf398", kill_on_drop: false }` [INFO] [stdout] 6a91186cdecf0ddf1f05e8b366b17ec2cf9301486dcb932aacc579dd5a1cf398