[INFO] fetching crate cleverbotfreeapi 0.1.2... [INFO] testing cleverbotfreeapi-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cleverbotfreeapi 0.1.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cleverbotfreeapi 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cleverbotfreeapi 0.1.2 [INFO] tweaked toml for crates.io crate cleverbotfreeapi 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cleverbotfreeapi 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cleverbotfreeapi 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ringbuffer v0.15.0 [INFO] [stderr] Downloaded once_cell v1.20.1 [INFO] [stderr] Downloaded typesize v0.1.9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59dd3e620b7dc3cfcedbfbbfb2ca57f8d3a18cb8f0f86df03c3985944cadc68e [INFO] running `Command { std: "docker" "start" "-a" "59dd3e620b7dc3cfcedbfbbfb2ca57f8d3a18cb8f0f86df03c3985944cadc68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59dd3e620b7dc3cfcedbfbbfb2ca57f8d3a18cb8f0f86df03c3985944cadc68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59dd3e620b7dc3cfcedbfbbfb2ca57f8d3a18cb8f0f86df03c3985944cadc68e", kill_on_drop: false }` [INFO] [stdout] 59dd3e620b7dc3cfcedbfbbfb2ca57f8d3a18cb8f0f86df03c3985944cadc68e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd0000ad9983aa493fa6013f24ed75ecb30e9234b8ce400d3e75c775c96439ab [INFO] running `Command { std: "docker" "start" "-a" "cd0000ad9983aa493fa6013f24ed75ecb30e9234b8ce400d3e75c775c96439ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ringbuffer v0.15.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling cleverbotfreeapi v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.47s [INFO] running `Command { std: "docker" "inspect" "cd0000ad9983aa493fa6013f24ed75ecb30e9234b8ce400d3e75c775c96439ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0000ad9983aa493fa6013f24ed75ecb30e9234b8ce400d3e75c775c96439ab", kill_on_drop: false }` [INFO] [stdout] cd0000ad9983aa493fa6013f24ed75ecb30e9234b8ce400d3e75c775c96439ab [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8331a326298959cdef0e5a0e13b709d70a6ec58aeb3f62082a700a8fbd4039a [INFO] running `Command { std: "docker" "start" "-a" "f8331a326298959cdef0e5a0e13b709d70a6ec58aeb3f62082a700a8fbd4039a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling serenity v0.12.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling cleverbotfreeapi v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling poise v0.6.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 54s [INFO] running `Command { std: "docker" "inspect" "f8331a326298959cdef0e5a0e13b709d70a6ec58aeb3f62082a700a8fbd4039a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8331a326298959cdef0e5a0e13b709d70a6ec58aeb3f62082a700a8fbd4039a", kill_on_drop: false }` [INFO] [stdout] f8331a326298959cdef0e5a0e13b709d70a6ec58aeb3f62082a700a8fbd4039a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8b549aafd1223dee04b54ee77cbf9f2e5038c48c1ca6784610a004172bdafa9 [INFO] running `Command { std: "docker" "start" "-a" "f8b549aafd1223dee04b54ee77cbf9f2e5038c48c1ca6784610a004172bdafa9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cleverbotfreeapi-8c888abf9e130b53) [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 cleverbotfreeapi [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/cleverbot.rs - cleverbot::CleverbotBuilder (line 184) - compile ... FAILED [INFO] [stdout] test src/cleverbot.rs - cleverbot::Cleverbot::recookie (line 106) - compile ... FAILED [INFO] [stdout] test src/cleverbot.rs - cleverbot::Cleverbot (line 15) - compile ... FAILED [INFO] [stdout] test src/cleverbot.rs - cleverbot::Cleverbot (line 20) - compile ... FAILED [INFO] [stdout] test src/cleverbot.rs - cleverbot::Cleverbot::get_history (line 75) - compile ... FAILED [INFO] [stdout] test src/cleverbot.rs - cleverbot::Cleverbot::get_response (line 46) - compile ... FAILED [INFO] [stdout] test src/cleverbot.rs - cleverbot::Cleverbot::clear_history (line 87) - compile ... FAILED [INFO] [stdout] test src/cleverbot.rs - cleverbot::CleverbotBuilder (line 189) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/cleverbot.rs - cleverbot::CleverbotBuilder (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CleverbotBuilder` [INFO] [stdout] --> src/cleverbot.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 3 | let cleverbot = CleverbotBuilder::default().build().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CleverbotBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cleverbotfreeapi::CleverbotBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cleverbot.rs:185:53 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cleverbot_rs_184_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let cleverbot = CleverbotBuilder::default().build().await?; [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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cleverbot.rs - cleverbot::Cleverbot::recookie (line 106) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cleverbot` in this scope [INFO] [stdout] --> src/cleverbot.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 3 | cleverbot.recookie().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/cleverbot.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cleverbot_rs_106_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | cleverbot.recookie().await?; [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] ---- src/cleverbot.rs - cleverbot::Cleverbot (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CleverbotBuilder` [INFO] [stdout] --> src/cleverbot.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 3 | let cleverbot = CleverbotBuilder::default().build().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CleverbotBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cleverbotfreeapi::CleverbotBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cleverbot.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cleverbot_rs_15_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let cleverbot = CleverbotBuilder::default().build().await?; [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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cleverbot.rs - cleverbot::Cleverbot (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CleverbotBuilder` [INFO] [stdout] --> src/cleverbot.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 4 | let cleverbot = CleverbotBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CleverbotBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cleverbotfreeapi::CleverbotBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cleverbot.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cleverbot_rs_20_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | .await?; [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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cleverbot.rs - cleverbot::Cleverbot::get_history (line 75) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cleverbot` in this scope [INFO] [stdout] --> src/cleverbot.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 3 | let history = cleverbot.get_history(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cleverbot.rs - cleverbot::Cleverbot::get_response (line 46) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cleverbot` in this scope [INFO] [stdout] --> src/cleverbot.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = cleverbot.get_response("are you a bot?").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/cleverbot.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cleverbot_rs_46_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let response = cleverbot.get_response("are you a bot?").await?; [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] ---- src/cleverbot.rs - cleverbot::Cleverbot::clear_history (line 87) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cleverbot` in this scope [INFO] [stdout] --> src/cleverbot.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 3 | cleverbot.clear_history(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cleverbot.rs - cleverbot::CleverbotBuilder (line 189) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CleverbotBuilder` [INFO] [stdout] --> src/cleverbot.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 4 | let cleverbot = CleverbotBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CleverbotBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use cleverbotfreeapi::CleverbotBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cleverbot.rs:196:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cleverbot_rs_189_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | .await?; [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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ReqwestError(reqwest::Error { kind: Request, url: "https://www.cleverbot.com/extras/conversation-social-min.js?20250901", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/cleverbot.rs - cleverbot::Cleverbot (line 15) [INFO] [stdout] src/cleverbot.rs - cleverbot::Cleverbot (line 20) [INFO] [stdout] src/cleverbot.rs - cleverbot::Cleverbot::clear_history (line 87) [INFO] [stdout] src/cleverbot.rs - cleverbot::Cleverbot::get_history (line 75) [INFO] [stdout] src/cleverbot.rs - cleverbot::Cleverbot::get_response (line 46) [INFO] [stdout] src/cleverbot.rs - cleverbot::Cleverbot::recookie (line 106) [INFO] [stdout] src/cleverbot.rs - cleverbot::CleverbotBuilder (line 184) [INFO] [stdout] src/cleverbot.rs - cleverbot::CleverbotBuilder (line 189) [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f8b549aafd1223dee04b54ee77cbf9f2e5038c48c1ca6784610a004172bdafa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8b549aafd1223dee04b54ee77cbf9f2e5038c48c1ca6784610a004172bdafa9", kill_on_drop: false }` [INFO] [stdout] f8b549aafd1223dee04b54ee77cbf9f2e5038c48c1ca6784610a004172bdafa9