[INFO] fetching crate reliefweb 0.1.2... [INFO] testing reliefweb-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate reliefweb 0.1.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reliefweb 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-process v2.4.0 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded polling v3.10.0 [INFO] [stderr] Downloaded async-signal v0.2.12 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded httpmock v0.7.0 [INFO] [stderr] Downloaded async-io v2.5.0 [INFO] [stderr] Downloaded basic-cookies v0.1.5 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] [stderr] Downloaded async-object-pool v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62b4b8818903c1b066ced14a8927d1946723516dd7b41ecfdd083c9cebebe9d6 [INFO] running `Command { std: "docker" "start" "-a" "62b4b8818903c1b066ced14a8927d1946723516dd7b41ecfdd083c9cebebe9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62b4b8818903c1b066ced14a8927d1946723516dd7b41ecfdd083c9cebebe9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b4b8818903c1b066ced14a8927d1946723516dd7b41ecfdd083c9cebebe9d6", kill_on_drop: false }` [INFO] [stdout] 62b4b8818903c1b066ced14a8927d1946723516dd7b41ecfdd083c9cebebe9d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55438f9e7bc8b3d1489d544f790cebebcc3610bb6e71070fe720d89d7dac4744 [INFO] running `Command { std: "docker" "start" "-a" "55438f9e7bc8b3d1489d544f790cebebcc3610bb6e71070fe720d89d7dac4744", kill_on_drop: false }` [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [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 regex v1.11.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling async-object-pool v0.1.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling httpmock v0.7.0 [INFO] [stderr] Compiling hyper v1.7.0 [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 reliefweb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.27s [INFO] running `Command { std: "docker" "inspect" "55438f9e7bc8b3d1489d544f790cebebcc3610bb6e71070fe720d89d7dac4744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55438f9e7bc8b3d1489d544f790cebebcc3610bb6e71070fe720d89d7dac4744", kill_on_drop: false }` [INFO] [stdout] 55438f9e7bc8b3d1489d544f790cebebcc3610bb6e71070fe720d89d7dac4744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a87a54cd9ed96be319a347dec4151fd54d8cdb342bbb5fb25af2fc7d46eb49e [INFO] running `Command { std: "docker" "start" "-a" "0a87a54cd9ed96be319a347dec4151fd54d8cdb342bbb5fb25af2fc7d46eb49e", kill_on_drop: false }` [INFO] [stderr] Compiling reliefweb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "0a87a54cd9ed96be319a347dec4151fd54d8cdb342bbb5fb25af2fc7d46eb49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a87a54cd9ed96be319a347dec4151fd54d8cdb342bbb5fb25af2fc7d46eb49e", kill_on_drop: false }` [INFO] [stdout] 0a87a54cd9ed96be319a347dec4151fd54d8cdb342bbb5fb25af2fc7d46eb49e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b40070f0e39e82872e0f6b53fa8c525851a98e1df705dd5f60e09bb0867ccf91 [INFO] running `Command { std: "docker" "start" "-a" "b40070f0e39e82872e0f6b53fa8c525851a98e1df705dd5f60e09bb0867ccf91", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [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_filters ... ok [INFO] [stdout] test params::tests::test_apply_to_url_include_exclude ... ok [INFO] [stdout] test params::tests::test_apply_to_url_basic ... 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 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 endpoint::tests::test_list_reports ... ok [INFO] [stdout] test endpoint::tests::test_get_report ... 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.44s [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/client.rs - client::Client::sources (line 172) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client (line 22) - compile ... ok [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::reports (line 87) - 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/response.rs - response::ApiResponse (line 9) - 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::training (line 155) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::countries (line 121) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::blog (line 189) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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::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::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/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::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::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] ---- 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::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] [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.40s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.23s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b40070f0e39e82872e0f6b53fa8c525851a98e1df705dd5f60e09bb0867ccf91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b40070f0e39e82872e0f6b53fa8c525851a98e1df705dd5f60e09bb0867ccf91", kill_on_drop: false }` [INFO] [stdout] b40070f0e39e82872e0f6b53fa8c525851a98e1df705dd5f60e09bb0867ccf91