[INFO] fetching crate thenewsapi 0.1.2...
[INFO] testing thenewsapi-0.1.2 against 1.91.0 for beta-1.92-2
[INFO] extracting crate thenewsapi 0.1.2 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate thenewsapi 0.1.2
[INFO] finished tweaking crates.io crate thenewsapi 0.1.2
[INFO] tweaked toml for crates.io crate thenewsapi 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate thenewsapi 0.1.2 on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 173 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.12.5 (available: v0.12.24)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8a50299b199d13028bb37a6f68acc8931637bfa686579cf4a3a0af442eedfb5
[INFO] running `Command { std: "docker" "start" "-a" "f8a50299b199d13028bb37a6f68acc8931637bfa686579cf4a3a0af442eedfb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8a50299b199d13028bb37a6f68acc8931637bfa686579cf4a3a0af442eedfb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8a50299b199d13028bb37a6f68acc8931637bfa686579cf4a3a0af442eedfb5", kill_on_drop: false }`
[INFO] [stdout] f8a50299b199d13028bb37a6f68acc8931637bfa686579cf4a3a0af442eedfb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2459beaffe4df1d3d059578ba00adaad28de245445c31c92ad65d1791d00df5
[INFO] running `Command { std: "docker" "start" "-a" "b2459beaffe4df1d3d059578ba00adaad28de245445c31c92ad65d1791d00df5", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rustls-pki-types v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.5
[INFO] [stderr]    Compiling thenewsapi v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.63s
[INFO] running `Command { std: "docker" "inspect" "b2459beaffe4df1d3d059578ba00adaad28de245445c31c92ad65d1791d00df5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2459beaffe4df1d3d059578ba00adaad28de245445c31c92ad65d1791d00df5", kill_on_drop: false }`
[INFO] [stdout] b2459beaffe4df1d3d059578ba00adaad28de245445c31c92ad65d1791d00df5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bb02da9ddc3ad70441966ca74b44e07ff642f6b0765d038a505118247c8befa
[INFO] running `Command { std: "docker" "start" "-a" "4bb02da9ddc3ad70441966ca74b44e07ff642f6b0765d038a505118247c8befa", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling thenewsapi v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s
[INFO] running `Command { std: "docker" "inspect" "4bb02da9ddc3ad70441966ca74b44e07ff642f6b0765d038a505118247c8befa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bb02da9ddc3ad70441966ca74b44e07ff642f6b0765d038a505118247c8befa", kill_on_drop: false }`
[INFO] [stdout] 4bb02da9ddc3ad70441966ca74b44e07ff642f6b0765d038a505118247c8befa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5b7f4c2ec336bac246ef027901531a8ac43ff6c72c17a7f6aa17155a4160e25f
[INFO] running `Command { std: "docker" "start" "-a" "5b7f4c2ec336bac246ef027901531a8ac43ff6c72c17a7f6aa17155a4160e25f", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thenewsapi-69d8a74d465c2f21)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests thenewsapi
[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] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - Client::get_sources (line 415) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Client::get_headlines (line 314) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Client::new (line 296) ... FAILED
[INFO] [stdout] test src/lib.rs - Client::get_top_stories (line 332) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Client::get_similar_news (line 372) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Client::get_all_news (line 353) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Client::get_article_by_uuid (line 395) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Client::get_sources (line 415) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourcesParams`
[INFO] [stdout]  --> src/lib.rs:416:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let params = SourcesParams::default();
[INFO] [stdout]   |              ^^^^^^^^^^^^^ use of undeclared type `SourcesParams`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use thenewsapi::SourcesParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:417:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let sources = client.get_sources(params).await.unwrap();
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:417:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_415_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let params = SourcesParams::default();
[INFO] [stdout] 4 | let sources = client.get_sources(params).await.unwrap();
[INFO] [stdout]   |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Client::get_headlines (line 314) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeadlinesParams`
[INFO] [stdout]  --> src/lib.rs:315:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let params = HeadlinesParams::default();
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ use of undeclared type `HeadlinesParams`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use thenewsapi::HeadlinesParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:316:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | let headlines = client.get_headlines(params).await.unwrap();
[INFO] [stdout]   |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:316:46
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_314_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let params = HeadlinesParams::default();
[INFO] [stdout] 4 | let headlines = client.get_headlines(params).await.unwrap();
[INFO] [stdout]   |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `news_api_client`
[INFO] [stdout]  --> src/lib.rs:23:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use news_api_client::{Client, HeadlinesParams};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `news_api_client`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `news_api_client`, use `cargo add news_api_client` 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 - Client::new (line 296) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]  --> src/lib.rs:297:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = Client::new("your_api_token");
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::Client;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use thenewsapi::Client;
[INFO] [stdout]   |
[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/lib.rs - Client::get_top_stories (line 332) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TopStoriesParams`
[INFO] [stdout]  --> src/lib.rs:333:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let params = TopStoriesParams::default();
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^ use of undeclared type `TopStoriesParams`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use thenewsapi::TopStoriesParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:334:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | let top_stories = client.get_top_stories(params).await.unwrap();
[INFO] [stdout]   |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:334:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_332_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let params = TopStoriesParams::default();
[INFO] [stdout] 4 | let top_stories = client.get_top_stories(params).await.unwrap();
[INFO] [stdout]   |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Client::get_similar_news (line 372) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimilarNewsParams`
[INFO] [stdout]  --> src/lib.rs:373:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let params = SimilarNewsParams::default();
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^ use of undeclared type `SimilarNewsParams`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use thenewsapi::SimilarNewsParams;
[INFO] [stdout]   |
[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/lib.rs - Client::get_all_news (line 353) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AllNewsParams`
[INFO] [stdout]  --> src/lib.rs:354:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let params = AllNewsParams::default();
[INFO] [stdout]   |              ^^^^^^^^^^^^^ use of undeclared type `AllNewsParams`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use thenewsapi::AllNewsParams;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:355:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | let all_news = client.get_all_news(params).await.unwrap();
[INFO] [stdout]   |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:355:44
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_353_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let params = AllNewsParams::default();
[INFO] [stdout] 4 | let all_news = client.get_all_news(params).await.unwrap();
[INFO] [stdout]   |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Client::get_article_by_uuid (line 395) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:396:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let article = client.get_article_by_uuid("article_uuid").await.unwrap();
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:396:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_395_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let article = client.get_article_by_uuid("article_uuid").await.unwrap();
[INFO] [stdout]   |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - Client::get_all_news (line 353)
[INFO] [stdout]     src/lib.rs - Client::get_article_by_uuid (line 395)
[INFO] [stdout]     src/lib.rs - Client::get_headlines (line 314)
[INFO] [stdout]     src/lib.rs - Client::get_similar_news (line 372)
[INFO] [stdout]     src/lib.rs - Client::get_sources (line 415)
[INFO] [stdout]     src/lib.rs - Client::get_top_stories (line 332)
[INFO] [stdout]     src/lib.rs - Client::new (line 296)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5b7f4c2ec336bac246ef027901531a8ac43ff6c72c17a7f6aa17155a4160e25f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b7f4c2ec336bac246ef027901531a8ac43ff6c72c17a7f6aa17155a4160e25f", kill_on_drop: false }`
[INFO] [stdout] 5b7f4c2ec336bac246ef027901531a8ac43ff6c72c17a7f6aa17155a4160e25f
