[INFO] cloning repository https://github.com/johankoi91/log-analysis-system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johankoi91/log-analysis-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohankoi91%2Flog-analysis-system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohankoi91%2Flog-analysis-system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c7863daf5a565be6a21550a5e1e205ce19f44e24
[INFO] building johankoi91/log-analysis-system against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohankoi91%2Flog-analysis-system" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johankoi91/log-analysis-system
[INFO] finished tweaking git repo https://github.com/johankoi91/log-analysis-system
[INFO] tweaked toml for git repo https://github.com/johankoi91/log-analysis-system written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johankoi91/log-analysis-system on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/johankoi91/log-analysis-system 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/filebeat_restful/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/logs_filter/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e1e631538497207055ec7902fa8a687fe044ba006edf7eeb689a2feaf96f435
[INFO] running `Command { std: "docker" "start" "-a" "8e1e631538497207055ec7902fa8a687fe044ba006edf7eeb689a2feaf96f435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e1e631538497207055ec7902fa8a687fe044ba006edf7eeb689a2feaf96f435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e1e631538497207055ec7902fa8a687fe044ba006edf7eeb689a2feaf96f435", kill_on_drop: false }`
[INFO] [stdout] 8e1e631538497207055ec7902fa8a687fe044ba006edf7eeb689a2feaf96f435
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 119f4f4fe01dc80dc7ba1529d6f974d641b3de98a26f2b2bae80edeb413a44ce
[INFO] running `Command { std: "docker" "start" "-a" "119f4f4fe01dc80dc7ba1529d6f974d641b3de98a26f2b2bae80edeb413a44ce", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: /opt/rustwide/workdir/logs_filter/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr] warning: /opt/rustwide/workdir/filebeat_restful/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling value-bag v1.10.0
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling miniz_oxide v0.8.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling openssl v0.10.70
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling event-listener-strategy v0.5.3
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling native-tls v0.2.13
[INFO] [stderr]    Compiling semver v1.0.25
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling brotli-decompressor v4.0.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling cc v1.2.13
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling data-encoding v2.7.0
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling elasticsearch v8.16.0-alpha.1
[INFO] [stderr]    Compiling openssl-sys v0.9.105
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling env_logger v0.11.6
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling dyn-clone v1.0.18
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerocopy v0.7.35
[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 ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling actix-server v2.5.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling async-io v2.4.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling async-compression v0.4.18
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling serde_with v3.12.0
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling async-tungstenite v0.28.2
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling reqwest v0.12.12
[INFO] [stderr]    Compiling async-std v1.13.0
[INFO] [stderr]    Compiling actix-http v3.9.0
[INFO] [stderr]    Compiling actix-web v4.9.0
[INFO] [stderr]    Compiling filebeat_restful v0.1.0 (/opt/rustwide/workdir/filebeat_restful)
[INFO] [stdout] warning: unused import: `modify_yaml`
[INFO] [stdout]  --> filebeat_restful/src/websocket.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::modify_filebeat_yaml::{modify_yaml,modify_yaml_dynamic};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde::{Deserialize, Deserializer, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::read_dir`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::fs::read_dir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::read`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::ptr::read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::any::Any;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sequence` and `Serializer`
[INFO] [stdout]  --> filebeat_restful/src/modify_filebeat_yaml.rs:2:60
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_yaml::{Value, from_reader, to_writer, to_string, Serializer, Sequence};
[INFO] [stdout]   |                                                            ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncWriteExt` and `self`
[INFO] [stdout]  --> filebeat_restful/src/system_cmd.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{self, AsyncWriteExt};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> filebeat_restful/src/system_cmd.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::process::Stdio; // 从标准库导入 Stdio
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `if` condition
[INFO] [stdout]   --> filebeat_restful/src/system_cmd.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     if  { context_line <= 0 } {
[INFO] [stdout]    |         ^^                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 73 -     if  { context_line <= 0 } {
[INFO] [stdout] 73 +     if  context_line <= 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         tx: &Broadcaster,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             tokio::select! {
[INFO] [stdout] 157 | |             Some(msg) = async {
[INFO] [stdout] 158 | |                 let mut ws_guard = ws_stream.lock().await; // Lock the WebSocketStream for mutable access
[INFO] [stdout] 159 | |                 ws_guard.next().await
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |             }
[INFO] [stdout]     | |_____________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 172 |           }
[INFO] [stdout] 173 |           info!("after tokio::select handle_client_message");
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogConfig` is never constructed
[INFO] [stdout]  --> filebeat_restful/src/modify_filebeat_yaml.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct LogConfig {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fields` is never constructed
[INFO] [stdout]   --> filebeat_restful/src/modify_filebeat_yaml.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Fields {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modify_yaml` is never used
[INFO] [stdout]   --> filebeat_restful/src/modify_filebeat_yaml.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn modify_yaml(file_path: &str, new_paths: Vec<String>, new_service: String, new_hostname: String) -> Result<(), Box<dyn std::error::...
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:222:21
[INFO] [stdout]     |
[INFO] [stdout] 222 |                     modify_yaml_dynamic(file_path.as_str(), new_paths, new_service, new_hostname);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 222 |                     let _ = modify_yaml_dynamic(file_path.as_str(), new_paths, new_service, new_hostname);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:225:21
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     let _ = client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:276:21
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     let _ = client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |             client_ws_guard.close(None).await;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 285 |             let _ = client_ws_guard.close(None).await;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling actix-cors v0.7.0
[INFO] [stderr]    Compiling actix-files v0.6.6
[INFO] [stderr]    Compiling logs_filter v0.1.0 (/opt/rustwide/workdir/logs_filter)
[INFO] [stdout] warning: value assigned to `log_ips` is never read
[INFO] [stdout]   --> logs_filter/src/routes/discover_node.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let mut log_ips = vec![];
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `es_ip` is never read
[INFO] [stdout]   --> logs_filter/src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut es_ip = String::new();
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sender` is never read
[INFO] [stdout]   --> logs_filter/src/routes/discover_node.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct WebSocketClient {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 14 |     sender: Arc<Mutex<broadcast::Sender<Value>>>, // Sender 用于发送消息
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 07s
[INFO] running `Command { std: "docker" "inspect" "119f4f4fe01dc80dc7ba1529d6f974d641b3de98a26f2b2bae80edeb413a44ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "119f4f4fe01dc80dc7ba1529d6f974d641b3de98a26f2b2bae80edeb413a44ce", kill_on_drop: false }`
[INFO] [stdout] 119f4f4fe01dc80dc7ba1529d6f974d641b3de98a26f2b2bae80edeb413a44ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11fc86d316e7259ef2de2e9b8674eb27b0779af932277622055d172484441cb5
[INFO] running `Command { std: "docker" "start" "-a" "11fc86d316e7259ef2de2e9b8674eb27b0779af932277622055d172484441cb5", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: /opt/rustwide/workdir/logs_filter/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr] warning: /opt/rustwide/workdir/filebeat_restful/Cargo.toml: version requirement `0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr]    Compiling filebeat_restful v0.1.0 (/opt/rustwide/workdir/filebeat_restful)
[INFO] [stderr]    Compiling logs_filter v0.1.0 (/opt/rustwide/workdir/logs_filter)
[INFO] [stdout] warning: unused import: `modify_yaml`
[INFO] [stdout]  --> filebeat_restful/src/websocket.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::modify_filebeat_yaml::{modify_yaml,modify_yaml_dynamic};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde::{Deserialize, Deserializer, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::read_dir`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::fs::read_dir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::read`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::ptr::read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]   --> filebeat_restful/src/websocket.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::any::Any;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sequence` and `Serializer`
[INFO] [stdout]  --> filebeat_restful/src/modify_filebeat_yaml.rs:2:60
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_yaml::{Value, from_reader, to_writer, to_string, Serializer, Sequence};
[INFO] [stdout]   |                                                            ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncWriteExt` and `self`
[INFO] [stdout]  --> filebeat_restful/src/system_cmd.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{self, AsyncWriteExt};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> filebeat_restful/src/system_cmd.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::process::Stdio; // 从标准库导入 Stdio
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around `if` condition
[INFO] [stdout]   --> filebeat_restful/src/system_cmd.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     if  { context_line <= 0 } {
[INFO] [stdout]    |         ^^                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 73 -     if  { context_line <= 0 } {
[INFO] [stdout] 73 +     if  context_line <= 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             tokio::select! {
[INFO] [stdout] 157 | |             Some(msg) = async {
[INFO] [stdout] 158 | |                 let mut ws_guard = ws_stream.lock().await; // Lock the WebSocketStream for mutable access
[INFO] [stdout] 159 | |                 ws_guard.next().await
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |             }
[INFO] [stdout]     | |_____________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 172 |           }
[INFO] [stdout] 173 |           info!("after tokio::select handle_client_message");
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `log_ips` is never read
[INFO] [stdout]   --> logs_filter/src/routes/discover_node.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let mut log_ips = vec![];
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         tx: &Broadcaster,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `es_ip` is never read
[INFO] [stdout]   --> logs_filter/src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut es_ip = String::new();
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sender` is never read
[INFO] [stdout]   --> logs_filter/src/routes/discover_node.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct WebSocketClient {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 14 |     sender: Arc<Mutex<broadcast::Sender<Value>>>, // Sender 用于发送消息
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogConfig` is never constructed
[INFO] [stdout]  --> filebeat_restful/src/modify_filebeat_yaml.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct LogConfig {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fields` is never constructed
[INFO] [stdout]   --> filebeat_restful/src/modify_filebeat_yaml.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Fields {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modify_yaml` is never used
[INFO] [stdout]   --> filebeat_restful/src/modify_filebeat_yaml.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn modify_yaml(file_path: &str, new_paths: Vec<String>, new_service: String, new_hostname: String) -> Result<(), Box<dyn std::error::...
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:222:21
[INFO] [stdout]     |
[INFO] [stdout] 222 |                     modify_yaml_dynamic(file_path.as_str(), new_paths, new_service, new_hostname);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 222 |                     let _ = modify_yaml_dynamic(file_path.as_str(), new_paths, new_service, new_hostname);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:225:21
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     let _ = client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:276:21
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     let _ = client_ws_guard.send(response_msg).await;
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> filebeat_restful/src/websocket.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |             client_ws_guard.close(None).await;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 285 |             let _ = client_ws_guard.close(None).await;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.53s
[INFO] running `Command { std: "docker" "inspect" "11fc86d316e7259ef2de2e9b8674eb27b0779af932277622055d172484441cb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11fc86d316e7259ef2de2e9b8674eb27b0779af932277622055d172484441cb5", kill_on_drop: false }`
[INFO] [stdout] 11fc86d316e7259ef2de2e9b8674eb27b0779af932277622055d172484441cb5
