[INFO] cloning repository https://github.com/BurtTheCoder/rs-collector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BurtTheCoder/rs-collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurtTheCoder%2Frs-collector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurtTheCoder%2Frs-collector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb82c1a94ac79a08b7fbb269f3183571ec8fd58a [INFO] testing BurtTheCoder/rs-collector against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurtTheCoder%2Frs-collector" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/BurtTheCoder/rs-collector [INFO] finished tweaking git repo https://github.com/BurtTheCoder/rs-collector [INFO] tweaked toml for git repo https://github.com/BurtTheCoder/rs-collector written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BurtTheCoder/rs-collector on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BurtTheCoder/rs-collector 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded password-hash v0.4.2 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded include_dir v0.7.4 [INFO] [stderr] Downloaded pretty-hex v0.4.1 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.1 [INFO] [stderr] Downloaded include_dir_macros v0.7.4 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded bodyfile v0.1.4 [INFO] [stderr] Downloaded rusoto_credential v0.48.0 [INFO] [stderr] Downloaded cached v0.46.1 [INFO] [stderr] Downloaded duplicate v0.3.0 [INFO] [stderr] Downloaded mach-sys v0.5.4 [INFO] [stderr] Downloaded rusoto_s3 v0.48.0 [INFO] [stderr] Downloaded memprocfs v5.15.0 [INFO] [stderr] Downloaded sysinfo v0.29.11 [INFO] [stderr] Downloaded ssh2 v0.9.5 [INFO] [stderr] Downloaded rusoto_core v0.48.0 [INFO] [stderr] Downloaded yara-sys v0.1.0 [INFO] [stderr] Downloaded cached_proc_macro v0.18.1 [INFO] [stderr] Downloaded crypto-mac v0.11.1 [INFO] [stderr] Downloaded hmac v0.11.0 [INFO] [stderr] Downloaded rusoto_signature v0.48.0 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 049d4022ce26bb421243ec222b1e966a60d46de9bd603e085cba9aa666d9c4eb [INFO] running `Command { std: "docker" "start" "-a" "049d4022ce26bb421243ec222b1e966a60d46de9bd603e085cba9aa666d9c4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "049d4022ce26bb421243ec222b1e966a60d46de9bd603e085cba9aa666d9c4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049d4022ce26bb421243ec222b1e966a60d46de9bd603e085cba9aa666d9c4eb", kill_on_drop: false }` [INFO] [stdout] 049d4022ce26bb421243ec222b1e966a60d46de9bd603e085cba9aa666d9c4eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d149a20e56af5d52a1fbedcd0428ebec629af2da0e060adccc5b8f786523634 [INFO] running `Command { std: "docker" "start" "-a" "5d149a20e56af5d52a1fbedcd0428ebec629af2da0e060adccc5b8f786523634", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling rust_collector v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling widestring v1.2.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling duplicate v0.3.0 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bodyfile v0.1.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling cached_proc_macro v0.18.1 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ssh2 v0.9.5 [INFO] [stderr] Compiling cached v0.46.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.3.15 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rusoto_credential v0.48.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling rusoto_signature v0.48.0 [INFO] [stderr] Compiling rusoto_s3 v0.48.0 [INFO] [stdout] warning: struct `NoCompressionWriter` is never constructed [INFO] [stdout] --> src/utils/streaming_zip/helpers.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NoCompressionWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collect_processes` [INFO] [stdout] --> src/bin/benchmark.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | volatile::{collect_processes, collect_volatile_data}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_memory_collection` is never used [INFO] [stdout] --> src/bin/benchmark.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn benchmark_memory_collection(_test_dir: &Path, _rt: &Runtime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VolatileDataType` [INFO] [stdout] --> src/config/mod.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | ArtifactType, LinuxArtifactType, MacOSArtifactType, VolatileDataType, WindowsArtifactType, [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: `regex_config::RegexConfig` [INFO] [stdout] --> src/config/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub use regex_config::RegexConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enable_privileges` [INFO] [stdout] --> src/windows/mod.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | pub use mock_impl::{collect_with_raw_handle, enable_privileges}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_build_script` is never used [INFO] [stdout] --> src/build.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn generate_build_script( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_build_script` is never used [INFO] [stdout] --> src/build.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn execute_build_script(script_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_uploaded` is never read [INFO] [stdout] --> src/cloud/streaming.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct S3UploadStream { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | bytes_uploaded: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes_uploaded` and `abort` are never used [INFO] [stdout] --> src/cloud/streaming.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl S3UploadStream { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn bytes_uploaded(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn abort(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `concurrent_connections` is never read [INFO] [stdout] --> src/cloud/sftp.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SFTPConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub concurrent_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SFTPConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_to_sftp` is never used [INFO] [stdout] --> src/cloud/sftp.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | pub async fn upload_to_sftp(file_path: &Path, config: SFTPConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bytes_uploaded` is never used [INFO] [stdout] --> src/cloud/sftp_streaming.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl SFTPUploadStream { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn bytes_uploaded(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes_uploaded` and `abort` are never used [INFO] [stdout] --> src/cloud/streaming_target.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait StreamingTarget: AsyncWrite + Unpin + Send + 'static { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn bytes_uploaded(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | async fn abort(self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacOSCollector` is never constructed [INFO] [stdout] --> src/collectors/platforms/macos.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MacOSCollector { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/collectors/platforms/macos.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MacOSCollector { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn collect_unified_logs(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn collect_fsevents(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn collect_plist(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn collect_spotlight(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | fn collect_quarantine(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn collect_knowledgec(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn collect_launch_agents(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn collect_launch_daemons(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_volatile_data` is never used [INFO] [stdout] --> src/collectors/volatile/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn collect_volatile_data() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_processes` is never used [INFO] [stdout] --> src/collectors/volatile/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn collect_processes() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VolatileData` is never constructed [INFO] [stdout] --> src/collectors/volatile/models.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct VolatileData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_memory` and `dump_memory_region` are never used [INFO] [stdout] --> src/collectors/memory/collector.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl MemoryCollector { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn search_memory(&self, process: &ProcessInfo, pattern: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn dump_memory_region( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search_memory` is never used [INFO] [stdout] --> src/collectors/memory/platforms/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait MemoryCollectorImpl: Send + Sync { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn search_memory( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_regex_config` is never used [INFO] [stdout] --> src/collectors/regex/collector.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl RegexCollector { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn has_regex_config(artifact: &Artifact) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `failure_count` and `should_suggest_elevation` are never used [INFO] [stdout] --> src/collectors/permission_tracker.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl PermissionTracker { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn failure_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn should_suggest_elevation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MEMORY_REGION_SIZE` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MAX_MEMORY_REGION_SIZE: u64 = 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S3_MAX_PARTS` is never used [INFO] [stdout] --> src/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const S3_MAX_PARTS: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPLOAD_PROGRESS_INTERVAL_SECS` is never used [INFO] [stdout] --> src/constants.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const UPLOAD_PROGRESS_INTERVAL_SECS: u64 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_MEMORY_DUMP_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub const WINDOWS_MEMORY_DUMP_BUFFER: usize = 4 * 1024 * 1024; // 4MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_MFT_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub const WINDOWS_MFT_BUFFER: usize = 2 * 1024 * 1024; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_EVENT_LOG_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub const WINDOWS_EVENT_LOG_BUFFER: usize = 1 * 1024 * 1024; // 1MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_FILE_BUFFER_CAPACITY` is never used [INFO] [stdout] --> src/constants.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | pub const WINDOWS_FILE_BUFFER_CAPACITY: usize = 8 * 1024 * 1024; // 8MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACOS_TASK_DYLD_INFO_COUNT` is never used [INFO] [stdout] --> src/constants.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub const MACOS_TASK_DYLD_INFO_COUNT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_SESSION` is never used [INFO] [stdout] --> src/constants.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub const ERROR_FAILED_TO_CREATE_SESSION: &str = "Failed to create SSH session"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_SFTP` is never used [INFO] [stdout] --> src/constants.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub const ERROR_FAILED_TO_CREATE_SFTP: &str = "Failed to create SFTP subsystem"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_S3_STREAM` is never used [INFO] [stdout] --> src/constants.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | pub const ERROR_FAILED_TO_CREATE_S3_STREAM: &str = "Failed to create S3 upload stream"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_UPLOAD` is never used [INFO] [stdout] --> src/constants.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | pub const ERROR_FAILED_TO_UPLOAD: &str = "Failed to upload file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_COMPRESS` is never used [INFO] [stdout] --> src/constants.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub const ERROR_FAILED_TO_COMPRESS: &str = "Failed to compress file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_READ_FILE` is never used [INFO] [stdout] --> src/constants.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | pub const ERROR_FAILED_TO_READ_FILE: &str = "Failed to read file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_WRITE_FILE` is never used [INFO] [stdout] --> src/constants.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | pub const ERROR_FAILED_TO_WRITE_FILE: &str = "Failed to write file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_AUTHENTICATION_FAILED` is never used [INFO] [stdout] --> src/constants.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | pub const ERROR_AUTHENTICATION_FAILED: &str = "Authentication failed"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_PATH` is never used [INFO] [stdout] --> src/constants.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | pub const SYS_PATH: &str = "/sys"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEV_PATH` is never used [INFO] [stdout] --> src/constants.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | pub const DEV_PATH: &str = "/dev"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXECUTABLE_EXTENSIONS` is never used [INFO] [stdout] --> src/constants.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub const EXECUTABLE_EXTENSIONS: &[&str] = &["exe", "dll", "so", "dylib"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_FILE_EXTENSIONS` is never used [INFO] [stdout] --> src/constants.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub const LOG_FILE_EXTENSIONS: &[&str] = &["log", "txt", "csv"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OUTPUT_NAME` is never used [INFO] [stdout] --> src/constants.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | pub const DEFAULT_OUTPUT_NAME: &str = "collected_artifacts.zip"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MEMORY_DUMP_NAME` is never used [INFO] [stdout] --> src/constants.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub const DEFAULT_MEMORY_DUMP_NAME: &str = "memory_dump.bin"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_VOLATILE_DATA_NAME` is never used [INFO] [stdout] --> src/constants.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | pub const DEFAULT_VOLATILE_DATA_NAME: &str = "volatile_data.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zip_file` is never used [INFO] [stdout] --> src/utils/compress.rs:664:8 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn create_zip_file(source_dir: &Path, dest_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoCompressionWriter` is never constructed [INFO] [stdout] --> src/utils/streaming_zip/helpers.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NoCompressionWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header_size` is never read [INFO] [stdout] --> src/utils/streaming_zip/writer.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct StreamingFileWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | pub header_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "5d149a20e56af5d52a1fbedcd0428ebec629af2da0e060adccc5b8f786523634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d149a20e56af5d52a1fbedcd0428ebec629af2da0e060adccc5b8f786523634", kill_on_drop: false }` [INFO] [stdout] 5d149a20e56af5d52a1fbedcd0428ebec629af2da0e060adccc5b8f786523634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15b056da91e9508589c8c64a76aa8f7696f2fae3b70277c689135b5e43cfbe50 [INFO] running `Command { std: "docker" "start" "-a" "15b056da91e9508589c8c64a76aa8f7696f2fae3b70277c689135b5e43cfbe50", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ssh2 v0.9.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.3.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rusoto_credential v0.48.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling rusoto_signature v0.48.0 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Compiling rusoto_s3 v0.48.0 [INFO] [stderr] Compiling rust_collector v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/collectors/streaming/s3.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | use std::fs; [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: `tempfile::TempDir` [INFO] [stdout] --> src/collectors/streaming/s3.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicUsize` [INFO] [stdout] --> src/cloud/streaming.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | use std::sync::atomic::AtomicUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/cloud/streaming.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/test_utils/mod.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoCompressionWriter` is never constructed [INFO] [stdout] --> src/utils/streaming_zip/helpers.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NoCompressionWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracker` [INFO] [stdout] --> src/collectors/streaming/core.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let tracker = ProgressTracker::new(1000, bytes_uploaded.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collect_processes` [INFO] [stdout] --> src/bin/benchmark.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | volatile::{collect_processes, collect_volatile_data}, [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: `collect_processes` [INFO] [stdout] --> src/bin/benchmark.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | volatile::{collect_processes, collect_volatile_data}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_memory_collection` is never used [INFO] [stdout] --> src/bin/benchmark.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn benchmark_memory_collection(_test_dir: &Path, _rt: &Runtime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark_memory_collection` is never used [INFO] [stdout] --> src/bin/benchmark.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn benchmark_memory_collection(_test_dir: &Path, _rt: &Runtime) -> Result { [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 `NoCompressionWriter` is never constructed [INFO] [stdout] --> src/utils/streaming_zip/helpers.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NoCompressionWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_completed` and `is_aborted` are never used [INFO] [stdout] --> src/cloud/streaming_target.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl MockStreamingTarget { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn is_aborted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/collectors/volatile/collector.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | assert!(summary.network_interface_count >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/collectors/volatile/collector.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | assert!(summary.disk_count >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicUsize` [INFO] [stdout] --> src/cloud/streaming.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | use std::sync::atomic::AtomicUsize; [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: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/cloud/streaming.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/collectors/streaming/s3.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/collectors/streaming/s3.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enable_privileges` [INFO] [stdout] --> src/windows/mod.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | pub use mock_impl::{collect_with_raw_handle, enable_privileges}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/test_utils/mod.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VolatileDataType` [INFO] [stdout] --> src/config/mod.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | ArtifactType, LinuxArtifactType, MacOSArtifactType, VolatileDataType, WindowsArtifactType, [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: `regex_config::RegexConfig` [INFO] [stdout] --> src/config/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub use regex_config::RegexConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enable_privileges` [INFO] [stdout] --> src/windows/mod.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | pub use mock_impl::{collect_with_raw_handle, enable_privileges}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_collector` (lib test); 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/bin/rustc --crate-name rust_collector --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "embed_config", "linux_memory", "macos_memory", "memory_collection", "windows_memory", "yara"))' -C metadata=8921d57261d3b0f3 -C extra-filename=-a59877fd4c490031 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-1062fd8720902979.rlib --extern async_compression=/opt/rustwide/target/debug/deps/libasync_compression-3c59735795c0052a.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c540ec82740b4fcc.so --extern bodyfile=/opt/rustwide/target/debug/deps/libbodyfile-b4eec2dc0b152cff.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern cached=/opt/rustwide/target/debug/deps/libcached-714840e62010b9f8.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-7a6dbf5ab999ed1e.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-813e6706bfe507ea.rlib --extern crc32fast=/opt/rustwide/target/debug/deps/libcrc32fast-84583fa265e26206.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-4f8d66291073988a.rlib --extern crossbeam=/opt/rustwide/target/debug/deps/libcrossbeam-e685103712c0f6dc.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-945af1ae51957e24.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-e8f3cdd99bbe69d8.rlib --extern hostname=/opt/rustwide/target/debug/deps/libhostname-1a3f01d6176df5bb.rlib --extern include_dir=/opt/rustwide/target/debug/deps/libinclude_dir-f701da9e6f096c27.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b3603208c0de2608.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-4a513ea0f2e1d0e2.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-ba604b77dad33fe2.rlib --extern mockall=/opt/rustwide/target/debug/deps/libmockall-762186d2a089cc57.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-876aa30de3b0f56d.rlib --extern openssl=/opt/rustwide/target/debug/deps/libopenssl-4e36013d41b0d150.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-db9aa992404b1398.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-8c9c043f71b8b9db.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-8472ba6b36f0fffa.rlib --extern rusoto_core=/opt/rustwide/target/debug/deps/librusoto_core-0316a724ccc025a7.rlib --extern rusoto_credential=/opt/rustwide/target/debug/deps/librusoto_credential-6732e3dbd63210f8.rlib --extern rusoto_s3=/opt/rustwide/target/debug/deps/librusoto_s3-f8db5d194e981358.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-c66c9e16012ec348.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-8a8534c2b0330e03.rlib --extern serde_yaml=/opt/rustwide/target/debug/deps/libserde_yaml-1038377023c8cf7f.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-2594d957a8108890.rlib --extern simplelog=/opt/rustwide/target/debug/deps/libsimplelog-09b05397d40bcadf.rlib --extern ssh2=/opt/rustwide/target/debug/deps/libssh2-e9677aeee9a27d19.rlib --extern sysinfo=/opt/rustwide/target/debug/deps/libsysinfo-659a35167a5bd125.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-cdcc63e57b9abd83.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-63693b045371e431.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-2bdca8d5e05781b4.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-eee8c2059f2852da.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-cc0265757dade7f5.rlib --extern walkdir=/opt/rustwide/target/debug/deps/libwalkdir-1a00c768f8c7f3de.rlib --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-701a6875bb1fd8f8.rlib --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-31025cade79c13e0.rlib --extern zip=/opt/rustwide/target/debug/deps/libzip-e0b4d8e6a55deb33.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/libssh2-sys-346a5156f0e206bc/out/build -L native=/opt/rustwide/target/debug/build/bzip2-sys-7bdf2eb71e44f50b/out/lib -L native=/opt/rustwide/target/debug/build/zstd-sys-900c4b9875305875/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `generate_build_script` is never used [INFO] [stdout] --> src/build.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn generate_build_script( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_build_script` is never used [INFO] [stdout] --> src/build.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn execute_build_script(script_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_uploaded` is never read [INFO] [stdout] --> src/cloud/streaming.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct S3UploadStream { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | bytes_uploaded: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes_uploaded` and `abort` are never used [INFO] [stdout] --> src/cloud/streaming.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl S3UploadStream { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn bytes_uploaded(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn abort(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `concurrent_connections` is never read [INFO] [stdout] --> src/cloud/sftp.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SFTPConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub concurrent_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SFTPConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_to_sftp` is never used [INFO] [stdout] --> src/cloud/sftp.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | pub async fn upload_to_sftp(file_path: &Path, config: SFTPConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bytes_uploaded` is never used [INFO] [stdout] --> src/cloud/sftp_streaming.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl SFTPUploadStream { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn bytes_uploaded(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bytes_uploaded` and `abort` are never used [INFO] [stdout] --> src/cloud/streaming_target.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait StreamingTarget: AsyncWrite + Unpin + Send + 'static { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn bytes_uploaded(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | async fn abort(self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MacOSCollector` is never constructed [INFO] [stdout] --> src/collectors/platforms/macos.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MacOSCollector { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/collectors/platforms/macos.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MacOSCollector { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn collect_unified_logs(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn collect_fsevents(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn collect_plist(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn collect_spotlight(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | fn collect_quarantine(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn collect_knowledgec(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn collect_launch_agents(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn collect_launch_daemons(&self, source: &Path, dest: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_volatile_data` is never used [INFO] [stdout] --> src/collectors/volatile/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn collect_volatile_data() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_processes` is never used [INFO] [stdout] --> src/collectors/volatile/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn collect_processes() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VolatileData` is never constructed [INFO] [stdout] --> src/collectors/volatile/models.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct VolatileData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_memory` and `dump_memory_region` are never used [INFO] [stdout] --> src/collectors/memory/collector.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl MemoryCollector { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn search_memory(&self, process: &ProcessInfo, pattern: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn dump_memory_region( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search_memory` is never used [INFO] [stdout] --> src/collectors/memory/platforms/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait MemoryCollectorImpl: Send + Sync { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn search_memory( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `has_regex_config` is never used [INFO] [stdout] --> src/collectors/regex/collector.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl RegexCollector { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn has_regex_config(artifact: &Artifact) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `failure_count` and `should_suggest_elevation` are never used [INFO] [stdout] --> src/collectors/permission_tracker.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl PermissionTracker { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn failure_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn should_suggest_elevation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MEMORY_REGION_SIZE` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MAX_MEMORY_REGION_SIZE: u64 = 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S3_MAX_PARTS` is never used [INFO] [stdout] --> src/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const S3_MAX_PARTS: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPLOAD_PROGRESS_INTERVAL_SECS` is never used [INFO] [stdout] --> src/constants.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const UPLOAD_PROGRESS_INTERVAL_SECS: u64 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_MEMORY_DUMP_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub const WINDOWS_MEMORY_DUMP_BUFFER: usize = 4 * 1024 * 1024; // 4MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_MFT_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub const WINDOWS_MFT_BUFFER: usize = 2 * 1024 * 1024; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_EVENT_LOG_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub const WINDOWS_EVENT_LOG_BUFFER: usize = 1 * 1024 * 1024; // 1MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_FILE_BUFFER_CAPACITY` is never used [INFO] [stdout] --> src/constants.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | pub const WINDOWS_FILE_BUFFER_CAPACITY: usize = 8 * 1024 * 1024; // 8MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACOS_TASK_DYLD_INFO_COUNT` is never used [INFO] [stdout] --> src/constants.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub const MACOS_TASK_DYLD_INFO_COUNT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_SESSION` is never used [INFO] [stdout] --> src/constants.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub const ERROR_FAILED_TO_CREATE_SESSION: &str = "Failed to create SSH session"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_SFTP` is never used [INFO] [stdout] --> src/constants.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub const ERROR_FAILED_TO_CREATE_SFTP: &str = "Failed to create SFTP subsystem"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_S3_STREAM` is never used [INFO] [stdout] --> src/constants.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | pub const ERROR_FAILED_TO_CREATE_S3_STREAM: &str = "Failed to create S3 upload stream"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_UPLOAD` is never used [INFO] [stdout] --> src/constants.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | pub const ERROR_FAILED_TO_UPLOAD: &str = "Failed to upload file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_COMPRESS` is never used [INFO] [stdout] --> src/constants.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub const ERROR_FAILED_TO_COMPRESS: &str = "Failed to compress file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_READ_FILE` is never used [INFO] [stdout] --> src/constants.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | pub const ERROR_FAILED_TO_READ_FILE: &str = "Failed to read file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_WRITE_FILE` is never used [INFO] [stdout] --> src/constants.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | pub const ERROR_FAILED_TO_WRITE_FILE: &str = "Failed to write file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_AUTHENTICATION_FAILED` is never used [INFO] [stdout] --> src/constants.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | pub const ERROR_AUTHENTICATION_FAILED: &str = "Authentication failed"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_PATH` is never used [INFO] [stdout] --> src/constants.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | pub const SYS_PATH: &str = "/sys"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEV_PATH` is never used [INFO] [stdout] --> src/constants.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | pub const DEV_PATH: &str = "/dev"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXECUTABLE_EXTENSIONS` is never used [INFO] [stdout] --> src/constants.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub const EXECUTABLE_EXTENSIONS: &[&str] = &["exe", "dll", "so", "dylib"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_FILE_EXTENSIONS` is never used [INFO] [stdout] --> src/constants.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub const LOG_FILE_EXTENSIONS: &[&str] = &["log", "txt", "csv"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OUTPUT_NAME` is never used [INFO] [stdout] --> src/constants.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | pub const DEFAULT_OUTPUT_NAME: &str = "collected_artifacts.zip"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MEMORY_DUMP_NAME` is never used [INFO] [stdout] --> src/constants.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub const DEFAULT_MEMORY_DUMP_NAME: &str = "memory_dump.bin"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_VOLATILE_DATA_NAME` is never used [INFO] [stdout] --> src/constants.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | pub const DEFAULT_VOLATILE_DATA_NAME: &str = "volatile_data.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zip_file` is never used [INFO] [stdout] --> src/utils/compress.rs:664:8 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn create_zip_file(source_dir: &Path, dest_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoCompressionWriter` is never constructed [INFO] [stdout] --> src/utils/streaming_zip/helpers.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NoCompressionWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header_size` is never read [INFO] [stdout] --> src/utils/streaming_zip/writer.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct StreamingFileWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | pub header_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracker` [INFO] [stdout] --> src/collectors/streaming/core.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let tracker = ProgressTracker::new(1000, bytes_uploaded.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_collector` (bin "rust_collector"); 46 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/caccb4d0368bd918ef6668af8e13834d07040417/bin/rustc --crate-name rust_collector --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "embed_config", "linux_memory", "macos_memory", "memory_collection", "windows_memory", "yara"))' -C metadata=acab79e9256af5b9 -C extra-filename=-18d34b02f61e851b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-1062fd8720902979.rlib --extern async_compression=/opt/rustwide/target/debug/deps/libasync_compression-3c59735795c0052a.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c540ec82740b4fcc.so --extern bodyfile=/opt/rustwide/target/debug/deps/libbodyfile-b4eec2dc0b152cff.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern cached=/opt/rustwide/target/debug/deps/libcached-714840e62010b9f8.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-7a6dbf5ab999ed1e.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-813e6706bfe507ea.rlib --extern crc32fast=/opt/rustwide/target/debug/deps/libcrc32fast-84583fa265e26206.rlib --extern crossbeam=/opt/rustwide/target/debug/deps/libcrossbeam-e685103712c0f6dc.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-945af1ae51957e24.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-e8f3cdd99bbe69d8.rlib --extern hostname=/opt/rustwide/target/debug/deps/libhostname-1a3f01d6176df5bb.rlib --extern include_dir=/opt/rustwide/target/debug/deps/libinclude_dir-f701da9e6f096c27.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b3603208c0de2608.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-4a513ea0f2e1d0e2.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-ba604b77dad33fe2.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-876aa30de3b0f56d.rlib --extern openssl=/opt/rustwide/target/debug/deps/libopenssl-4e36013d41b0d150.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-8c9c043f71b8b9db.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-8472ba6b36f0fffa.rlib --extern rusoto_core=/opt/rustwide/target/debug/deps/librusoto_core-0316a724ccc025a7.rlib --extern rusoto_credential=/opt/rustwide/target/debug/deps/librusoto_credential-6732e3dbd63210f8.rlib --extern rusoto_s3=/opt/rustwide/target/debug/deps/librusoto_s3-f8db5d194e981358.rlib --extern rust_collector=/opt/rustwide/target/debug/deps/librust_collector-8612159a381fe549.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-c66c9e16012ec348.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-8a8534c2b0330e03.rlib --extern serde_yaml=/opt/rustwide/target/debug/deps/libserde_yaml-1038377023c8cf7f.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-2594d957a8108890.rlib --extern simplelog=/opt/rustwide/target/debug/deps/libsimplelog-09b05397d40bcadf.rlib --extern ssh2=/opt/rustwide/target/debug/deps/libssh2-e9677aeee9a27d19.rlib --extern sysinfo=/opt/rustwide/target/debug/deps/libsysinfo-659a35167a5bd125.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-63693b045371e431.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-eee8c2059f2852da.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-cc0265757dade7f5.rlib --extern walkdir=/opt/rustwide/target/debug/deps/libwalkdir-1a00c768f8c7f3de.rlib --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-701a6875bb1fd8f8.rlib --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-31025cade79c13e0.rlib --extern zip=/opt/rustwide/target/debug/deps/libzip-e0b4d8e6a55deb33.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/libssh2-sys-346a5156f0e206bc/out/build -L native=/opt/rustwide/target/debug/build/bzip2-sys-7bdf2eb71e44f50b/out/lib -L native=/opt/rustwide/target/debug/build/zstd-sys-900c4b9875305875/out` (signal: 9, SIGKILL: kill) [INFO] [stdout] warning: function `generate_build_script` is never used [INFO] [stdout] --> src/build.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn generate_build_script( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_build_script` is never used [INFO] [stdout] --> src/build.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn execute_build_script(script_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bytes_uploaded` is never used [INFO] [stdout] --> src/cloud/streaming.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl S3UploadStream { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn bytes_uploaded(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_to_sftp` is never used [INFO] [stdout] --> src/cloud/sftp.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | pub async fn upload_to_sftp(file_path: &Path, config: SFTPConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bytes_uploaded` is never used [INFO] [stdout] --> src/cloud/sftp_streaming.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl SFTPUploadStream { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn bytes_uploaded(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_completed` and `is_aborted` are never used [INFO] [stdout] --> src/cloud/streaming_target.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl MockStreamingTarget { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn is_aborted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_volatile_data` is never used [INFO] [stdout] --> src/collectors/volatile/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn collect_volatile_data() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_processes` is never used [INFO] [stdout] --> src/collectors/volatile/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn collect_processes() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VolatileData` is never constructed [INFO] [stdout] --> src/collectors/volatile/models.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct VolatileData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_memory` and `dump_memory_region` are never used [INFO] [stdout] --> src/collectors/memory/collector.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl MemoryCollector { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn search_memory(&self, process: &ProcessInfo, pattern: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn dump_memory_region( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search_memory` is never used [INFO] [stdout] --> src/collectors/memory/platforms/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait MemoryCollectorImpl: Send + Sync { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn search_memory( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MEMORY_REGION_SIZE` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MAX_MEMORY_REGION_SIZE: u64 = 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S3_MAX_PARTS` is never used [INFO] [stdout] --> src/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const S3_MAX_PARTS: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPLOAD_PROGRESS_INTERVAL_SECS` is never used [INFO] [stdout] --> src/constants.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const UPLOAD_PROGRESS_INTERVAL_SECS: u64 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_MEMORY_DUMP_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub const WINDOWS_MEMORY_DUMP_BUFFER: usize = 4 * 1024 * 1024; // 4MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_MFT_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub const WINDOWS_MFT_BUFFER: usize = 2 * 1024 * 1024; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_EVENT_LOG_BUFFER` is never used [INFO] [stdout] --> src/constants.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub const WINDOWS_EVENT_LOG_BUFFER: usize = 1 * 1024 * 1024; // 1MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WINDOWS_FILE_BUFFER_CAPACITY` is never used [INFO] [stdout] --> src/constants.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | pub const WINDOWS_FILE_BUFFER_CAPACITY: usize = 8 * 1024 * 1024; // 8MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACOS_TASK_DYLD_INFO_COUNT` is never used [INFO] [stdout] --> src/constants.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub const MACOS_TASK_DYLD_INFO_COUNT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_SESSION` is never used [INFO] [stdout] --> src/constants.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub const ERROR_FAILED_TO_CREATE_SESSION: &str = "Failed to create SSH session"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_SFTP` is never used [INFO] [stdout] --> src/constants.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub const ERROR_FAILED_TO_CREATE_SFTP: &str = "Failed to create SFTP subsystem"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_CREATE_S3_STREAM` is never used [INFO] [stdout] --> src/constants.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | pub const ERROR_FAILED_TO_CREATE_S3_STREAM: &str = "Failed to create S3 upload stream"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_UPLOAD` is never used [INFO] [stdout] --> src/constants.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | pub const ERROR_FAILED_TO_UPLOAD: &str = "Failed to upload file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_COMPRESS` is never used [INFO] [stdout] --> src/constants.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub const ERROR_FAILED_TO_COMPRESS: &str = "Failed to compress file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_READ_FILE` is never used [INFO] [stdout] --> src/constants.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | pub const ERROR_FAILED_TO_READ_FILE: &str = "Failed to read file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_FAILED_TO_WRITE_FILE` is never used [INFO] [stdout] --> src/constants.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | pub const ERROR_FAILED_TO_WRITE_FILE: &str = "Failed to write file"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERROR_AUTHENTICATION_FAILED` is never used [INFO] [stdout] --> src/constants.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | pub const ERROR_AUTHENTICATION_FAILED: &str = "Authentication failed"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_PATH` is never used [INFO] [stdout] --> src/constants.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | pub const SYS_PATH: &str = "/sys"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEV_PATH` is never used [INFO] [stdout] --> src/constants.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | pub const DEV_PATH: &str = "/dev"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXECUTABLE_EXTENSIONS` is never used [INFO] [stdout] --> src/constants.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | pub const EXECUTABLE_EXTENSIONS: &[&str] = &["exe", "dll", "so", "dylib"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_FILE_EXTENSIONS` is never used [INFO] [stdout] --> src/constants.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub const LOG_FILE_EXTENSIONS: &[&str] = &["log", "txt", "csv"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OUTPUT_NAME` is never used [INFO] [stdout] --> src/constants.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | pub const DEFAULT_OUTPUT_NAME: &str = "collected_artifacts.zip"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MEMORY_DUMP_NAME` is never used [INFO] [stdout] --> src/constants.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | pub const DEFAULT_MEMORY_DUMP_NAME: &str = "memory_dump.bin"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_VOLATILE_DATA_NAME` is never used [INFO] [stdout] --> src/constants.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | pub const DEFAULT_VOLATILE_DATA_NAME: &str = "volatile_data.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TOTAL_MEMORY` is never used [INFO] [stdout] --> src/constants.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | pub const TEST_TOTAL_MEMORY: u64 = 8 * 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_USED_MEMORY` is never used [INFO] [stdout] --> src/constants.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | pub const TEST_USED_MEMORY: u64 = 4 * 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TOTAL_SWAP` is never used [INFO] [stdout] --> src/constants.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | pub const TEST_TOTAL_SWAP: u64 = 2 * 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_USED_SWAP` is never used [INFO] [stdout] --> src/constants.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | pub const TEST_USED_SWAP: u64 = 512 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TOTAL_DISK_SPACE` is never used [INFO] [stdout] --> src/constants.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | pub const TEST_TOTAL_DISK_SPACE: u64 = 100 * 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_AVAILABLE_DISK_SPACE` is never used [INFO] [stdout] --> src/constants.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | pub const TEST_AVAILABLE_DISK_SPACE: u64 = 50 * 1024 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_DATA_SIZE` is never used [INFO] [stdout] --> src/constants.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | pub const TEST_DATA_SIZE: usize = 2 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zip_file` is never used [INFO] [stdout] --> src/utils/compress.rs:664:8 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn create_zip_file(source_dir: &Path, dest_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoCompressionWriter` is never constructed [INFO] [stdout] --> src/utils/streaming_zip/helpers.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NoCompressionWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header_size` is never read [INFO] [stdout] --> src/utils/streaming_zip/writer.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct StreamingFileWriter<'a, W: AsyncWrite + Unpin> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | pub header_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_temp_dir` is never used [INFO] [stdout] --> src/test_utils/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_temp_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_temp_file` is never used [INFO] [stdout] --> src/test_utils/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_temp_file(content: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_file_structure` is never used [INFO] [stdout] --> src/test_utils/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn create_test_file_structure() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_config` is never used [INFO] [stdout] --> src/test_utils/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create_test_config() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_DATA_SIZE` is never used [INFO] [stdout] --> src/test_utils/mod.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | const TEST_DATA_SIZE: u64 = 2 * 1024 * 1024; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TOTAL_MEMORY` is never used [INFO] [stdout] --> src/test_utils/mod.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | const TEST_TOTAL_MEMORY: u64 = 8 * 1024 * 1024 * 1024; // 8GB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_USED_MEMORY` is never used [INFO] [stdout] --> src/test_utils/mod.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | const TEST_USED_MEMORY: u64 = 4 * 1024 * 1024 * 1024; // 4GB [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TOTAL_SWAP` is never used [INFO] [stdout] --> src/test_utils/mod.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | const TEST_TOTAL_SWAP: u64 = 2 * 1024 * 1024 * 1024; // 2GB [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_USED_SWAP` is never used [INFO] [stdout] --> src/test_utils/mod.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | const TEST_USED_SWAP: u64 = 512 * 1024 * 1024; // 512MB [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TOTAL_DISK_SPACE` is never used [INFO] [stdout] --> src/test_utils/mod.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | const TEST_TOTAL_DISK_SPACE: u64 = 100 * 1024 * 1024 * 1024; // 100GB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_AVAILABLE_DISK_SPACE` is never used [INFO] [stdout] --> src/test_utils/mod.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | const TEST_AVAILABLE_DISK_SPACE: u64 = 50 * 1024 * 1024 * 1024; // 50GB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_artifact_metadata` is never used [INFO] [stdout] --> src/test_utils/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn test_artifact_metadata(path: &str) -> ArtifactMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_system_info` is never used [INFO] [stdout] --> src/test_utils/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn test_system_info() -> SystemInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_process_info` is never used [INFO] [stdout] --> src/test_utils/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn test_process_info(pid: u32, name: &str) -> ProcessInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_network_info` is never used [INFO] [stdout] --> src/test_utils/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn test_network_info() -> NetworkInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_memory_info` is never used [INFO] [stdout] --> src/test_utils/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn test_memory_info() -> MemoryInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_disk_info` is never used [INFO] [stdout] --> src/test_utils/mod.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn test_disk_info() -> DiskInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_artifact_metadata` is never used [INFO] [stdout] --> src/test_utils/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn assert_artifact_metadata(metadata: &ArtifactMetadata, path: &str, size: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/collectors/volatile/collector.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | assert!(summary.network_interface_count >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/collectors/volatile/collector.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | assert!(summary.disk_count >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "15b056da91e9508589c8c64a76aa8f7696f2fae3b70277c689135b5e43cfbe50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b056da91e9508589c8c64a76aa8f7696f2fae3b70277c689135b5e43cfbe50", kill_on_drop: false }` [INFO] [stdout] 15b056da91e9508589c8c64a76aa8f7696f2fae3b70277c689135b5e43cfbe50