[INFO] cloning repository https://github.com/panicneo/rubot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panicneo/rubot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicneo%2Frubot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicneo%2Frubot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22e1f56fb8d65879305c30cc43f185543bb2291b [INFO] checking panicneo/rubot against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicneo%2Frubot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panicneo/rubot on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/panicneo/rubot [INFO] finished tweaking git repo https://github.com/panicneo/rubot [INFO] tweaked toml for git repo https://github.com/panicneo/rubot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/panicneo/rubot 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-humanize-rs v0.1.1 [INFO] [stderr] Downloaded humanize-rs v0.1.5 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded toml v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12e17fcff1359e2c6bcb04ca086f124e9e73fa701a9355fbb9d46a16dc25782c [INFO] running `Command { std: "docker" "start" "-a" "12e17fcff1359e2c6bcb04ca086f124e9e73fa701a9355fbb9d46a16dc25782c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12e17fcff1359e2c6bcb04ca086f124e9e73fa701a9355fbb9d46a16dc25782c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e17fcff1359e2c6bcb04ca086f124e9e73fa701a9355fbb9d46a16dc25782c", kill_on_drop: false }` [INFO] [stdout] 12e17fcff1359e2c6bcb04ca086f124e9e73fa701a9355fbb9d46a16dc25782c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49b0a0b301bfffa45eb7e0167eb6c08651d53c4ae1828ca77de9dbed9dade7ab [INFO] running `Command { std: "docker" "start" "-a" "49b0a0b301bfffa45eb7e0167eb6c08651d53c4ae1828ca77de9dbed9dade7ab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Checking humanize-rs v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking serde-humanize-rs v0.1.1 [INFO] [stderr] Checking rubot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/agent.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/agent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/agent.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/agent.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::{Receiver, Sender, SyncSender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/agent.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::RunningConfig` [INFO] [stdout] --> src/config/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::RunningConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/agent.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::{Receiver, Sender, SyncSender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::RunningConfig` [INFO] [stdout] --> src/config/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::RunningConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_metric` [INFO] [stdout] --> src/model/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::metric::{make_metric, Metric}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `make_metric` [INFO] [stdout] --> src/model/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::metric::{make_metric, Metric}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/agent.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn run(mut self) {} [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_receiver` [INFO] [stdout] --> src/agent.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let (input_sender, input_receiver) = mpsc::sync_channel::(100); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_receiver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_thread` [INFO] [stdout] --> src/agent.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let input_thread = thread::spawn(move|| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/agent.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn run(mut self) {} [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/agent.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn run_input(self, sender: SyncSender) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_receiver` [INFO] [stdout] --> src/agent.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let (input_sender, input_receiver) = mpsc::sync_channel::(100); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_receiver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc` [INFO] [stdout] --> src/agent.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let acc = Accumulator::new(input, input_sender.clone(), self.config.precision); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_thread` [INFO] [stdout] --> src/agent.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let input_thread = thread::spawn(move|| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/agent.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn run_input(self, sender: SyncSender) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc` [INFO] [stdout] --> src/agent.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let acc = Accumulator::new(input, input_sender.clone(), self.config.precision); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/metric.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set_aggregate(&mut self, a: bool) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/model/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | fn make_metric(&self, m: Metric) -> Metric { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/metric.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set_aggregate(&mut self, a: bool) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/model/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | fn make_metric(&self, m: Metric) -> Metric { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_metric` is never used [INFO] [stdout] --> src/agent.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait MetricMaker { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 16 | fn make_metric(&self, m: Metric) -> Metric; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `maker` is never read [INFO] [stdout] --> src/agent.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Accumulator { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | maker: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/agent.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Accumulator { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | fn new(maker: impl MetricMaker + 'static, sender: SyncSender, precision: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agent` is never constructed [INFO] [stdout] --> src/agent.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Agent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `run_input` are never used [INFO] [stdout] --> src/agent.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Agent { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 62 | pub fn new(config: RunningConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn run(mut self) {} [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | pub fn run_input(self, sender: SyncSender) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AgentConfig{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub round_interval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub interval: time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub flush_buffer_when_full: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub precision: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub collection_jitter: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub flush_interval: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub flush_jitter : time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub metric_batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub metric_buffer_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `agent`, `input_plugin`, and `output_plugin` are never read [INFO] [stdout] --> src/config/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 62 | pub agent: AgentConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub input_plugin: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | pub output_plugin: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/input.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputPlugin { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | #[serde(with = "serde_humanize_rs")] [INFO] [stdout] 15 | pub interval: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub parser: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub name_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub measurement_prefix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub measurement_suffix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputPlugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `tags`, `config`, and `serializer` are never read [INFO] [stdout] --> src/config/output.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OutputPlugin { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub serializer: SerializerConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputPlugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_fields` and `add_metric` are never used [INFO] [stdout] --> src/internal/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TAccumulator { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn add_fields>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_metric<'a>(&mut self, m: Metric); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Counter`, `Gauge`, `Summary`, and `Histogram` are never constructed [INFO] [stdout] --> src/metric.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MetricType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 6 | Counter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Gauge, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Untyped, [INFO] [stdout] 9 | Summary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Histogram, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Integer`, `Float`, and `Boolean` are never constructed [INFO] [stdout] --> src/metric.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | /// Represents a TOML string [INFO] [stdout] 15 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Represents a TOML integer [INFO] [stdout] 17 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Represents a TOML float [INFO] [stdout] 19 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | /// Represents a TOML boolean [INFO] [stdout] 21 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/metric.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> src/metric.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `tags`, `fields`, `tp`, and `aggregate` are never read [INFO] [stdout] --> src/metric.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Metric { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 35 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | pub tags: BTreeMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub fields: BTreeMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | pub tm: DateTime, [INFO] [stdout] 39 | pub tp: MetricType, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub aggregate: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/metric.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Metric { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn tag_list(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn field_list(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn accept(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn reject(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set_aggregate(&mut self, a: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_aggregate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_metric` is never used [INFO] [stdout] --> src/metric.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn make_metric( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Input` is never used [INFO] [stdout] --> src/model/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/model/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RunningInput { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | pub config: config::InputPlugin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunningOutput` is never constructed [INFO] [stdout] --> src/model/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RunningOutput { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunningConfig` is never constructed [INFO] [stdout] --> src/model/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RunningConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Inputs` is never used [INFO] [stdout] --> src/plugins/inputs/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Inputs { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockInput` is never constructed [INFO] [stdout] --> src/plugins/inputs/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MockInput; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/parsers/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | JSON(JSONParserConfig), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | JSON(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/parsers/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Influx(InfluxParserConfig), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Influx(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/parsers/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | CSV(CSVParserConfig), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | CSV(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/plugins/parsers/csv.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CSVParserConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub metric_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub default_tags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub column_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub column_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub comment: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub delimiter: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub header_row_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub measurement_column: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub skip_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub skip_rows: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub tag_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub timestamp_column: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub timestamp_format: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub trim_space: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CSVParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `metric_name`, and `default_tags` are never read [INFO] [stdout] --> src/plugins/parsers/influx.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InfluxParserConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 6 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub metric_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub default_tags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfluxParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/plugins/parsers/json.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct JSONParserConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub metric_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub default_tags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub tag_keys: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub json_string_fields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub json_name_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub json_time_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub json_time_format: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub json_time_zone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JSONParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | JSON(JSONSerializerConfig), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | JSON(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Influx(InfluxSerializerConfig), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Influx(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp_units` is never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct JSONSerializerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 16 | timestamp_units: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JSONSerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sort_fields`, `uint_support`, and `max_line_bytes` are never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InfluxSerializerConfig { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 21 | #[serde(default)] [INFO] [stdout] 22 | sort_fields: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | #[serde(default)] [INFO] [stdout] 24 | uint_support: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | #[serde(default)] [INFO] [stdout] 26 | max_line_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfluxSerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_metric` is never used [INFO] [stdout] --> src/agent.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait MetricMaker { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 16 | fn make_metric(&self, m: Metric) -> Metric; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `maker` is never read [INFO] [stdout] --> src/agent.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Accumulator { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | maker: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/agent.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Accumulator { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | fn new(maker: impl MetricMaker + 'static, sender: SyncSender, precision: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agent` is never constructed [INFO] [stdout] --> src/agent.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Agent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `run_input` are never used [INFO] [stdout] --> src/agent.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Agent { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 62 | pub fn new(config: RunningConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn run(mut self) {} [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | pub fn run_input(self, sender: SyncSender) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AgentConfig{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub round_interval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub interval: time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub flush_buffer_when_full: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub precision: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub collection_jitter: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub flush_interval: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub flush_jitter : time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub metric_batch_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub metric_buffer_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `agent`, `input_plugin`, and `output_plugin` are never read [INFO] [stdout] --> src/config/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 62 | pub agent: AgentConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub input_plugin: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | pub output_plugin: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/input.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputPlugin { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | #[serde(with = "serde_humanize_rs")] [INFO] [stdout] 15 | pub interval: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub parser: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub name_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub measurement_prefix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub measurement_suffix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputPlugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `tags`, `config`, and `serializer` are never read [INFO] [stdout] --> src/config/output.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OutputPlugin { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub tags: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub config: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub serializer: SerializerConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputPlugin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_fields` and `add_metric` are never used [INFO] [stdout] --> src/internal/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TAccumulator { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn add_fields>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_metric<'a>(&mut self, m: Metric); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Counter`, `Gauge`, `Summary`, and `Histogram` are never constructed [INFO] [stdout] --> src/metric.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MetricType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 6 | Counter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Gauge, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Untyped, [INFO] [stdout] 9 | Summary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Histogram, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Integer`, `Float`, and `Boolean` are never constructed [INFO] [stdout] --> src/metric.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | /// Represents a TOML string [INFO] [stdout] 15 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Represents a TOML integer [INFO] [stdout] 17 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Represents a TOML float [INFO] [stdout] 19 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | /// Represents a TOML boolean [INFO] [stdout] 21 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/metric.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> src/metric.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `tags`, `fields`, `tp`, and `aggregate` are never read [INFO] [stdout] --> src/metric.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Metric { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 35 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | pub tags: BTreeMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub fields: BTreeMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | pub tm: DateTime, [INFO] [stdout] 39 | pub tp: MetricType, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | pub aggregate: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/metric.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Metric { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn tag_list(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn field_list(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn accept(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn reject(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set_aggregate(&mut self, a: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_aggregate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_metric` is never used [INFO] [stdout] --> src/metric.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn make_metric( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Input` is never used [INFO] [stdout] --> src/model/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/model/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RunningInput { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | pub config: config::InputPlugin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunningOutput` is never constructed [INFO] [stdout] --> src/model/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RunningOutput { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunningConfig` is never constructed [INFO] [stdout] --> src/model/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RunningConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Inputs` is never used [INFO] [stdout] --> src/plugins/inputs/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Inputs { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockInput` is never constructed [INFO] [stdout] --> src/plugins/inputs/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MockInput; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/parsers/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | JSON(JSONParserConfig), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | JSON(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/parsers/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | Influx(InfluxParserConfig), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Influx(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/parsers/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | CSV(CSVParserConfig), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | CSV(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/plugins/parsers/csv.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CSVParserConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub metric_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub default_tags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub column_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub column_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub comment: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub delimiter: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub header_row_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub measurement_column: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub skip_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub skip_rows: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub tag_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub timestamp_column: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub timestamp_format: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub trim_space: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CSVParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `metric_name`, and `default_tags` are never read [INFO] [stdout] --> src/plugins/parsers/influx.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InfluxParserConfig { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 6 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub metric_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub default_tags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfluxParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/plugins/parsers/json.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct JSONParserConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub metric_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub default_tags: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub tag_keys: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub json_string_fields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub json_name_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub json_time_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub json_time_format: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub json_time_zone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JSONParserConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | JSON(JSONSerializerConfig), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | JSON(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Influx(InfluxSerializerConfig), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Influx(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp_units` is never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct JSONSerializerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 16 | timestamp_units: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JSONSerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sort_fields`, `uint_support`, and `max_line_bytes` are never read [INFO] [stdout] --> src/plugins/serializers/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InfluxSerializerConfig { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 21 | #[serde(default)] [INFO] [stdout] 22 | sort_fields: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | #[serde(default)] [INFO] [stdout] 24 | uint_support: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | #[serde(default)] [INFO] [stdout] 26 | max_line_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfluxSerializerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "49b0a0b301bfffa45eb7e0167eb6c08651d53c4ae1828ca77de9dbed9dade7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b0a0b301bfffa45eb7e0167eb6c08651d53c4ae1828ca77de9dbed9dade7ab", kill_on_drop: false }` [INFO] [stdout] 49b0a0b301bfffa45eb7e0167eb6c08651d53c4ae1828ca77de9dbed9dade7ab