[INFO] cloning repository https://github.com/ocpu/constellation-dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ocpu/constellation-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focpu%2Fconstellation-dns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focpu%2Fconstellation-dns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4512a39af8906cbe7c497ff9582759dc9442a7be [INFO] checking ocpu/constellation-dns against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focpu%2Fconstellation-dns" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ocpu/constellation-dns [INFO] finished tweaking git repo https://github.com/ocpu/constellation-dns [INFO] tweaked toml for git repo https://github.com/ocpu/constellation-dns written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ocpu/constellation-dns on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ocpu/constellation-dns 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2_sqlite v0.28.0 [INFO] [stderr] Downloaded evmap-derive v0.2.0 [INFO] [stderr] Downloaded evmap v10.0.2 [INFO] [stderr] Downloaded lock_freedom v0.1.0 [INFO] [stderr] Downloaded tux-owned-alloc v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14072ac4e99066460b7741c348164fb1de7b39759cff2955bdf81b97280c4223 [INFO] running `Command { std: "docker" "start" "-a" "14072ac4e99066460b7741c348164fb1de7b39759cff2955bdf81b97280c4223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14072ac4e99066460b7741c348164fb1de7b39759cff2955bdf81b97280c4223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14072ac4e99066460b7741c348164fb1de7b39759cff2955bdf81b97280c4223", kill_on_drop: false }` [INFO] [stdout] 14072ac4e99066460b7741c348164fb1de7b39759cff2955bdf81b97280c4223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e179b409bbffd9a8ee731a810864a41681b4dc525f63ac267346c67b3781d21 [INFO] running `Command { std: "docker" "start" "-a" "8e179b409bbffd9a8ee731a810864a41681b4dc525f63ac267346c67b3781d21", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking winnow v0.7.6 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rusqlite v0.35.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tux-owned-alloc v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking hashbag v0.1.12 [INFO] [stderr] Compiling aws-lc-sys v0.28.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking owned-alloc v0.2.0 [INFO] [stderr] Checking lock_freedom v0.1.0 [INFO] [stderr] Checking evmap v10.0.2 [INFO] [stderr] Checking lockfree v0.5.1 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking r2d2_sqlite v0.28.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Checking spmc v0.3.0 [INFO] [stderr] Compiling evmap-derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Checking constellation-dns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RecordEntry` and `Zone` [INFO] [stdout] --> src/db/mod.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | pub use sqlite::{connect_db, DbError, RecordEntry, SqliteDb, Zone}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DomainNameParseError` and `LabelParseError` [INFO] [stdout] --> src/packet/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | domain_name::{DomainName, DomainNameParseError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | header::Header, [INFO] [stdout] 14 | label::{Label, LabelParseError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnknownResponseCodeError` [INFO] [stdout] --> src/proto/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | UnknownResponseCodeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LabelError` [INFO] [stdout] --> src/proto/mod.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::label::{Label, LabelError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketError` [INFO] [stdout] --> src/proto/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::packet::{Packet, PacketError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecordEntry` and `Zone` [INFO] [stdout] --> src/db/mod.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | pub use sqlite::{connect_db, DbError, RecordEntry, SqliteDb, Zone}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array_buffer::ArrayBuffer` [INFO] [stdout] --> src/packet/header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | array_buffer::ArrayBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DomainNameParseError` and `LabelParseError` [INFO] [stdout] --> src/packet/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | domain_name::{DomainName, DomainNameParseError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | header::Header, [INFO] [stdout] 14 | label::{Label, LabelParseError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnknownResponseCodeError` [INFO] [stdout] --> src/proto/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | UnknownResponseCodeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LabelError` [INFO] [stdout] --> src/proto/mod.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::label::{Label, LabelError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketError` [INFO] [stdout] --> src/proto/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::packet::{Packet, PacketError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BufMut` [INFO] [stdout] --> src/packet/header.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::BufMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BufMut` [INFO] [stdout] --> src/packet/header.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::BufMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/zone/parser.rs:727:20 [INFO] [stdout] | [INFO] [stdout] 727 | let (priority, pos) = parse_u16(current, buffer.get(0).unwrap(), "Invalid priority value")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/zone/parser.rs:729:18 [INFO] [stdout] | [INFO] [stdout] 729 | let (weight, pos) = parse_u16(current, buffer.get(1).unwrap(), "Invalid weight value")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some((addrs, config)) = tls_bind_addr { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:365:38 [INFO] [stdout] | [INFO] [stdout] 365 | let (socket, addr) = match tcp_listener.accept() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/main.rs:823:14 [INFO] [stdout] | [INFO] [stdout] 823 | for (code, data) in kvs { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/zone/parser.rs:727:20 [INFO] [stdout] | [INFO] [stdout] 727 | let (priority, pos) = parse_u16(current, buffer.get(0).unwrap(), "Invalid priority value")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/zone/parser.rs:729:18 [INFO] [stdout] | [INFO] [stdout] 729 | let (weight, pos) = parse_u16(current, buffer.get(1).unwrap(), "Invalid weight value")?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:823:20 [INFO] [stdout] | [INFO] [stdout] 823 | for (code, data) in kvs { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tcp_with_tls_socket_fds` is never read [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct IO { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | tcp_with_tls_socket_fds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NextStage` is never constructed [INFO] [stdout] --> src/main.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 730 | enum ProcessTaskOutput { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 731 | Resolved(ResolvedTask), [INFO] [stdout] 732 | NextStage(ResolveTask), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_dump` is never used [INFO] [stdout] --> src/main.rs:736:4 [INFO] [stdout] | [INFO] [stdout] 736 | fn hex_dump(data: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/main.rs:942:12 [INFO] [stdout] | [INFO] [stdout] 916 | impl EdnsCode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 942 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_max_len`, `len`, `set_len`, `clear`, `clear_with_max_len`, and `rewind_mut` are never used [INFO] [stdout] --> src/array_buffer.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl ArrayBuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_max_len(mut self, max_len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_len(&mut self, new_len: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn clear_with_max_len(&mut self, max_len: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub unsafe fn rewind_mut(&mut self, cnt: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RecordNotFound` and `ConstraintViolation` are never constructed [INFO] [stdout] --> src/db/sqlite.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DbError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | RecordNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ConstraintViolation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` 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/db/sqlite.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RecordEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | pub record_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | pub record_class: Class, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | pub ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | pub data: ResourceData, [INFO] [stdout] 44 | pub zone_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Zone` is never constructed [INFO] [stdout] --> src/db/sqlite.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Zone { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db/sqlite.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl SqliteDb { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn serialize_resource_data(data: ResourceData) -> (u32, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn lookup_record_by_id(&self, id: i64) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn add_record(&self, entry: &RecordEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn update_record(&self, entry: &RecordEntry) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn set_record_active(&self, id: i64, active: bool) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn remove_record_by_id(&self, id: i64) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn remove_record( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn insert_or_update_record(&self, entry: &RecordEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn get_records_for_domain(&self, domain: &str) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn add_zone(&self, zone: &Zone) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn update_zone(&self, zone: &Zone) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn remove_zone_by_id(&self, id: i64) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn remove_zone_by_name(&self, name: &str) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn lookup_zone_by_id(&self, id: i64) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | pub fn lookup_zone_by_name(&self, name: &str) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | pub fn get_all_zones(&self) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn get_active_zones(&self) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn add_record_to_zone(&self, entry: &RecordEntry, zone_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | pub fn get_records_for_zone(&self, zone_id: i64) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn remove_records_from_zone(&self, zone_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn transfer_records_between_zones( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EPollWaitError` is never used [INFO] [stdout] --> src/epoll.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum EPollWaitError {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_timeout`, `wait`, and `pwait_timeout` are never used [INFO] [stdout] --> src/epoll.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl EPoll { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn wait_timeout(&self, events: &mut [Event], timeout: Duration) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn wait(&self, events: &mut [Event]) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn pwait_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `output` and `oneshot` are never used [INFO] [stdout] --> src/epoll.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl Event { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn output(fd: impl AsFd) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub const fn oneshot(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `oneshot` is never used [INFO] [stdout] --> src/epoll.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 226 | impl EventBuilder { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 227 | pub const fn oneshot(self) -> EventBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output` is never used [INFO] [stdout] --> src/epoll.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 232 | impl EventBuilder<(), O> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub const fn output(self) -> EventBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_fd` is never used [INFO] [stdout] --> src/epoll.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl EventBuilder { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] 243 | pub fn with_fd(self, fd: impl AsFd) -> Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_fd`, `build`, and `input` are never used [INFO] [stdout] --> src/epoll.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 259 | impl EventBuilder { [INFO] [stdout] | -------------------------------------------- methods in this implementation [INFO] [stdout] 260 | pub fn with_fd(self, fd: impl AsFd) -> Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub const fn build(self, fd: i32) -> Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub const fn input(self) -> EventBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_fd` is never used [INFO] [stdout] --> src/epoll.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl EventBuilder { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 277 | pub fn with_fd(self, fd: impl AsFd) -> Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Output` is never constructed [INFO] [stdout] --> src/epoll.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct Output; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Oneshot` is never constructed [INFO] [stdout] --> src/epoll.rs:221:16 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct Oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `query`, `request_recursion`, `add_authority`, `add_additional`, `build`, and `build_into` are never used [INFO] [stdout] --> src/packet/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl DNSPacketBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn query(id: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn request_recursion(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn add_authority(mut self, answer: Resource) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn add_additional(mut self, answer: Resource) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn build(self) -> Bytes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn build_into<'a>(self, buffer: &'a mut BytesMut) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packet/header.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | UnknownOpcode(u8), [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HeaderParseError` 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] 136 - UnknownOpcode(u8), [INFO] [stdout] 136 + UnknownOpcode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packet/header.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | UnknownResponseCode(u8), [INFO] [stdout] | ------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HeaderParseError` 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] 137 - UnknownResponseCode(u8), [INFO] [stdout] 137 + UnknownResponseCode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_static_unchecked` is never used [INFO] [stdout] --> src/packet/label.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 26 | impl Label { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub const unsafe fn from_static_unchecked(s: &'static str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_data` is never used [INFO] [stdout] --> src/packet/resource.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl ResourceData { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn into_data(self) -> (u32, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `visit_header` and `visit_resource` are never used [INFO] [stdout] --> src/proto/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait PredicateVisitor { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 48 | fn visit_header(&self, header: &HeaderViewValidated) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | fn visit_question(&self, question: &Question) -> bool; [INFO] [stdout] 50 | fn visit_resource(&self, resource: &Resource) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/proto/header.rs:482:12 [INFO] [stdout] | [INFO] [stdout] 337 | impl<'data> GenericHeaderView<'data, Valid> { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn is(&self, predicate: impl super::PredicateVisitor) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/proto/resource.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'data> Resource<'data> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn is(&self, predicate: impl super::PredicateVisitor) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all` and `remove` are never used [INFO] [stdout] --> src/sigset.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl SignalSet { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn all() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn remove(&mut self, signal: Signal) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CowData` is never used [INFO] [stdout] --> src/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CowData<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/types.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> CowData<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/zone/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ZoneOperator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | db: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/zone/parser.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 188 | pub loc: RecordLocation, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `file`, `name_span`, `class_span`, `ttl_span`, and `type_span` are never read [INFO] [stdout] --> src/zone/parser.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct RecordLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 197 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 198 | pub file: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 199 | pub name_span: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | pub class_span: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 201 | pub ttl_span: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 202 | pub r#type_span: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some((addrs, config)) = tls_bind_addr { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:365:38 [INFO] [stdout] | [INFO] [stdout] 365 | let (socket, addr) = match tcp_listener.accept() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/main.rs:823:14 [INFO] [stdout] | [INFO] [stdout] 823 | for (code, data) in kvs { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:823:20 [INFO] [stdout] | [INFO] [stdout] 823 | for (code, data) in kvs { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tcp_with_tls_socket_fds` is never read [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct IO { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | tcp_with_tls_socket_fds: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NextStage` is never constructed [INFO] [stdout] --> src/main.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 730 | enum ProcessTaskOutput { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] 731 | Resolved(ResolvedTask), [INFO] [stdout] 732 | NextStage(ResolveTask), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_dump` is never used [INFO] [stdout] --> src/main.rs:736:4 [INFO] [stdout] | [INFO] [stdout] 736 | fn hex_dump(data: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u16` is never used [INFO] [stdout] --> src/main.rs:942:12 [INFO] [stdout] | [INFO] [stdout] 916 | impl EdnsCode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 942 | pub fn as_u16(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayBuffer` is never constructed [INFO] [stdout] --> src/array_buffer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ArrayBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> src/array_buffer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ptr_opt` is never used [INFO] [stdout] --> src/array_buffer.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn ptr_opt(ptr: *mut T) -> Option<*mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ptr_opt_ref` is never used [INFO] [stdout] --> src/array_buffer.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn ptr_opt_ref<'a, T>(ptr: *mut T) -> Option<&'a T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/array_buffer.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl ArrayBuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_max_len(mut self, max_len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn as_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn as_slice_mut(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_len(&mut self, new_len: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn clear_with_max_len(&mut self, max_len: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub unsafe fn rewind_mut(&mut self, cnt: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn grow(&mut self, min_new_space: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/array_buffer.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 137 | impl Data { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 138 | fn new(ptr: *mut u8, cap: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn with_capacity(cap: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn from_vec(mut vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn copy_from(&self, other: &Data) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | unsafe fn as_slice(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | unsafe fn as_slice_mut(&self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | unsafe fn as_uninit_slice(&self, start: usize) -> &mut UninitSlice { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn into_ptr(self) -> *mut Data { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn decrement(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_ITEM_COUNT` is never used [INFO] [stdout] --> src/array_buffer.rs:283:7 [INFO] [stdout] | [INFO] [stdout] 283 | const LINE_ITEM_COUNT: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RecordNotFound` and `ConstraintViolation` are never constructed [INFO] [stdout] --> src/db/sqlite.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DbError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | RecordNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ConstraintViolation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` 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/db/sqlite.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RecordEntry { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | pub record_type: Type, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | pub record_class: Class, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | pub ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | pub data: ResourceData, [INFO] [stdout] 44 | pub zone_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecordEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Zone` is never constructed [INFO] [stdout] --> src/db/sqlite.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Zone { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db/sqlite.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl SqliteDb { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn serialize_resource_data(data: ResourceData) -> (u32, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn lookup_record_by_id(&self, id: i64) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn add_record(&self, entry: &RecordEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn update_record(&self, entry: &RecordEntry) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn set_record_active(&self, id: i64, active: bool) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn remove_record_by_id(&self, id: i64) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn remove_record( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn insert_or_update_record(&self, entry: &RecordEntry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn get_records_for_domain(&self, domain: &str) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn add_zone(&self, zone: &Zone) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn update_zone(&self, zone: &Zone) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn remove_zone_by_id(&self, id: i64) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn remove_zone_by_name(&self, name: &str) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn lookup_zone_by_id(&self, id: i64) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | pub fn lookup_zone_by_name(&self, name: &str) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | pub fn get_all_zones(&self) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn get_active_zones(&self) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn add_record_to_zone(&self, entry: &RecordEntry, zone_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | pub fn get_records_for_zone(&self, zone_id: i64) -> Result, DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn remove_records_from_zone(&self, zone_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn transfer_records_between_zones( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EPollWaitError` is never used [INFO] [stdout] --> src/epoll.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum EPollWaitError {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_timeout`, `wait`, and `pwait_timeout` are never used [INFO] [stdout] --> src/epoll.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl EPoll { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn wait_timeout(&self, events: &mut [Event], timeout: Duration) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn wait(&self, events: &mut [Event]) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn pwait_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `output` and `oneshot` are never used [INFO] [stdout] --> src/epoll.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl Event { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn output(fd: impl AsFd) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub const fn oneshot(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `oneshot` is never used [INFO] [stdout] --> src/epoll.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 226 | impl EventBuilder { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 227 | pub const fn oneshot(self) -> EventBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output` is never used [INFO] [stdout] --> src/epoll.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 232 | impl EventBuilder<(), O> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | pub const fn output(self) -> EventBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_fd` is never used [INFO] [stdout] --> src/epoll.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 242 | impl EventBuilder { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] 243 | pub fn with_fd(self, fd: impl AsFd) -> Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_fd`, `build`, and `input` are never used [INFO] [stdout] --> src/epoll.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 259 | impl EventBuilder { [INFO] [stdout] | -------------------------------------------- methods in this implementation [INFO] [stdout] 260 | pub fn with_fd(self, fd: impl AsFd) -> Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub const fn build(self, fd: i32) -> Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub const fn input(self) -> EventBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_fd` is never used [INFO] [stdout] --> src/epoll.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 276 | impl EventBuilder { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 277 | pub fn with_fd(self, fd: impl AsFd) -> Event { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Output` is never constructed [INFO] [stdout] --> src/epoll.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct Output; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Oneshot` is never constructed [INFO] [stdout] --> src/epoll.rs:221:16 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct Oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `query`, `request_recursion`, `add_authority`, `add_additional`, `build`, and `build_into` are never used [INFO] [stdout] --> src/packet/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl DNSPacketBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn query(id: u16) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn request_recursion(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn add_authority(mut self, answer: Resource) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn add_additional(mut self, answer: Resource) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn build(self) -> Bytes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn build_into<'a>(self, buffer: &'a mut BytesMut) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packet/header.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | UnknownOpcode(u8), [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HeaderParseError` 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] 136 - UnknownOpcode(u8), [INFO] [stdout] 136 + UnknownOpcode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packet/header.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | UnknownResponseCode(u8), [INFO] [stdout] | ------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HeaderParseError` 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] 137 - UnknownResponseCode(u8), [INFO] [stdout] 137 + UnknownResponseCode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_static_unchecked` is never used [INFO] [stdout] --> src/packet/label.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 26 | impl Label { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub const unsafe fn from_static_unchecked(s: &'static str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_data` is never used [INFO] [stdout] --> src/packet/resource.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl ResourceData { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn into_data(self) -> (u32, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `visit_header` and `visit_resource` are never used [INFO] [stdout] --> src/proto/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait PredicateVisitor { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 48 | fn visit_header(&self, header: &HeaderViewValidated) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | fn visit_question(&self, question: &Question) -> bool; [INFO] [stdout] 50 | fn visit_resource(&self, resource: &Resource) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/proto/header.rs:482:12 [INFO] [stdout] | [INFO] [stdout] 337 | impl<'data> GenericHeaderView<'data, Valid> { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn is(&self, predicate: impl super::PredicateVisitor) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/proto/resource.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'data> Resource<'data> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn is(&self, predicate: impl super::PredicateVisitor) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all` and `remove` are never used [INFO] [stdout] --> src/sigset.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl SignalSet { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn all() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn remove(&mut self, signal: Signal) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CowData` is never used [INFO] [stdout] --> src/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CowData<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/types.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a> CowData<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 10 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/zone/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ZoneOperator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | db: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/zone/parser.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct Record { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 188 | pub loc: RecordLocation, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `file`, `name_span`, `class_span`, `ttl_span`, and `type_span` are never read [INFO] [stdout] --> src/zone/parser.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct RecordLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 197 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 198 | pub file: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 199 | pub name_span: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 200 | pub class_span: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 201 | pub ttl_span: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 202 | pub r#type_span: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.27s [INFO] running `Command { std: "docker" "inspect" "8e179b409bbffd9a8ee731a810864a41681b4dc525f63ac267346c67b3781d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e179b409bbffd9a8ee731a810864a41681b4dc525f63ac267346c67b3781d21", kill_on_drop: false }` [INFO] [stdout] 8e179b409bbffd9a8ee731a810864a41681b4dc525f63ac267346c67b3781d21