[INFO] cloning repository https://github.com/bdbai/rust-cn-qbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bdbai/rust-cn-qbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdbai%2Frust-cn-qbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdbai%2Frust-cn-qbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4fe99695124830a5748a8fe13d6200ebf5b7a54 [INFO] testing bdbai/rust-cn-qbot against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdbai%2Frust-cn-qbot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bdbai/rust-cn-qbot [INFO] finished tweaking git repo https://github.com/bdbai/rust-cn-qbot [INFO] tweaked toml for git repo https://github.com/bdbai/rust-cn-qbot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bdbai/rust-cn-qbot on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bdbai/rust-cn-qbot 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01540fe309d533af0dbc78856862bce6a67b1fe82427ef74fb06a51e53d705c5 [INFO] running `Command { std: "docker" "start" "-a" "01540fe309d533af0dbc78856862bce6a67b1fe82427ef74fb06a51e53d705c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01540fe309d533af0dbc78856862bce6a67b1fe82427ef74fb06a51e53d705c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01540fe309d533af0dbc78856862bce6a67b1fe82427ef74fb06a51e53d705c5", kill_on_drop: false }` [INFO] [stdout] 01540fe309d533af0dbc78856862bce6a67b1fe82427ef74fb06a51e53d705c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85d207338c7a9bacdaf4938d4a87e1c24e6fa963ead6fee72a71315508003608 [INFO] running `Command { std: "docker" "start" "-a" "85d207338c7a9bacdaf4938d4a87e1c24e6fa963ead6fee72a71315508003608", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [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 tracing v0.1.41 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling xml5ever v0.18.1 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.3.0 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [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 hyper-tls v0.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling rust-cn-qbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 02s [INFO] running `Command { std: "docker" "inspect" "85d207338c7a9bacdaf4938d4a87e1c24e6fa963ead6fee72a71315508003608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d207338c7a9bacdaf4938d4a87e1c24e6fa963ead6fee72a71315508003608", kill_on_drop: false }` [INFO] [stdout] 85d207338c7a9bacdaf4938d4a87e1c24e6fa963ead6fee72a71315508003608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f493ac25eb3a3e38d8b96747790ccc7ec7b23ca936bffb693682cf8fda4fe92 [INFO] running `Command { std: "docker" "start" "-a" "0f493ac25eb3a3e38d8b96747790ccc7ec7b23ca936bffb693682cf8fda4fe92", kill_on_drop: false }` [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling mock_instant v0.5.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling rust-cn-qbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.84s [INFO] running `Command { std: "docker" "inspect" "0f493ac25eb3a3e38d8b96747790ccc7ec7b23ca936bffb693682cf8fda4fe92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f493ac25eb3a3e38d8b96747790ccc7ec7b23ca936bffb693682cf8fda4fe92", kill_on_drop: false }` [INFO] [stdout] 0f493ac25eb3a3e38d8b96747790ccc7ec7b23ca936bffb693682cf8fda4fe92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9efa36769289cd0071546e6a94f0917ef8ecbd31f9bb6f655e37c8d5777673a [INFO] running `Command { std: "docker" "start" "-a" "f9efa36769289cd0071546e6a94f0917ef8ecbd31f9bb6f655e37c8d5777673a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_cn_qbot-24bfe0cca3ee7979) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test controller::发送::tests::test_html_replacement ... ok [INFO] [stdout] test crawler::tests::test_parse_raw_title ... ok [INFO] [stdout] test qbot::event::webhook::challenge::tests::test_challenge_generator ... ok [INFO] [stdout] test qbot::api::tests::test_get_ws_gateway ... ok [INFO] [stdout] test qbot::api::tests::test_reply_text_to_channel_message ... ok [INFO] [stdout] test crawler::tests::test_fetch_post ... ok [INFO] [stdout] test crawler::tests::test_fetch_category ... ok [INFO] [stdout] test qbot::authorizer::tests::test_get_access_token_request_error ... ok [INFO] [stdout] test qbot::authorizer::tests::test_get_access_token_api_error ... ok [INFO] [stdout] test qbot::authorizer::tests::test_refresh_expired_access_token ... ok [INFO] [stdout] test qbot::authorizer::tests::test_create_and_authorize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f9efa36769289cd0071546e6a94f0917ef8ecbd31f9bb6f655e37c8d5777673a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9efa36769289cd0071546e6a94f0917ef8ecbd31f9bb6f655e37c8d5777673a", kill_on_drop: false }` [INFO] [stdout] f9efa36769289cd0071546e6a94f0917ef8ecbd31f9bb6f655e37c8d5777673a