[INFO] fetching crate duckduckgo_search 0.1.3... [INFO] testing duckduckgo_search-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate duckduckgo_search 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate duckduckgo_search 0.1.3 [INFO] finished tweaking crates.io crate duckduckgo_search 0.1.3 [INFO] tweaked toml for crates.io crate duckduckgo_search 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate duckduckgo_search 0.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] crate crates.io crate duckduckgo_search 0.1.3 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fda86819febd7ce000b74a33472e9fa13e3f8a1bbee2028155b60e1b86c839ba [INFO] running `Command { std: "docker" "start" "-a" "fda86819febd7ce000b74a33472e9fa13e3f8a1bbee2028155b60e1b86c839ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fda86819febd7ce000b74a33472e9fa13e3f8a1bbee2028155b60e1b86c839ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda86819febd7ce000b74a33472e9fa13e3f8a1bbee2028155b60e1b86c839ba", kill_on_drop: false }` [INFO] [stdout] fda86819febd7ce000b74a33472e9fa13e3f8a1bbee2028155b60e1b86c839ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9baa71d71b17b1c1746ca084a76fdeead05ddc97f7f94f09e04595b84c537d84 [INFO] running `Command { std: "docker" "start" "-a" "9baa71d71b17b1c1746ca084a76fdeead05ddc97f7f94f09e04595b84c537d84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling tokio v1.38.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling cookie_store v0.21.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling duckduckgo_search v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `api_response` [INFO] [stdout] --> src/browser.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/browser.rs:293:64 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.98s [INFO] running `Command { std: "docker" "inspect" "9baa71d71b17b1c1746ca084a76fdeead05ddc97f7f94f09e04595b84c537d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9baa71d71b17b1c1746ca084a76fdeead05ddc97f7f94f09e04595b84c537d84", kill_on_drop: false }` [INFO] [stdout] 9baa71d71b17b1c1746ca084a76fdeead05ddc97f7f94f09e04595b84c537d84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 863a62a74cee08b07b1185d33079e19f02d055a8d3b3e4ffcdf2263d9817e0b5 [INFO] running `Command { std: "docker" "start" "-a" "863a62a74cee08b07b1185d33079e19f02d055a8d3b3e4ffcdf2263d9817e0b5", kill_on_drop: false }` [INFO] [stderr] Compiling duckduckgo_search v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `api_response` [INFO] [stdout] --> src/browser.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/browser.rs:293:64 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_response` [INFO] [stdout] --> src/browser.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/browser.rs:293:64 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "863a62a74cee08b07b1185d33079e19f02d055a8d3b3e4ffcdf2263d9817e0b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863a62a74cee08b07b1185d33079e19f02d055a8d3b3e4ffcdf2263d9817e0b5", kill_on_drop: false }` [INFO] [stdout] 863a62a74cee08b07b1185d33079e19f02d055a8d3b3e4ffcdf2263d9817e0b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 024caed6989b058923c9d48a5548a19f907ad852141b27e25247eb626d8696ee [INFO] running `Command { std: "docker" "start" "-a" "024caed6989b058923c9d48a5548a19f907ad852141b27e25247eb626d8696ee", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `api_response` [INFO] [stderr] --> src/browser.rs:293:40 [INFO] [stderr] | [INFO] [stderr] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limit` [INFO] [stderr] --> src/browser.rs:293:64 [INFO] [stderr] | [INFO] [stderr] 293 | pub fn get_results_detailed(&self, api_response: Response, limit: Option) -> Result, Error>{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stderr] [INFO] [stderr] warning: `duckduckgo_search` (lib) generated 2 warnings (run `cargo fix --lib -p duckduckgo_search` to apply 2 suggestions) [INFO] [stderr] warning: `duckduckgo_search` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/duckduckgo_search-d4023e081ba87a45) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/duckduckgo_search-a585dafb0ff5e0cb) [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 duckduckgo_search [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/colors.rs - colors::AnsiStyle::escape_code (line 126) ... FAILED [INFO] [stdout] test src/colors.rs - colors::AnsiStyle::reset_code (line 153) ... FAILED [INFO] [stdout] test src/icon.rs - icon::Icon::new (line 29) ... FAILED [INFO] [stdout] test src/browser.rs - browser::Browser::new (line 31) ... FAILED [INFO] [stdout] test src/colors.rs - colors::AnsiColor::escape_code (line 70) ... FAILED [INFO] [stdout] test src/browser.rs - browser::Browser::search (line 309) ... FAILED [INFO] [stdout] test src/browser.rs - browser::Browser::search_operators (line 395) ... FAILED [INFO] [stdout] test src/browser.rs - browser::Browser::advanced_search (line 358) ... FAILED [INFO] [stdout] test src/browser.rs - browser::Browser::browse (line 53) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/colors.rs - colors::AnsiStyle::escape_code (line 126) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/colors.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | use duckduckgo::colors::{AnsiColor, AnsiStyle}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/colors.rs - colors::AnsiStyle::reset_code (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/colors.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | use duckduckgo::colors::AnsiStyle; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/icon.rs - icon::Icon::new (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/icon.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use duckduckgo::icon::Icon; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser.rs - browser::Browser::new (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/browser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use duckduckgo::browser::Browser; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/colors.rs - colors::AnsiColor::escape_code (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/colors.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use duckduckgo::colors::AnsiColor; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser.rs - browser::Browser::search (line 309) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/browser.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | use duckduckgo::browser::{Browser, ResultFormat}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/browser.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | browser.search("Rust", true, ResultFormat::Detailed, Some(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser.rs - browser::Browser::search_operators (line 395) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/browser.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | use duckduckgo::browser::{Browser, ResultFormat}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/browser.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | browser.search_operators("Rust", "site:github.com", true, ResultFormat::List, Some(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser.rs - browser::Browser::advanced_search (line 358) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/browser.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | use duckduckgo::browser::{Browser, ResultFormat}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/browser.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | browser.advanced_search("Rust", "lang:en", true, ResultFormat::Detailed, Some(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser.rs - browser::Browser::browse (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] --> src/browser.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use duckduckgo::browser::{Browser, ResultFormat}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `duckduckgo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `duckduckgo`, use `cargo add duckduckgo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/browser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | browser.browse("?q=Rust", ResultFormat::List, Some(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, 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/browser.rs - browser::Browser::advanced_search (line 358) [INFO] [stdout] src/browser.rs - browser::Browser::browse (line 53) [INFO] [stdout] src/browser.rs - browser::Browser::new (line 31) [INFO] [stdout] src/browser.rs - browser::Browser::search (line 309) [INFO] [stdout] src/browser.rs - browser::Browser::search_operators (line 395) [INFO] [stdout] src/colors.rs - colors::AnsiColor::escape_code (line 70) [INFO] [stdout] src/colors.rs - colors::AnsiStyle::escape_code (line 126) [INFO] [stdout] src/colors.rs - colors::AnsiStyle::reset_code (line 153) [INFO] [stdout] src/icon.rs - icon::Icon::new (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "024caed6989b058923c9d48a5548a19f907ad852141b27e25247eb626d8696ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "024caed6989b058923c9d48a5548a19f907ad852141b27e25247eb626d8696ee", kill_on_drop: false }` [INFO] [stdout] 024caed6989b058923c9d48a5548a19f907ad852141b27e25247eb626d8696ee