[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 try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dlzht/trending on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1781dc531b4959bae6b21b1c5cef82ed187b58237d7cbeae11c02104236523c6
[INFO] running `Command { std: "docker" "start" "-a" "1781dc531b4959bae6b21b1c5cef82ed187b58237d7cbeae11c02104236523c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1781dc531b4959bae6b21b1c5cef82ed187b58237d7cbeae11c02104236523c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1781dc531b4959bae6b21b1c5cef82ed187b58237d7cbeae11c02104236523c6", kill_on_drop: false }`
[INFO] [stdout] 1781dc531b4959bae6b21b1c5cef82ed187b58237d7cbeae11c02104236523c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 61b4ed79913e359c06cf54280cecfb6ec208e8cbe5d245b40864f5eccab6f07c
[INFO] running `Command { std: "docker" "start" "-a" "61b4ed79913e359c06cf54280cecfb6ec208e8cbe5d245b40864f5eccab6f07c", 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 serde_json v1.0.145
[INFO] [stderr]    Compiling snafu-derive v0.8.9
[INFO] [stderr]    Compiling unindent v0.2.4
[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 tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[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 33.01s
[INFO] running `Command { std: "docker" "inspect" "61b4ed79913e359c06cf54280cecfb6ec208e8cbe5d245b40864f5eccab6f07c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61b4ed79913e359c06cf54280cecfb6ec208e8cbe5d245b40864f5eccab6f07c", kill_on_drop: false }`
[INFO] [stdout] 61b4ed79913e359c06cf54280cecfb6ec208e8cbe5d245b40864f5eccab6f07c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] cb7712e14521f322c6fb267a9cfb7ca8367b99c86f326f8aeda56a26d42cc555
[INFO] running `Command { std: "docker" "start" "-a" "cb7712e14521f322c6fb267a9cfb7ca8367b99c86f326f8aeda56a26d42cc555", 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.46s
[INFO] running `Command { std: "docker" "inspect" "cb7712e14521f322c6fb267a9cfb7ca8367b99c86f326f8aeda56a26d42cc555", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb7712e14521f322c6fb267a9cfb7ca8367b99c86f326f8aeda56a26d42cc555", kill_on_drop: false }`
[INFO] [stdout] cb7712e14521f322c6fb267a9cfb7ca8367b99c86f326f8aeda56a26d42cc555
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] a1753f0a9fd6632432dedfdddb1dacc8a5e5171c720a9b2cc4d9d49605c06317
[INFO] running `Command { std: "docker" "start" "-a" "a1753f0a9fd6632432dedfdddb1dacc8a5e5171c720a9b2cc4d9d49605c06317", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/trending/8ddb5f17f9f2dbf0/deps/trending-8ddb5f17f9f2dbf0)
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/trending-py/354197601d76e659/deps/trending-354197601d76e659)
[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] [stderr]    Doc-tests trending
[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 31) ... FAILED
[INFO] [stdout] test trending-rs/src/lib.rs - (line 45) ... FAILED
[INFO] [stdout] test trending-rs/src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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 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] 
[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.21s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.42s; merged doctests compilation took 0.20s
[INFO] [stderr] error: doctest failed, to rerun pass `-p trending --doc`
[INFO] running `Command { std: "docker" "inspect" "a1753f0a9fd6632432dedfdddb1dacc8a5e5171c720a9b2cc4d9d49605c06317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1753f0a9fd6632432dedfdddb1dacc8a5e5171c720a9b2cc4d9d49605c06317", kill_on_drop: false }`
[INFO] [stdout] a1753f0a9fd6632432dedfdddb1dacc8a5e5171c720a9b2cc4d9d49605c06317
