[INFO] fetching crate cdns-rs 1.0.0... [INFO] building cdns-rs-1.0.0 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate cdns-rs 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate cdns-rs 1.0.0 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cdns-rs 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cdns-rs 1.0.0 [INFO] tweaked toml for crates.io crate cdns-rs 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate cdns-rs 1.0.0 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-lc-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96fec3ce87bdf1aae797cec4b80e94526093e1c60c380fdccc74c34838d64573 [INFO] running `Command { std: "docker" "start" "-a" "96fec3ce87bdf1aae797cec4b80e94526093e1c60c380fdccc74c34838d64573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96fec3ce87bdf1aae797cec4b80e94526093e1c60c380fdccc74c34838d64573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96fec3ce87bdf1aae797cec4b80e94526093e1c60c380fdccc74c34838d64573", kill_on_drop: false }` [INFO] [stdout] 96fec3ce87bdf1aae797cec4b80e94526093e1c60c380fdccc74c34838d64573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aef556cb048525be94a8b1f6d085551e0016d40b12218283a529f6e83ca0120 [INFO] running `Command { std: "docker" "start" "-a" "8aef556cb048525be94a8b1f6d085551e0016d40b12218283a529f6e83ca0120", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling aws-lc-sys v0.28.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling tokio-byteorder v0.3.0 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling cdns-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/a_sync/query.rs:692:17 [INFO] [stdout] | [INFO] [stdout] 692 | let n = socktap.recv(rcvbuf.as_mut_slice()).await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/a_sync/query.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/sync/network.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/sync/network.rs:609:13 [INFO] [stdout] | [INFO] [stdout] 609 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/sync/network.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/common.rs:2346:13 [INFO] [stdout] | [INFO] [stdout] 2346 | let data = vec![0_u8; rlen as usize]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'cache> CacheTime<'cache> [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn new(path: &'cache Path) -> CDnsResult> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl + CacheOperations> CacheInstance [INFO] [stdout] | --------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn new() -> CDnsResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_resolve_cached` and `is_host_cached` are never used [INFO] [stdout] --> src/a_sync/caches.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl CachesController [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn is_resolve_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn is_host_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/a_sync/cfg_parsers.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ConfigParser [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_default(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_encrypted` is never used [INFO] [stdout] --> src/a_sync/network.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait SocketTap: SocketTapCommon + Send + Sync [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn is_encrypted(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_tcp` and `is_encrypted` are never used [INFO] [stdout] --> src/sync/network.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait SocketTap: SocketTapCommon [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | fn is_tcp(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn is_encrypted(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/sync/cfg_parsers.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait ConfigParser [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_default(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_resolve_cached` and `is_host_cached` are never used [INFO] [stdout] --> src/sync/caches.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 178 | impl CachesController [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn is_resolve_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn is_host_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_conncected` is never used [INFO] [stdout] --> src/network_common.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait SocketTapCommon [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn is_conncected(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_str_unicode` is never used [INFO] [stdout] --> src/common.rs:2441:4 [INFO] [stdout] | [INFO] [stdout] 2441 | fn sanitize_str_unicode(st: &str) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `foresee_char` is never used [INFO] [stdout] --> src/tokenizer.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'token> ConfTokenizer<'token> [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn foresee_char(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/a_sync/network.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | fn get_fd(&self) -> Option [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn get_fd(&self) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sync/network.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | fn get_fd(&self) -> Option [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 281 | fn get_fd(&self) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cfg_resolv_parser.rs:581:27 [INFO] [stdout] | [INFO] [stdout] 581 | fn get_resolvers_iter(&self) -> RoundRobinIterator> [INFO] [stdout] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 581 | fn get_resolvers_iter(&self) -> RoundRobinIterator<'_, Arc> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.87s [INFO] running `Command { std: "docker" "inspect" "8aef556cb048525be94a8b1f6d085551e0016d40b12218283a529f6e83ca0120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aef556cb048525be94a8b1f6d085551e0016d40b12218283a529f6e83ca0120", kill_on_drop: false }` [INFO] [stdout] 8aef556cb048525be94a8b1f6d085551e0016d40b12218283a529f6e83ca0120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23a852f50dd3488bc3ab9a9c0fbceb4fb5fe178c802f23a9d9c2e6add5c6ca90 [INFO] running `Command { std: "docker" "start" "-a" "23a852f50dd3488bc3ab9a9c0fbceb4fb5fe178c802f23a9d9c2e6add5c6ca90", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-byteorder v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling cdns-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/a_sync/query.rs:692:17 [INFO] [stdout] | [INFO] [stdout] 692 | let n = socktap.recv(rcvbuf.as_mut_slice()).await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/a_sync/query.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/sync/network.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/sync/network.rs:609:13 [INFO] [stdout] | [INFO] [stdout] 609 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/sync/network.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/common.rs:2346:13 [INFO] [stdout] | [INFO] [stdout] 2346 | let data = vec![0_u8; rlen as usize]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'cache> CacheTime<'cache> [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn new(path: &'cache Path) -> CDnsResult> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl + CacheOperations> CacheInstance [INFO] [stdout] | --------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn new() -> CDnsResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_resolve_cached` and `is_host_cached` are never used [INFO] [stdout] --> src/a_sync/caches.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl CachesController [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn is_resolve_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn is_host_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/a_sync/cfg_parsers.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ConfigParser [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_default(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_encrypted` is never used [INFO] [stdout] --> src/a_sync/network.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait SocketTap: SocketTapCommon + Send + Sync [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn is_encrypted(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_tcp` and `is_encrypted` are never used [INFO] [stdout] --> src/sync/network.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait SocketTap: SocketTapCommon [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | fn is_tcp(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn is_encrypted(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/sync/cfg_parsers.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait ConfigParser [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_default(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_resolve_cached` and `is_host_cached` are never used [INFO] [stdout] --> src/sync/caches.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 178 | impl CachesController [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn is_resolve_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn is_host_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_conncected` is never used [INFO] [stdout] --> src/network_common.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait SocketTapCommon [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn is_conncected(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_str_unicode` is never used [INFO] [stdout] --> src/common.rs:2441:4 [INFO] [stdout] | [INFO] [stdout] 2441 | fn sanitize_str_unicode(st: &str) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `foresee_char` is never used [INFO] [stdout] --> src/tokenizer.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'token> ConfTokenizer<'token> [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn foresee_char(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/a_sync/network.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | fn get_fd(&self) -> Option [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn get_fd(&self) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sync/network.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | fn get_fd(&self) -> Option [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 281 | fn get_fd(&self) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cfg_resolv_parser.rs:581:27 [INFO] [stdout] | [INFO] [stdout] 581 | fn get_resolvers_iter(&self) -> RoundRobinIterator> [INFO] [stdout] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 581 | fn get_resolvers_iter(&self) -> RoundRobinIterator<'_, Arc> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QDnsName` [INFO] [stdout] --> src/sync/query.rs:891:94 [INFO] [stdout] | [INFO] [stdout] 891 | use crate::{common::{byte2hexchar, ip2pkt, RecordPTR, RecordReader}, sync::{query::QDns, QDnsName}, QDnsQueryRec, QType, QuerySetup}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/a_sync/query.rs:692:17 [INFO] [stdout] | [INFO] [stdout] 692 | let n = socktap.recv(rcvbuf.as_mut_slice()).await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/a_sync/query.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/sync/network.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/sync/network.rs:609:13 [INFO] [stdout] | [INFO] [stdout] 609 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/sync/network.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | n += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/common.rs:2346:13 [INFO] [stdout] | [INFO] [stdout] 2346 | let data = vec![0_u8; rlen as usize]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'cache> CacheTime<'cache> [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn new(path: &'cache Path) -> CDnsResult> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl + CacheOperations> CacheInstance [INFO] [stdout] | --------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn new() -> CDnsResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_resolve_cached` and `is_host_cached` are never used [INFO] [stdout] --> src/a_sync/caches.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl CachesController [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn is_resolve_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn is_host_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/a_sync/cfg_parsers.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait ConfigParser [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_default(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_encrypted` is never used [INFO] [stdout] --> src/a_sync/network.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait SocketTap: SocketTapCommon + Send + Sync [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn is_encrypted(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_tcp` and `is_encrypted` are never used [INFO] [stdout] --> src/sync/network.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait SocketTap: SocketTapCommon [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | fn is_tcp(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn is_encrypted(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/sync/cfg_parsers.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait ConfigParser [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_default(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_resolve_cached` and `is_host_cached` are never used [INFO] [stdout] --> src/sync/caches.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 178 | impl CachesController [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn is_resolve_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn is_host_cached(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_conncected` is never used [INFO] [stdout] --> src/network_common.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait SocketTapCommon [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn is_conncected(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_str_unicode` is never used [INFO] [stdout] --> src/common.rs:2441:4 [INFO] [stdout] | [INFO] [stdout] 2441 | fn sanitize_str_unicode(st: &str) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `foresee_char` is never used [INFO] [stdout] --> src/tokenizer.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'token> ConfTokenizer<'token> [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn foresee_char(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/a_sync/network.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | fn get_fd(&self) -> Option [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn get_fd(&self) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sync/network.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | fn get_fd(&self) -> Option [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 281 | fn get_fd(&self) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cfg_resolv_parser.rs:581:27 [INFO] [stdout] | [INFO] [stdout] 581 | fn get_resolvers_iter(&self) -> RoundRobinIterator> [INFO] [stdout] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 581 | fn get_resolvers_iter(&self) -> RoundRobinIterator<'_, Arc> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.08s [INFO] running `Command { std: "docker" "inspect" "23a852f50dd3488bc3ab9a9c0fbceb4fb5fe178c802f23a9d9c2e6add5c6ca90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a852f50dd3488bc3ab9a9c0fbceb4fb5fe178c802f23a9d9c2e6add5c6ca90", kill_on_drop: false }` [INFO] [stdout] 23a852f50dd3488bc3ab9a9c0fbceb4fb5fe178c802f23a9d9c2e6add5c6ca90