[INFO] cloning repository https://github.com/dlzht/trending
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dlzht/trending" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlzht%2Ftrending", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlzht%2Ftrending'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59b9251392da1ca1d5c0963b72b1be0665a09cff
[INFO] testing dlzht/trending against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlzht%2Ftrending" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dlzht/trending
[INFO] finished tweaking git repo https://github.com/dlzht/trending
[INFO] tweaked toml for git repo https://github.com/dlzht/trending written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dlzht/trending on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dlzht/trending 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pyo3-macros v0.27.2
[INFO] [stderr]   Downloaded target-lexicon v0.13.3
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.27.2
[INFO] [stderr]   Downloaded snafu-derive v0.8.9
[INFO] [stderr]   Downloaded pyo3-build-config v0.27.2
[INFO] [stderr]   Downloaded snafu v0.8.9
[INFO] [stderr]   Downloaded pyo3-ffi v0.27.2
[INFO] [stderr]   Downloaded pyo3 v0.27.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8fe3403f9b2a41ddcc14d538a78735089c51004047ebfe6cc75b53339519744d
[INFO] running `Command { std: "docker" "start" "-a" "8fe3403f9b2a41ddcc14d538a78735089c51004047ebfe6cc75b53339519744d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8fe3403f9b2a41ddcc14d538a78735089c51004047ebfe6cc75b53339519744d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fe3403f9b2a41ddcc14d538a78735089c51004047ebfe6cc75b53339519744d", kill_on_drop: false }`
[INFO] [stdout] 8fe3403f9b2a41ddcc14d538a78735089c51004047ebfe6cc75b53339519744d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa3678a7c04ca6e79c01bbc51973a73e6a70674181da85203cf4ac31daa30f10
[INFO] running `Command { std: "docker" "start" "-a" "fa3678a7c04ca6e79c01bbc51973a73e6a70674181da85203cf4ac31daa30f10", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.13.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling snafu-derive v0.8.9
[INFO] [stderr]    Compiling unindent v0.2.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling pyo3-build-config v0.27.2
[INFO] [stderr]    Compiling snafu v0.8.9
[INFO] [stderr]    Compiling pyo3-ffi v0.27.2
[INFO] [stderr]    Compiling pyo3-macros-backend v0.27.2
[INFO] [stderr]    Compiling pyo3 v0.27.2
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling pyo3-macros v0.27.2
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.25
[INFO] [stderr]    Compiling trending v0.1.1 (/opt/rustwide/workdir/trending-rs)
[INFO] [stderr]    Compiling trending-py v0.1.1 (/opt/rustwide/workdir/trending-py)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.39s
[INFO] running `Command { std: "docker" "inspect" "fa3678a7c04ca6e79c01bbc51973a73e6a70674181da85203cf4ac31daa30f10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa3678a7c04ca6e79c01bbc51973a73e6a70674181da85203cf4ac31daa30f10", kill_on_drop: false }`
[INFO] [stdout] fa3678a7c04ca6e79c01bbc51973a73e6a70674181da85203cf4ac31daa30f10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be8ea5fdc3f8cbe528b1f2d8ad0ebdfc4febdd2edeb4bc844876ee0bcb1e7582
[INFO] running `Command { std: "docker" "start" "-a" "be8ea5fdc3f8cbe528b1f2d8ad0ebdfc4febdd2edeb4bc844876ee0bcb1e7582", kill_on_drop: false }`
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.25
[INFO] [stderr]    Compiling trending v0.1.1 (/opt/rustwide/workdir/trending-rs)
[INFO] [stderr]    Compiling trending-py v0.1.1 (/opt/rustwide/workdir/trending-py)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 13.95s
[INFO] running `Command { std: "docker" "inspect" "be8ea5fdc3f8cbe528b1f2d8ad0ebdfc4febdd2edeb4bc844876ee0bcb1e7582", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be8ea5fdc3f8cbe528b1f2d8ad0ebdfc4febdd2edeb4bc844876ee0bcb1e7582", kill_on_drop: false }`
[INFO] [stdout] be8ea5fdc3f8cbe528b1f2d8ad0ebdfc4febdd2edeb4bc844876ee0bcb1e7582
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3af1a12414f1998207afff67f3a1f6f9933debb5228de70ebc1e29c393a49638
[INFO] running `Command { std: "docker" "start" "-a" "3af1a12414f1998207afff67f3a1f6f9933debb5228de70ebc1e29c393a49638", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trending-8ddb5f17f9f2dbf0)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trending-354197601d76e659)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests trending
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test trending-rs/src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] test trending-rs/src/lib.rs - (line 45) ... FAILED
[INFO] [stdout] test trending-rs/src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- trending-rs/src/lib.rs - (line 17) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientOptions`
[INFO] [stdout]   --> trending-rs/src/lib.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | let options = ClientOptions::new().with_timeout(Duration::from_secs(5));
[INFO] [stdout]    |               ^^^^^^^^^^^^^ use of undeclared type `ClientOptions`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 16 + use trending::client::ClientOptions;
[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] ---- trending-rs/src/lib.rs - (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchReq`
[INFO] [stdout]   --> trending-rs/src/lib.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | let req = SearchReq::new("ELON");
[INFO] [stdout]    |           ^^^^^^^^^ use of undeclared type `SearchReq`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 44 + use trending::common::SearchReq;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> trending-rs/src/lib.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 | let res = client.search_tecent(&req).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]   --> trending-rs/src/lib.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn main() { #[allow(non_snake_case)] fn _doctest_main_trending_rs_src_lib_rs_45_0() {
[INFO] [stdout]    |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 49 | let res = client.search_tecent(&req).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, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- trending-rs/src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> trending-rs/src/lib.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | let res = client.trending_zhihu().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]   --> trending-rs/src/lib.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_trending_rs_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] 33 | // receive 29 trendings from zhihu
[INFO] [stdout] 34 | let res = client.trending_zhihu().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] 
[INFO] [stdout] failures:
[INFO] [stdout]     trending-rs/src/lib.rs - (line 17)
[INFO] [stdout]     trending-rs/src/lib.rs - (line 31)
[INFO] [stdout]     trending-rs/src/lib.rs - (line 45)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.79s; merged doctests compilation took 0.21s
[INFO] [stderr] error: doctest failed, to rerun pass `-p trending --doc`
[INFO] running `Command { std: "docker" "inspect" "3af1a12414f1998207afff67f3a1f6f9933debb5228de70ebc1e29c393a49638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3af1a12414f1998207afff67f3a1f6f9933debb5228de70ebc1e29c393a49638", kill_on_drop: false }`
[INFO] [stdout] 3af1a12414f1998207afff67f3a1f6f9933debb5228de70ebc1e29c393a49638
