[INFO] fetching crate rust_search_fork 2.1.3... [INFO] testing rust_search_fork-2.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate rust_search_fork 2.1.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rust_search_fork 2.1.3 [INFO] finished tweaking crates.io crate rust_search_fork 2.1.3 [INFO] tweaked toml for crates.io crate rust_search_fork 2.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_search_fork 2.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding dirs v4.0.0 (available: v6.0.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58a98f5cb20878ef2a28cc6097ab97bea3a9c34398f0d055c46f74acae7f914 [INFO] running `Command { std: "docker" "start" "-a" "c58a98f5cb20878ef2a28cc6097ab97bea3a9c34398f0d055c46f74acae7f914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58a98f5cb20878ef2a28cc6097ab97bea3a9c34398f0d055c46f74acae7f914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58a98f5cb20878ef2a28cc6097ab97bea3a9c34398f0d055c46f74acae7f914", kill_on_drop: false }` [INFO] [stdout] c58a98f5cb20878ef2a28cc6097ab97bea3a9c34398f0d055c46f74acae7f914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d4e4109ad8b476be7074d1739b4a6e265bdc4e0271a8648736fc92a7f03b99 [INFO] running `Command { std: "docker" "start" "-a" "f5d4e4109ad8b476be7074d1739b4a6e265bdc4e0271a8648736fc92a7f03b99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling rust_search_fork v2.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/search.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(file_name) = path.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.02s [INFO] running `Command { std: "docker" "inspect" "f5d4e4109ad8b476be7074d1739b4a6e265bdc4e0271a8648736fc92a7f03b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d4e4109ad8b476be7074d1739b4a6e265bdc4e0271a8648736fc92a7f03b99", kill_on_drop: false }` [INFO] [stdout] f5d4e4109ad8b476be7074d1739b4a6e265bdc4e0271a8648736fc92a7f03b99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9b266cf5a9a63ccbab3d27dbda23bfeec00792d9ec4b2b8ed7f2a3c7dfbc4a7 [INFO] running `Command { std: "docker" "start" "-a" "a9b266cf5a9a63ccbab3d27dbda23bfeec00792d9ec4b2b8ed7f2a3c7dfbc4a7", kill_on_drop: false }` [INFO] [stderr] Compiling rust_search_fork v2.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/search.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(file_name) = path.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/search.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(file_name) = path.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "a9b266cf5a9a63ccbab3d27dbda23bfeec00792d9ec4b2b8ed7f2a3c7dfbc4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b266cf5a9a63ccbab3d27dbda23bfeec00792d9ec4b2b8ed7f2a3c7dfbc4a7", kill_on_drop: false }` [INFO] [stdout] a9b266cf5a9a63ccbab3d27dbda23bfeec00792d9ec4b2b8ed7f2a3c7dfbc4a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88d149abe8edeb0af1bd6342d36508d4a2f79e1a8221ed0f7918852926148287 [INFO] running `Command { std: "docker" "start" "-a" "88d149abe8edeb0af1bd6342d36508d4a2f79e1a8221ed0f7918852926148287", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `file_name` [INFO] [stderr] --> src/search.rs:120:33 [INFO] [stderr] | [INFO] [stderr] 120 | if let Some(file_name) = path.file_name() { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_search_fork` (lib) generated 1 warning (run `cargo fix --lib -p rust_search_fork` to apply 1 suggestion) [INFO] [stderr] warning: `rust_search_fork` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_search_fork-8aaa60417fa279fa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_search_fork [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::hidden (line 206) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::location (line 60) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::filter (line 113) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::search_input (line 77) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::depth (line 138) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::ignore_case (line 190) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::more_locations (line 225) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::ext (line 94) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::limit (line 155) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::dirs (line 247) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::strict (line 172) ... FAILED [INFO] [stdout] test src/search.rs - search::Search (line 19) ... ignored [INFO] [stdout] test src/search.rs - search::Search (line 31) ... ignored [INFO] [stdout] test src/lib.rs - (line 115) ... FAILED [INFO] [stdout] test src/builder.rs - builder::SearchBuilder::threads (line 264) ... FAILED [INFO] [stdout] test src/lib.rs - (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 65) ... FAILED [INFO] [stdout] test src/utils.rs - utils::similarity_sort (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - (line 104) ... FAILED [INFO] [stdout] test src/filter.rs - filter::FilterExt::custom_filter (line 99) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::hidden (line 206) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::location (line 60) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::filter (line 113) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | use rust_search::{FileSize, FilterExt, SearchBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/builder.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | .custom_filter(|dir| dir.metadata().unwrap().is_file()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | .custom_filter(|dir: /* Type */| dir.metadata().unwrap().is_file()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/builder.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | .custom_filter(|dir| !dir.metadata().unwrap().permissions().readonly()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 125 | .custom_filter(|dir: /* Type */| !dir.metadata().unwrap().permissions().readonly()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::search_input (line 77) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::depth (line 138) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::ignore_case (line 190) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::more_locations (line 225) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::ext (line 94) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::limit (line 155) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::dirs (line 247) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::strict (line 172) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 115) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | use rust_search::{FileSize, FilterExt, SearchBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | .custom_filter(|dir| dir.metadata().unwrap().is_file()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | .custom_filter(|dir: /* Type */| dir.metadata().unwrap().is_file()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | .custom_filter(|dir| !dir.metadata().unwrap().permissions().readonly()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 127 | .custom_filter(|dir: /* Type */| !dir.metadata().unwrap().permissions().readonly()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::SearchBuilder::threads (line 264) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/builder.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 40) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 92) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 65) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use rust_search::{SearchBuilder, similarity_sort}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::similarity_sort (line 57) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/utils.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use rust_search::{SearchBuilder, similarity_sort}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | use rust_search::SearchBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::FilterExt::custom_filter (line 99) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_search` [INFO] [stdout] --> src/filter.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | use rust_search::FilterExt; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] --> src/filter.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let builder = rust_search::SearchBuilder::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rust_search` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_search`, use `cargo add rust_search` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 99 + use rust_search_fork::SearchBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SearchBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - let builder = rust_search::SearchBuilder::default(); [INFO] [stdout] 101 + let builder = SearchBuilder::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/filter.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | builder.custom_filter(|dir| dir.metadata().unwrap().is_file()); [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | builder.custom_filter(|dir: /* Type */| dir.metadata().unwrap().is_file()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/builder.rs - builder::SearchBuilder::depth (line 138) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::dirs (line 247) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::ext (line 94) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::filter (line 113) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::hidden (line 206) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::ignore_case (line 190) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::limit (line 155) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::location (line 60) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::more_locations (line 225) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::search_input (line 77) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::strict (line 172) [INFO] [stdout] src/builder.rs - builder::SearchBuilder::threads (line 264) [INFO] [stdout] src/filter.rs - filter::FilterExt::custom_filter (line 99) [INFO] [stdout] src/lib.rs - (line 104) [INFO] [stdout] src/lib.rs - (line 115) [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - (line 65) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] src/utils.rs - utils::similarity_sort (line 57) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "88d149abe8edeb0af1bd6342d36508d4a2f79e1a8221ed0f7918852926148287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d149abe8edeb0af1bd6342d36508d4a2f79e1a8221ed0f7918852926148287", kill_on_drop: false }` [INFO] [stdout] 88d149abe8edeb0af1bd6342d36508d4a2f79e1a8221ed0f7918852926148287