[INFO] cloning repository https://github.com/marcos9801/monitor_sistema_mcv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcos9801/monitor_sistema_mcv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcos9801%2Fmonitor_sistema_mcv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcos9801%2Fmonitor_sistema_mcv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 178cbf4cd05de26dfbfaa223a0ce54109edcad44 [INFO] testing marcos9801/monitor_sistema_mcv against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcos9801%2Fmonitor_sistema_mcv" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcos9801/monitor_sistema_mcv [INFO] finished tweaking git repo https://github.com/marcos9801/monitor_sistema_mcv [INFO] tweaked toml for git repo https://github.com/marcos9801/monitor_sistema_mcv written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcos9801/monitor_sistema_mcv on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest Rust 1.96.0-nightly compatible versions [INFO] [stderr] Adding chrono-tz v0.8.6 (available: v0.10.4) [INFO] [stderr] Adding ipnetwork v0.20.0 (available: v0.21.1) [INFO] [stderr] Adding sysinfo v0.34.2 (available: v0.38.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20e78ca7422200f9a6ee20facb612c86c26076e398d8f8904604bb7e679d997a [INFO] running `Command { std: "docker" "start" "-a" "20e78ca7422200f9a6ee20facb612c86c26076e398d8f8904604bb7e679d997a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e78ca7422200f9a6ee20facb612c86c26076e398d8f8904604bb7e679d997a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e78ca7422200f9a6ee20facb612c86c26076e398d8f8904604bb7e679d997a", kill_on_drop: false }` [INFO] [stdout] 20e78ca7422200f9a6ee20facb612c86c26076e398d8f8904604bb7e679d997a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e72e02f7a69d03adf152ade884f30881c68bf36005aa0665dcc2bc0d41af615e [INFO] running `Command { std: "docker" "start" "-a" "e72e02f7a69d03adf152ade884f30881c68bf36005aa0665dcc2bc0d41af615e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling sysinfo v0.34.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling monitor_sistema_mcv v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IpNetwork` [INFO] [stdout] --> src/core/interfaces.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | use sysinfo::{Networks, IpNetwork}; [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: `Pid` [INFO] [stdout] --> src/core/procesos.rs:54:62 [INFO] [stdout] | [INFO] [stdout] 54 | use sysinfo::{ProcessesToUpdate, ProcessRefreshKind, System, Pid}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::Tz` [INFO] [stdout] --> src/output/log.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use chrono_tz::Tz; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `exportar_cpu_json`, `exportar_discos_json`, `exportar_interfaces_json`, `exportar_memoria_json`, and `exportar_procesos_json` [INFO] [stdout] --> src/output/log.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | exportar_procesos_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | exportar_interfaces_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | exportar_discos_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | exportar_memoria_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | exportar_cpu_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Commands` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use cli::{Cli, Commands}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fecha` [INFO] [stdout] --> src/output/log.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let fecha = fecha_hora.format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fecha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_memoria_total_sistema` is never used [INFO] [stdout] --> src/core/memoria.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl MemoriaInfo { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_memoria_total_sistema(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_disco` is never used [INFO] [stdout] --> src/core/disco.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl DiscosInfo { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_disco(&self, index: usize) -> &DiscoInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mtu` and `get_interfaz` are never used [INFO] [stdout] --> src/core/interfaces.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl InterfacesInfo { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn get_mtu(&self) -> u64 { self.total_mtu } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_interfaz(&self, index: u64) -> &InterfaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/interfaces.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl InterfaceInfo { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_nombre(&self) -> &String { &self.nombre } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn get_bytes_recibidos(&self) -> u64 { self.bytes_recibidos } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn get_bytes_enviados(&self) -> u64 { self.bytes_enviados } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn get_numero_paquetes_recibidos(&self) -> u64 { self.numero_paquetes_recibidos } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn get_numero_paquetes_enviados(&self) -> u64 { self.numero_paquetes_enviados } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn get_total_errores(&self) -> u64 { self.total_errores } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn get_total_errores_recibidos(&self) -> u64 { self.total_errores_recibidos } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn get_total_errores_enviados(&self) -> u64 { self.total_errores_enviados } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get_direccion_ip(&self) -> &Vec { &self.direccion_ip } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn get_direccion_mac(&self) -> &String { &self.direccion_mac } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn get_mtu(&self) -> u64 { self.mtu } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_procesos` and `get_proceso` are never used [INFO] [stdout] --> src/core/procesos.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl ProcesosInfo{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_procesos(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_proceso(&self, index: usize) -> &ProcesoInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/procesos.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 202 | impl ProcesoInfo{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn get_pid(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_nombre(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_tiempo_ejecucion(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_tiempo_en_cpu(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn get_uso_cpu(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn get_uso_memoria(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn get_uso_memoria_virtual(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn get_estado(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn formatear_tiempo(segundos: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.76s [INFO] running `Command { std: "docker" "inspect" "e72e02f7a69d03adf152ade884f30881c68bf36005aa0665dcc2bc0d41af615e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72e02f7a69d03adf152ade884f30881c68bf36005aa0665dcc2bc0d41af615e", kill_on_drop: false }` [INFO] [stdout] e72e02f7a69d03adf152ade884f30881c68bf36005aa0665dcc2bc0d41af615e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb9143d86ed7932cb061ec759e2796eeff8e79a36128f4ab6b2d3f2d90f6eac0 [INFO] running `Command { std: "docker" "start" "-a" "fb9143d86ed7932cb061ec759e2796eeff8e79a36128f4ab6b2d3f2d90f6eac0", kill_on_drop: false }` [INFO] [stderr] Compiling monitor_sistema_mcv v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IpNetwork` [INFO] [stdout] --> src/core/interfaces.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | use sysinfo::{Networks, IpNetwork}; [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: `Pid` [INFO] [stdout] --> src/core/procesos.rs:54:62 [INFO] [stdout] | [INFO] [stdout] 54 | use sysinfo::{ProcessesToUpdate, ProcessRefreshKind, System, Pid}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::Tz` [INFO] [stdout] --> src/output/log.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use chrono_tz::Tz; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `exportar_cpu_json`, `exportar_discos_json`, `exportar_interfaces_json`, `exportar_memoria_json`, and `exportar_procesos_json` [INFO] [stdout] --> src/output/log.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | exportar_procesos_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | exportar_interfaces_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | exportar_discos_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | exportar_memoria_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | exportar_cpu_json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Commands` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use cli::{Cli, Commands}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(cpu.get_temperatura() > 0.0, "La temperatura del CPU debería ser mayor que 0."); [INFO] [stdout] | ^^^ expected `&Vec`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fecha` [INFO] [stdout] --> src/output/log.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let fecha = fecha_hora.format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fecha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monitor_sistema_mcv` (bin "monitor_sistema_mcv" test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb9143d86ed7932cb061ec759e2796eeff8e79a36128f4ab6b2d3f2d90f6eac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9143d86ed7932cb061ec759e2796eeff8e79a36128f4ab6b2d3f2d90f6eac0", kill_on_drop: false }` [INFO] [stdout] fb9143d86ed7932cb061ec759e2796eeff8e79a36128f4ab6b2d3f2d90f6eac0