[INFO] fetching crate rnaapi 0.5.0... [INFO] testing rnaapi-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rnaapi 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rnaapi 0.5.0 [INFO] finished tweaking crates.io crate rnaapi 0.5.0 [INFO] tweaked toml for crates.io crate rnaapi 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rnaapi 0.5.0 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 rnaapi 0.5.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2e28409c43b7f915ae604d44b2b2f0b3cc88d85f94e10ece2ca47b1d550c37f4 [INFO] running `Command { std: "docker" "start" "-a" "2e28409c43b7f915ae604d44b2b2f0b3cc88d85f94e10ece2ca47b1d550c37f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e28409c43b7f915ae604d44b2b2f0b3cc88d85f94e10ece2ca47b1d550c37f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e28409c43b7f915ae604d44b2b2f0b3cc88d85f94e10ece2ca47b1d550c37f4", kill_on_drop: false }` [INFO] [stdout] 2e28409c43b7f915ae604d44b2b2f0b3cc88d85f94e10ece2ca47b1d550c37f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 70f072b27d184758bc6b5ec405dc50e41383eff577230fc96a9aba7784ffac84 [INFO] running `Command { std: "docker" "start" "-a" "70f072b27d184758bc6b5ec405dc50e41383eff577230fc96a9aba7784ffac84", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling moka v0.12.11 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.9.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 serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling resolv-conf v0.7.5 [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 clap_lex v0.7.6 [INFO] [stderr] Compiling clap_builder v4.5.50 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [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 hickory-proto v0.25.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling clap v4.5.50 [INFO] [stderr] Compiling hickory-resolver v0.25.2 [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 axum v0.8.6 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reqwest-hickory-resolver v0.2.0 [INFO] [stderr] Compiling rnaapi v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "70f072b27d184758bc6b5ec405dc50e41383eff577230fc96a9aba7784ffac84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f072b27d184758bc6b5ec405dc50e41383eff577230fc96a9aba7784ffac84", kill_on_drop: false }` [INFO] [stdout] 70f072b27d184758bc6b5ec405dc50e41383eff577230fc96a9aba7784ffac84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b04ac99429502c7b601e0213b51102916c9f46996dfd578d3650b27cc1fea873 [INFO] running `Command { std: "docker" "start" "-a" "b04ac99429502c7b601e0213b51102916c9f46996dfd578d3650b27cc1fea873", kill_on_drop: false }` [INFO] [stderr] Compiling rnaapi v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.22s [INFO] running `Command { std: "docker" "inspect" "b04ac99429502c7b601e0213b51102916c9f46996dfd578d3650b27cc1fea873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b04ac99429502c7b601e0213b51102916c9f46996dfd578d3650b27cc1fea873", kill_on_drop: false }` [INFO] [stdout] b04ac99429502c7b601e0213b51102916c9f46996dfd578d3650b27cc1fea873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e4d49e91194b0e7cc98a893e914fb227531a150958fec1d58d780ad0110f5463 [INFO] running `Command { std: "docker" "start" "-a" "e4d49e91194b0e7cc98a893e914fb227531a150958fec1d58d780ad0110f5463", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rnaapi-a08fb9d17af222e6) [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/rnaapi-9b53237fc869e134) [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 rnaapi [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `add` [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | cargo add rnaapi [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/lib.rs:30:43 [INFO] [stdout] | [INFO] [stdout] 30 | use rnaapi::config::{API_ADDRESS, API_KEY} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 31 | use rnaapi::NaClient [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | use rnaapi::NaClient [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 32 | } _doctest_main_src_lib_rs_28_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NaClient` [INFO] [stdout] --> src/lib.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let client = NaClient::new(API_KEY.to_owned(), API_ADDRESS.to_owned()).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NaClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use rnaapi::NaClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `API_KEY` in this scope [INFO] [stdout] --> src/lib.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let client = NaClient::new(API_KEY.to_owned(), API_ADDRESS.to_owned()).await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `API_ADDRESS` in this scope [INFO] [stdout] --> src/lib.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | let client = NaClient::new(API_KEY.to_owned(), API_ADDRESS.to_owned()).await; [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:38:72 [INFO] [stdout] | [INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 37 | // with above imports [INFO] [stdout] 38 | let client = NaClient::new(API_KEY.to_owned(), API_ADDRESS.to_owned()).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 39 | let servers = client.get_servers().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.49s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e4d49e91194b0e7cc98a893e914fb227531a150958fec1d58d780ad0110f5463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d49e91194b0e7cc98a893e914fb227531a150958fec1d58d780ad0110f5463", kill_on_drop: false }` [INFO] [stdout] e4d49e91194b0e7cc98a893e914fb227531a150958fec1d58d780ad0110f5463