[INFO] fetching crate reliefweb 0.1.2... [INFO] testing reliefweb-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate reliefweb 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate reliefweb 0.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate reliefweb 0.1.2 [INFO] tweaked toml for crates.io crate reliefweb 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reliefweb 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reliefweb 0.1.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bf181d7b47f8104ccc09c4afdb813cbee8182e29c045598cc3f0a657e813bd4 [INFO] running `Command { std: "docker" "start" "-a" "3bf181d7b47f8104ccc09c4afdb813cbee8182e29c045598cc3f0a657e813bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bf181d7b47f8104ccc09c4afdb813cbee8182e29c045598cc3f0a657e813bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf181d7b47f8104ccc09c4afdb813cbee8182e29c045598cc3f0a657e813bd4", kill_on_drop: false }` [INFO] [stdout] 3bf181d7b47f8104ccc09c4afdb813cbee8182e29c045598cc3f0a657e813bd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1af6ee39223deea7891f58c73541ac806c5a707a868e3f244e5aebc7acee94ec [INFO] running `Command { std: "docker" "start" "-a" "1af6ee39223deea7891f58c73541ac806c5a707a868e3f244e5aebc7acee94ec", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling async-object-pool v0.1.5 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Compiling httpmock v0.7.0 [INFO] [stderr] Compiling reliefweb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.32s [INFO] running `Command { std: "docker" "inspect" "1af6ee39223deea7891f58c73541ac806c5a707a868e3f244e5aebc7acee94ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af6ee39223deea7891f58c73541ac806c5a707a868e3f244e5aebc7acee94ec", kill_on_drop: false }` [INFO] [stdout] 1af6ee39223deea7891f58c73541ac806c5a707a868e3f244e5aebc7acee94ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4472ff8747ca72a5253bfc1cdf38efd6076edfe53a39385c42bd69275064f28d [INFO] running `Command { std: "docker" "start" "-a" "4472ff8747ca72a5253bfc1cdf38efd6076edfe53a39385c42bd69275064f28d", kill_on_drop: false }` [INFO] [stderr] Compiling reliefweb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "4472ff8747ca72a5253bfc1cdf38efd6076edfe53a39385c42bd69275064f28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4472ff8747ca72a5253bfc1cdf38efd6076edfe53a39385c42bd69275064f28d", kill_on_drop: false }` [INFO] [stdout] 4472ff8747ca72a5253bfc1cdf38efd6076edfe53a39385c42bd69275064f28d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e2cdd3aa758d8452237471d2acc3f98e6d1903d8b9f99de19f86e63fce142783 [INFO] running `Command { std: "docker" "start" "-a" "e2cdd3aa758d8452237471d2acc3f98e6d1903d8b9f99de19f86e63fce142783", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reliefweb-3faecda5cc1a6f39) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test params::tests::test_apply_to_url_basic ... ok [INFO] [stdout] test params::tests::test_apply_to_url_filters ... ok [INFO] [stdout] test params::tests::test_apply_to_url_include_exclude ... ok [INFO] [stdout] test params::tests::test_apply_to_url_queries ... ok [INFO] [stdout] test params::tests::test_apply_to_url_sort ... ok [INFO] [stdout] test params::tests::test_query_params_builder ... ok [INFO] [stdout] test endpoint::tests::test_list_reports ... ok [INFO] [stdout] test endpoint::tests::test_get_report ... ok [INFO] [stdout] test client::tests::get_with_params_none ... ok [INFO] [stdout] test client::tests::client_endpoints ... ok [INFO] [stdout] test client::tests::get_with_params ... ok [INFO] [stdout] test client::tests::get_with_params_encoding ... ok [INFO] [stdout] test client::tests::client_init ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-a59950de93360d97) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test integration_tests::blog ... ignored [INFO] [stdout] test integration_tests::book ... ignored [INFO] [stdout] test integration_tests::countries ... ignored [INFO] [stdout] test integration_tests::disasters ... ignored [INFO] [stdout] test integration_tests::jobs ... ignored [INFO] [stdout] test integration_tests::reports ... ignored [INFO] [stdout] test integration_tests::sources ... ignored [INFO] [stdout] test integration_tests::training ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests reliefweb [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/endpoint.rs - endpoint::ResourceEndpoint (line 17) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::jobs (line 138) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client (line 22) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::countries (line 121) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::disasters (line 104) - compile ... FAILED [INFO] [stdout] test src/params.rs - params::QueryParams (line 118) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::reports (line 87) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::sources (line 172) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::book (line 206) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::blog (line 189) - compile ... FAILED [INFO] [stdout] test src/response.rs - response::ApiResponse (line 9) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::training (line 155) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/endpoint.rs - endpoint::ResourceEndpoint (line 17) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/endpoint.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_endpoint_rs_17_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let list = reports_endpoint.list(Some(&QueryParams::new().limit(5))).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::jobs (line 138) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:145:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_138_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::countries (line 121) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_121_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::disasters (line 104) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_104_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::reports (line 87) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_87_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::sources (line 172) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_172_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::book (line 206) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:213:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_206_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `books` found for struct `Client` in the current scope [INFO] [stdout] --> src/client.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 8 | let books = client.books() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `book` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let books = client.books() [INFO] [stdout] 8 + let books = client.book() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::blog (line 189) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:196:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_189_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blogs` found for struct `Client` in the current scope [INFO] [stdout] --> src/client.rs:194:20 [INFO] [stdout] | [INFO] [stdout] 8 | let posts = client.blogs() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `blog` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let posts = client.blogs() [INFO] [stdout] 8 + let posts = client.blog() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::ApiResponse (line 9) stdout ---- [INFO] [stdout] error[E0603]: module `response` is private [INFO] [stdout] --> src/response.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 5 | use reliefweb::response::{ApiResponse, ApiItem}; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `response` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | mod response; [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 E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::training (line 155) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client.rs:162:6 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_155_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trainings` found for struct `Client` in the current scope [INFO] [stdout] --> src/client.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 8 | let trainings = client.trainings() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `training` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let trainings = client.trainings() [INFO] [stdout] 8 + let trainings = client.training() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::Client::blog (line 189) [INFO] [stdout] src/client.rs - client::Client::book (line 206) [INFO] [stdout] src/client.rs - client::Client::countries (line 121) [INFO] [stdout] src/client.rs - client::Client::disasters (line 104) [INFO] [stdout] src/client.rs - client::Client::jobs (line 138) [INFO] [stdout] src/client.rs - client::Client::reports (line 87) [INFO] [stdout] src/client.rs - client::Client::sources (line 172) [INFO] [stdout] src/client.rs - client::Client::training (line 155) [INFO] [stdout] src/endpoint.rs - endpoint::ResourceEndpoint (line 17) [INFO] [stdout] src/response.rs - response::ApiResponse (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.47s; merged doctests compilation took 0.29s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e2cdd3aa758d8452237471d2acc3f98e6d1903d8b9f99de19f86e63fce142783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2cdd3aa758d8452237471d2acc3f98e6d1903d8b9f99de19f86e63fce142783", kill_on_drop: false }` [INFO] [stdout] e2cdd3aa758d8452237471d2acc3f98e6d1903d8b9f99de19f86e63fce142783