[INFO] fetching crate whatsapp_handler 0.1.1... [INFO] testing whatsapp_handler-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate whatsapp_handler 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate whatsapp_handler 0.1.1 [INFO] finished tweaking crates.io crate whatsapp_handler 0.1.1 [INFO] tweaked toml for crates.io crate whatsapp_handler 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate whatsapp_handler 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate whatsapp_handler 0.1.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efa0d0976c34a7a469751e42d20c84abac46d9950f025fde0390ef6540c47910 [INFO] running `Command { std: "docker" "start" "-a" "efa0d0976c34a7a469751e42d20c84abac46d9950f025fde0390ef6540c47910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efa0d0976c34a7a469751e42d20c84abac46d9950f025fde0390ef6540c47910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa0d0976c34a7a469751e42d20c84abac46d9950f025fde0390ef6540c47910", kill_on_drop: false }` [INFO] [stdout] efa0d0976c34a7a469751e42d20c84abac46d9950f025fde0390ef6540c47910 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41b0efb06a345f1c0b823e3d92169d1df47b044846aee055b195acda4f04ce9b [INFO] running `Command { std: "docker" "start" "-a" "41b0efb06a345f1c0b823e3d92169d1df47b044846aee055b195acda4f04ce9b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling whatsapp_handler v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.20s [INFO] running `Command { std: "docker" "inspect" "41b0efb06a345f1c0b823e3d92169d1df47b044846aee055b195acda4f04ce9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b0efb06a345f1c0b823e3d92169d1df47b044846aee055b195acda4f04ce9b", kill_on_drop: false }` [INFO] [stdout] 41b0efb06a345f1c0b823e3d92169d1df47b044846aee055b195acda4f04ce9b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95cc4ea362eececa323fb8cfd68b2cc546b4aa94e6a66b5576ce3abada365f35 [INFO] running `Command { std: "docker" "start" "-a" "95cc4ea362eececa323fb8cfd68b2cc546b4aa94e6a66b5576ce3abada365f35", kill_on_drop: false }` [INFO] [stderr] Compiling whatsapp_handler v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.98s [INFO] running `Command { std: "docker" "inspect" "95cc4ea362eececa323fb8cfd68b2cc546b4aa94e6a66b5576ce3abada365f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95cc4ea362eececa323fb8cfd68b2cc546b4aa94e6a66b5576ce3abada365f35", kill_on_drop: false }` [INFO] [stdout] 95cc4ea362eececa323fb8cfd68b2cc546b4aa94e6a66b5576ce3abada365f35 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d6d7788416893bce966c026fe48d94d3e9bfa4a10c69da68f93e5517eff0fcb [INFO] running `Command { std: "docker" "start" "-a" "7d6d7788416893bce966c026fe48d94d3e9bfa4a10c69da68f93e5517eff0fcb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/whatsapp_handler-a98e73453b3c791c) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::incoming_message ... ignored [INFO] [stdout] test tests::incoming_statuses ... ignored [INFO] [stdout] test tests::outgoing_interaction_list_message ... ignored [INFO] [stdout] test tests::outgoing_text_message ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests whatsapp_handler [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/action/outgoing.rs - action::outgoing::send (line 22) ... ignored [INFO] [stdout] test src/config.rs - config::Config::from (line 38) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::outgoing (line 104) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::Config::from (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `config` [INFO] [stdout] --> src/config.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = config::Config::from( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `config` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/config.rs, use `mod config` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod config; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use whatsapp_handler::config::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let config = config::Config::from( [INFO] [stdout] 3 + let config = Config::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::outgoing (line 104) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/config.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = config.outgoing(message).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/config.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 3 | let response = config.outgoing(message).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/config.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_104_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 3 | let response = config.outgoing(message).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, 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/config.rs - config::Config::from (line 38) [INFO] [stdout] src/config.rs - config::Config::outgoing (line 104) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.15s; merged doctests compilation took 0.07s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7d6d7788416893bce966c026fe48d94d3e9bfa4a10c69da68f93e5517eff0fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d6d7788416893bce966c026fe48d94d3e9bfa4a10c69da68f93e5517eff0fcb", kill_on_drop: false }` [INFO] [stdout] 7d6d7788416893bce966c026fe48d94d3e9bfa4a10c69da68f93e5517eff0fcb