[INFO] cloning repository https://github.com/welbymcroberts/routeros_exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/welbymcroberts/routeros_exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwelbymcroberts%2Frouteros_exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwelbymcroberts%2Frouteros_exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f7c59cdb3d921ed9c75b4faa7c19113a3a9c503 [INFO] testing welbymcroberts/routeros_exporter against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwelbymcroberts%2Frouteros_exporter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/welbymcroberts/routeros_exporter [INFO] finished tweaking git repo https://github.com/welbymcroberts/routeros_exporter [INFO] tweaked toml for git repo https://github.com/welbymcroberts/routeros_exporter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/welbymcroberts/routeros_exporter on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/welbymcroberts/routeros_exporter 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a149c594cab134770038dd645a50867977e0717f7644f2069495b63f39a5417 [INFO] running `Command { std: "docker" "start" "-a" "2a149c594cab134770038dd645a50867977e0717f7644f2069495b63f39a5417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a149c594cab134770038dd645a50867977e0717f7644f2069495b63f39a5417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a149c594cab134770038dd645a50867977e0717f7644f2069495b63f39a5417", kill_on_drop: false }` [INFO] [stdout] 2a149c594cab134770038dd645a50867977e0717f7644f2069495b63f39a5417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fa43bd2c4b5acea588632f16887a79787084e679519d127515bdda661cf3c81 [INFO] running `Command { std: "docker" "start" "-a" "4fa43bd2c4b5acea588632f16887a79787084e679519d127515bdda661cf3c81", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling headers v0.3.6 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde-aux v3.0.1 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.3 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling routeros_exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [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: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/collectors/system_health.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/system_health.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/system_health.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/system_health.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `status` is never read [INFO] [stdout] --> src/collectors/interfaces_poe.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | let mut status: u8 = 255; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/system_health.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/system_health.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/collectors/system_health.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/collectors/system_health.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let mut value = ""; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [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: `Collectors` [INFO] [stdout] --> src/main.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | use routeros_exporter::configuration::{Collectors, get_configuration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4fa43bd2c4b5acea588632f16887a79787084e679519d127515bdda661cf3c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa43bd2c4b5acea588632f16887a79787084e679519d127515bdda661cf3c81", kill_on_drop: false }` [INFO] [stdout] 4fa43bd2c4b5acea588632f16887a79787084e679519d127515bdda661cf3c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47f0f0646f6defd3ab3b756caee160f1b129cf53cdff42b1abdec9ac61368294 [INFO] running `Command { std: "docker" "start" "-a" "47f0f0646f6defd3ab3b756caee160f1b129cf53cdff42b1abdec9ac61368294", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [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: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/collectors/system_health.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/system_health.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/system_health.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/system_health.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `status` is never read [INFO] [stdout] --> src/collectors/interfaces_poe.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | let mut status: u8 = 255; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling routeros_exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/system_health.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/system_health.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/collectors/system_health.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/collectors/system_health.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let mut value = ""; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [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: `Collectors` [INFO] [stdout] --> src/main.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | use routeros_exporter::configuration::{Collectors, get_configuration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/helpers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [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: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/collectors/system_health.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/collectors/system_health.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/system_health.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/system_health.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `status` is never read [INFO] [stdout] --> src/collectors/interfaces_poe.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | let mut status: u8 = 255; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/collectors/system_health.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errored` [INFO] [stdout] --> src/collectors/system_health.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `labels` [INFO] [stdout] --> src/collectors/system_health.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/collectors/system_health.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let mut value = ""; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "47f0f0646f6defd3ab3b756caee160f1b129cf53cdff42b1abdec9ac61368294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47f0f0646f6defd3ab3b756caee160f1b129cf53cdff42b1abdec9ac61368294", kill_on_drop: false }` [INFO] [stdout] 47f0f0646f6defd3ab3b756caee160f1b129cf53cdff42b1abdec9ac61368294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3afb7f9930a157968d171947a5ea9b4788a7a5a3f7737188715989cee3f21d6b [INFO] running `Command { std: "docker" "start" "-a" "3afb7f9930a157968d171947a5ea9b4788a7a5a3f7737188715989cee3f21d6b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/helpers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/interfaces.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/interfaces_monitor.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/interfaces_poe.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/ip_firewall_filter.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/ip_firewall_mangle.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/ip_firewall_nat.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/ip_firewall_raw.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/collectors/system_health.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/collectors/system_health.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/interfaces.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/system_health.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/system_health.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/interfaces.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/interfaces.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/interfaces_monitor.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/interfaces_monitor.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/interfaces_poe.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/interfaces_poe.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `status` is never read [INFO] [stderr] --> src/collectors/interfaces_poe.rs:99:38 [INFO] [stderr] | [INFO] [stderr] 99 | let mut status: u8 = 255; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/ip_firewall_filter.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/ip_firewall_filter.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/ip_firewall_mangle.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/ip_firewall_mangle.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/ip_firewall_nat.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/ip_firewall_nat.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/ip_firewall_raw.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/ip_firewall_raw.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `now` [INFO] [stderr] --> src/collectors/system_health.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errored` [INFO] [stderr] --> src/collectors/system_health.rs:41:24 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errored` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `labels` [INFO] [stderr] --> src/collectors/system_health.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | let (now, mut ret, mut errored, mut labels) = collector_preamble(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_labels` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `value` is never read [INFO] [stderr] --> src/collectors/system_health.rs:56:29 [INFO] [stderr] | [INFO] [stderr] 56 | let mut value = ""; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: `routeros_exporter` (lib) generated 38 warnings (run `cargo fix --lib -p routeros_exporter` to apply 36 suggestions) [INFO] [stderr] warning: `routeros_exporter` (lib test) generated 38 warnings (38 duplicates) [INFO] [stderr] warning: unused import: `std::hash::Hash` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::hash::Hash; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Collectors` [INFO] [stderr] --> src/main.rs:14:40 [INFO] [stderr] | [INFO] [stderr] 14 | use routeros_exporter::configuration::{Collectors, get_configuration}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `routeros_exporter` (bin "routeros_exporter" test) generated 2 warnings (run `cargo fix --bin "routeros_exporter" -p routeros_exporter --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/routeros_exporter-cdebc01df8d3800c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/routeros_exporter-bc3dc6f2a02934bf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests routeros_exporter [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3afb7f9930a157968d171947a5ea9b4788a7a5a3f7737188715989cee3f21d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3afb7f9930a157968d171947a5ea9b4788a7a5a3f7737188715989cee3f21d6b", kill_on_drop: false }` [INFO] [stdout] 3afb7f9930a157968d171947a5ea9b4788a7a5a3f7737188715989cee3f21d6b