[INFO] cloning repository https://github.com/DaZuo0122/RustySniff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaZuo0122/RustySniff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaZuo0122%2FRustySniff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaZuo0122%2FRustySniff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d4fd2af4926eea7349c2a1e30ea135b7aada1af [INFO] checking DaZuo0122/RustySniff against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaZuo0122%2FRustySniff" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DaZuo0122/RustySniff [INFO] finished tweaking git repo https://github.com/DaZuo0122/RustySniff [INFO] tweaked toml for git repo https://github.com/DaZuo0122/RustySniff written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DaZuo0122/RustySniff on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DaZuo0122/RustySniff 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] [stderr] warning: `rustysniff` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to highest compatible versions [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding dns-parser v0.8.0 [INFO] [stderr] Adding equivalent v1.0.3 [INFO] [stderr] Adding hashbrown v0.17.1 [INFO] [stderr] Adding indexmap v2.14.2 [INFO] [stderr] Adding md5 v0.8.1 [INFO] [stderr] Adding minimal-lexical v0.2.1 [INFO] [stderr] Adding nom v7.1.3 [INFO] [stderr] Adding nom-derive v0.10.1 [INFO] [stderr] Adding nom-derive-impl v0.10.1 [INFO] [stderr] Adding num_enum v0.7.6 [INFO] [stderr] Adding num_enum_derive v0.7.6 [INFO] [stderr] Adding phf v0.11.3 [INFO] [stderr] Adding phf_codegen v0.11.3 [INFO] [stderr] Adding phf_generator v0.11.3 [INFO] [stderr] Adding phf_shared v0.11.3 [INFO] [stderr] Adding proc-macro-crate v3.5.0 [INFO] [stderr] Adding quick-error v1.2.3 [INFO] [stderr] Adding rand v0.8.8 [INFO] [stderr] Adding rand_core v0.6.4 [INFO] [stderr] Adding rusticata-macros v4.1.0 [INFO] [stderr] Adding rustversion v1.0.23 [INFO] [stderr] Updating serde v1.0.219 -> v1.0.229 [INFO] [stderr] Adding serde_core v1.0.229 [INFO] [stderr] Updating serde_derive v1.0.219 -> v1.0.229 [INFO] [stderr] Adding siphasher v1.0.4 [INFO] [stderr] Adding syn v1.0.109 [INFO] [stderr] Adding syn v3.0.9 [INFO] [stderr] Adding tls-parser v0.12.2 [INFO] [stderr] Adding toml_datetime v1.1.2+spec-1.1.0 [INFO] [stderr] Adding toml_edit v0.25.17+spec-1.1.0 [INFO] [stderr] Adding toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Adding winnow v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf [INFO] running `Command { std: "docker" "start" "f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] [stderr] warning: `rustysniff` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling siphasher v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling equivalent v1.0.3 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Checking pnet_base v0.35.0 [INFO] [stderr] Compiling rand v0.8.8 [INFO] [stderr] Compiling toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_datetime v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pnet_macros_support v0.35.0 [INFO] [stderr] Compiling toml_edit v0.25.17+spec-1.1.0 [INFO] [stderr] Compiling tls-parser v0.12.2 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking pnet_sys v0.35.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking pnet_datalink v0.35.0 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking md5 v0.8.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking rustyline v16.0.0 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling nom-derive-impl v0.10.1 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Compiling pcap v2.2.0 [INFO] [stderr] Checking num_enum v0.7.6 [INFO] [stderr] Checking pnet_packet v0.35.0 [INFO] [stderr] Checking nom-derive v0.10.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Checking pnet_transport v0.35.0 [INFO] [stderr] Checking network v0.1.0 (/opt/rustwide/workdir/network) [INFO] [stdout] warning: unused import: `Offline` [INFO] [stdout] --> network/src/types/dns.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use pcap::{Capture, Offline}; [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 imports: `Ipv4Addr` and `Ipv6Addr` [INFO] [stdout] --> network/src/types/http.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> network/src/types/http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> network/src/types/tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Offline` [INFO] [stdout] --> network/src/types/dns.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use pcap::{Capture, Offline}; [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 imports: `Ipv4Addr` and `Ipv6Addr` [INFO] [stdout] --> network/src/types/http.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> network/src/types/http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> network/src/types/tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> network/src/gfw/gtcp/fet.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn f_analyze_fet(mut cap: Capture, f_print: bool) -> Option> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> network/src/gfw/gtcp/fet.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn f_analyze_fet(mut cap: Capture, f_print: bool) -> Option> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rustysniff v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FETAnalyzer` [INFO] [stdout] --> src/cli/mod.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use network::gfw::gtcp::fet::{FETAnalyzer, f_analyze_fet}; [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 imports: `TrojanAnalyzer` and `match_trojan` [INFO] [stdout] --> src/cli/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use network::gfw::gtcp::trojan::{TrojanAnalyzer, f_analyze_trojan, match_trojan}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DnsRecord` [INFO] [stdout] --> src/cli/mod.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use network::types::dns::{DnsFilter, DnsRecord, f_process_dns}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/cli/mod.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use network::types::http::{HttpFilter, HttpMessage, f_process_http_1_x}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cli/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FETAnalyzer` [INFO] [stdout] --> src/cli/mod.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use network::gfw::gtcp::fet::{FETAnalyzer, f_analyze_fet}; [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 imports: `TrojanAnalyzer` and `match_trojan` [INFO] [stdout] --> src/cli/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use network::gfw::gtcp::trojan::{TrojanAnalyzer, f_analyze_trojan, match_trojan}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DnsRecord` [INFO] [stdout] --> src/cli/mod.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use network::types::dns::{DnsFilter, DnsRecord, f_process_dns}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/cli/mod.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use network::types::http::{HttpFilter, HttpMessage, f_process_http_1_x}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cli/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/cli/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::TypedValueParser as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/cli/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::TypedValueParser as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | editor.add_history_entry(&line); [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] 269 | let _ = editor.add_history_entry(&line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | editor.add_history_entry(&line); [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] 269 | let _ = editor.add_history_entry(&line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rustysniff-pysdk v0.1.0 (/opt/rustwide/workdir/py-sdk) [INFO] [stdout] warning: unused import: `f_process_http_1_x` [INFO] [stdout] --> py-sdk/src/types/http.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use network::types::http::{self, HttpFilter, HttpMessage, f_process_http_1_x}; [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 imports: `NetworkStats`, `RttEstimator`, and `TcpFlow` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use network::types::tcp::{self, ConnectionState, Direction, NetworkStats, RttEstimator, TcpFlow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f_process_http_1_x` [INFO] [stdout] --> py-sdk/src/types/http.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use network::types::http::{self, HttpFilter, HttpMessage, f_process_http_1_x}; [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 imports: `NetworkStats`, `RttEstimator`, and `TcpFlow` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use network::types::tcp::{self, ConnectionState, Direction, NetworkStats, RttEstimator, TcpFlow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> py-sdk/src/types/statistic.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut guard = capture; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> py-sdk/src/types/statistic.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let mut guard = capture; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/http.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | ) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/statistic.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | fn count_sd_addr_data(file_path: &str, top: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/statistic.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | fn f_describe_data(file_path: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:191:61 [INFO] [stdout] | [INFO] [stdout] 191 | fn gen_rtt_estimator(file_path: &str, f_print: bool) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | ) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:225:50 [INFO] [stdout] | [INFO] [stdout] 225 | fn f_analyze_tcp_network(file_path: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustysniff-pysdk` (lib) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> py-sdk/src/types/statistic.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut guard = capture; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> py-sdk/src/types/statistic.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let mut guard = capture; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/http.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | ) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/statistic.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | fn count_sd_addr_data(file_path: &str, top: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/statistic.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | fn f_describe_data(file_path: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:191:61 [INFO] [stdout] | [INFO] [stdout] 191 | fn gen_rtt_estimator(file_path: &str, f_print: bool) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | ) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> py-sdk/src/types/tcp.rs:225:50 [INFO] [stdout] | [INFO] [stdout] 225 | fn f_analyze_tcp_network(file_path: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustysniff-pysdk` (lib test) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: unused dependency `md5` [INFO] [stderr] --> network/Cargo.toml:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | md5 = "0.8.0" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `md5` [INFO] [stderr] warning: unused dependency `tls-parser` [INFO] [stderr] --> network/Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | tls-parser = "0.12.2" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tls-parser` [INFO] [stderr] warning: `network` (manifest) generated 2 warnings [INFO] running `Command { std: "docker" "inspect" "f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf", kill_on_drop: false }` [INFO] [stdout] f664264f1f08e63e5c530a6722692f500a2f0c54bcb2c3058d573cd68eb76ccf