[INFO] cloning repository https://github.com/higoudan/news_hot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/higoudan/news_hot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigoudan%2Fnews_hot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigoudan%2Fnews_hot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 761bae71dcc0693e0fd0b4b3e7ed5f565688276c [INFO] testing higoudan/news_hot against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigoudan%2Fnews_hot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/higoudan/news_hot on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/higoudan/news_hot [INFO] finished tweaking git repo https://github.com/higoudan/news_hot [INFO] tweaked toml for git repo https://github.com/higoudan/news_hot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/higoudan/news_hot 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3def3e502d179d37d0b964dc1d02714ec9f38d0402f21cb126887c5264cc491e [INFO] running `Command { std: "docker" "start" "-a" "3def3e502d179d37d0b964dc1d02714ec9f38d0402f21cb126887c5264cc491e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3def3e502d179d37d0b964dc1d02714ec9f38d0402f21cb126887c5264cc491e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3def3e502d179d37d0b964dc1d02714ec9f38d0402f21cb126887c5264cc491e", kill_on_drop: false }` [INFO] [stdout] 3def3e502d179d37d0b964dc1d02714ec9f38d0402f21cb126887c5264cc491e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 771c05a48ad66a04dbf07e0ffa656ef02104fab5366cf1e4f57b04e0d0c8b4ca [INFO] running `Command { std: "docker" "start" "-a" "771c05a48ad66a04dbf07e0ffa656ef02104fab5366cf1e4f57b04e0d0c8b4ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [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 num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ordered-multimap v0.6.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling pathdiff v0.2.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling rust-ini v0.19.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling cron v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling config v0.14.0 [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.8 [INFO] [stderr] Compiling news_hot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut c = Config::builder() [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `media_avatar_url`, `abstract_desc`, and `source` are never read [INFO] [stdout] --> src/model.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NewHot { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub media_avatar_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub abstract_desc: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub source_url: String, [INFO] [stdout] 11 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewHot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_behot_time` is never read [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MaxBehotTime { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | pub max_behot_time: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaxBehotTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_more`, `message`, and `next` are never read [INFO] [stdout] --> src/model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | pub has_more: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub data: Vec, [INFO] [stdout] 24 | pub next: MaxBehotTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mark_Str` should have a snake case name [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mark_Str = sample_markdown_combo(&config.newshot.perfix_url,frist).await; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `mark_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sendData` should have a snake case name [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let sendData = model::DingtalkSendData::new(message); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `send_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `perfixUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | async fn sample_markdown_combo(perfixUrl: &str, hots: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `perfix_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `perfixUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | fn click_url(perfixUrl: &str, hot: &model::NewHot) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `perfix_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "771c05a48ad66a04dbf07e0ffa656ef02104fab5366cf1e4f57b04e0d0c8b4ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771c05a48ad66a04dbf07e0ffa656ef02104fab5366cf1e4f57b04e0d0c8b4ca", kill_on_drop: false }` [INFO] [stdout] 771c05a48ad66a04dbf07e0ffa656ef02104fab5366cf1e4f57b04e0d0c8b4ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e84247b36e692bf0c4b33748cb45fc73f831b172019dfef5d172bbf159587ec [INFO] running `Command { std: "docker" "start" "-a" "9e84247b36e692bf0c4b33748cb45fc73f831b172019dfef5d172bbf159587ec", kill_on_drop: false }` [INFO] [stderr] Compiling news_hot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut c = Config::builder() [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `media_avatar_url`, `abstract_desc`, and `source` are never read [INFO] [stdout] --> src/model.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NewHot { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub media_avatar_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub abstract_desc: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub source_url: String, [INFO] [stdout] 11 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewHot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_behot_time` is never read [INFO] [stdout] --> src/model.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MaxBehotTime { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | pub max_behot_time: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaxBehotTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_more`, `message`, and `next` are never read [INFO] [stdout] --> src/model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | pub has_more: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub data: Vec, [INFO] [stdout] 24 | pub next: MaxBehotTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mark_Str` should have a snake case name [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mark_Str = sample_markdown_combo(&config.newshot.perfix_url,frist).await; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `mark_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sendData` should have a snake case name [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let sendData = model::DingtalkSendData::new(message); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `send_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `perfixUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | async fn sample_markdown_combo(perfixUrl: &str, hots: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `perfix_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `perfixUrl` should have a snake case name [INFO] [stdout] --> src/main.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | fn click_url(perfixUrl: &str, hot: &model::NewHot) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `perfix_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "9e84247b36e692bf0c4b33748cb45fc73f831b172019dfef5d172bbf159587ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e84247b36e692bf0c4b33748cb45fc73f831b172019dfef5d172bbf159587ec", kill_on_drop: false }` [INFO] [stdout] 9e84247b36e692bf0c4b33748cb45fc73f831b172019dfef5d172bbf159587ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07e14fad10b26353e566e91a43aa9d99e430a9ae2e1bd044b0966a4b80a2c9c2 [INFO] running `Command { std: "docker" "start" "-a" "07e14fad10b26353e566e91a43aa9d99e430a9ae2e1bd044b0966a4b80a2c9c2", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut c = Config::builder() [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `media_avatar_url`, `abstract_desc`, and `source` are never read [INFO] [stderr] --> src/model.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct NewHot { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 6 | pub media_avatar_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | pub abstract_desc: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub source_url: String, [INFO] [stderr] 11 | pub source: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NewHot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `max_behot_time` is never read [INFO] [stderr] --> src/model.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct MaxBehotTime { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 16 | pub max_behot_time: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MaxBehotTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `has_more`, `message`, and `next` are never read [INFO] [stderr] --> src/model.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Data { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 21 | pub has_more: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 22 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 23 | pub data: Vec, [INFO] [stderr] 24 | pub next: MaxBehotTime, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variable `mark_Str` should have a snake case name [INFO] [stderr] --> src/main.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | let mark_Str = sample_markdown_combo(&config.newshot.perfix_url,frist).await; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `mark_str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `sendData` should have a snake case name [INFO] [stderr] --> src/main.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | let sendData = model::DingtalkSendData::new(message); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `send_data` [INFO] [stderr] [INFO] [stderr] warning: variable `perfixUrl` should have a snake case name [INFO] [stderr] --> src/main.rs:104:32 [INFO] [stderr] | [INFO] [stderr] 104 | async fn sample_markdown_combo(perfixUrl: &str, hots: &Vec) -> String { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `perfix_url` [INFO] [stderr] [INFO] [stderr] warning: variable `perfixUrl` should have a snake case name [INFO] [stderr] --> src/main.rs:122:14 [INFO] [stderr] | [INFO] [stderr] 122 | fn click_url(perfixUrl: &str, hot: &model::NewHot) -> String { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `perfix_url` [INFO] [stderr] [INFO] [stderr] warning: `news_hot` (bin "news_hot" test) generated 8 warnings (run `cargo fix --bin "news_hot" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/news_hot-16bec486a3547f7b) [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] running `Command { std: "docker" "inspect" "07e14fad10b26353e566e91a43aa9d99e430a9ae2e1bd044b0966a4b80a2c9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e14fad10b26353e566e91a43aa9d99e430a9ae2e1bd044b0966a4b80a2c9c2", kill_on_drop: false }` [INFO] [stdout] 07e14fad10b26353e566e91a43aa9d99e430a9ae2e1bd044b0966a4b80a2c9c2