[INFO] cloning repository https://github.com/the10thWiz/CCDC-Service-Test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the10thWiz/CCDC-Service-Test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2FCCDC-Service-Test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2FCCDC-Service-Test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8444fbb452ea67f2a3d55834e9fc1d07d7f60af [INFO] checking the10thWiz/CCDC-Service-Test against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2FCCDC-Service-Test" "/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/the10thWiz/CCDC-Service-Test [INFO] finished tweaking git repo https://github.com/the10thWiz/CCDC-Service-Test [INFO] tweaked toml for git repo https://github.com/the10thWiz/CCDC-Service-Test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/the10thWiz/CCDC-Service-Test on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/the10thWiz/CCDC-Service-Test 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_threads v0.1.3 [INFO] [stderr] Downloaded trust-dns-client v0.20.4 [INFO] [stderr] Downloaded atomic v0.5.1 [INFO] [stderr] Downloaded multer v2.0.2 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded tracing-core v0.1.22 [INFO] [stderr] Downloaded tracing-subscriber v0.3.9 [INFO] [stderr] Downloaded time v0.3.7 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded loom v0.5.4 [INFO] [stderr] Downloaded tracing-attributes v0.1.19 [INFO] [stderr] Downloaded hyper v0.14.17 [INFO] [stderr] Downloaded async-trait v0.1.52 [INFO] [stderr] Downloaded trust-dns-proto v0.20.4 [INFO] [stderr] Downloaded tracing v0.1.31 [INFO] [stderr] Downloaded libc v0.2.119 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3a92d21a0483e1ee7e926803e4d1b3baaf3156d61d7851bbf280f3be657b587 [INFO] running `Command { std: "docker" "start" "-a" "e3a92d21a0483e1ee7e926803e4d1b3baaf3156d61d7851bbf280f3be657b587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a92d21a0483e1ee7e926803e4d1b3baaf3156d61d7851bbf280f3be657b587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a92d21a0483e1ee7e926803e4d1b3baaf3156d61d7851bbf280f3be657b587", kill_on_drop: false }` [INFO] [stdout] e3a92d21a0483e1ee7e926803e4d1b3baaf3156d61d7851bbf280f3be657b587 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b8759e770cdc8a77f2091f3f86c0b57fba2af031fb2e616a06348ab57d2fa9c [INFO] running `Command { std: "docker" "start" "-a" "8b8759e770cdc8a77f2091f3f86c0b57fba2af031fb2e616a06348ab57d2fa9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking trust-dns-client v0.20.4 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking service_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 101 | let mut interval = rocket::tokio::time::interval(Duration::from_secs(config.time as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 101 | let mut interval = rocket::tokio::time::interval(Duration::from_secs(config.time as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.ecom` is never read [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | let ecom = scan_http(&config.ecom, ip.ip()).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.time` is never read [INFO] [stdout] --> src/main.rs:101:78 [INFO] [stdout] | [INFO] [stdout] 101 | let mut interval = rocket::tokio::time::interval(Duration::from_secs(config.time as u64)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.ip_pools` is never read [INFO] [stdout] --> src/main.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let mut iter = config.ip_pools.iter().cycle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.dev` is never read [INFO] [stdout] --> src/main.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|pool| pool.create_ip(config.dev.as_str())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `status` is never read [INFO] [stdout] --> src/main.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | let mut lock = status.lock().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | status: Arc>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | config: ScanConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | async fn scan_dns(config: &DNSConfig, ip: &Ipv4Addr) -> Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | async fn scan_dns(config: &DNSConfig, ip: &Ipv4Addr) -> Status { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_dns` is never used [INFO] [stdout] --> src/main.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn scan_dns(config: &DNSConfig, ip: &Ipv4Addr) -> Status { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolError` 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] 52 - Io(std::io::Error), [INFO] [stdout] 52 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | Utf8(FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolError` 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] 53 - Utf8(FromUtf8Error), [INFO] [stdout] 53 + Utf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | IP(AddrParseError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolError` 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] 54 - IP(AddrParseError), [INFO] [stdout] 54 + IP(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | IP(AddrParseError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IPAddrPoolError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 126 - IP(AddrParseError), [INFO] [stdout] 126 + IP(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | Bits(ParseIntError), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IPAddrPoolError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 127 - Bits(ParseIntError), [INFO] [stdout] 127 + Bits(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | OutOfBounds(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IPAddrPoolError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 128 - OutOfBounds(u8), [INFO] [stdout] 128 + OutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.ecom` is never read [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | let ecom = scan_http(&config.ecom, ip.ip()).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.time` is never read [INFO] [stdout] --> src/main.rs:101:78 [INFO] [stdout] | [INFO] [stdout] 101 | let mut interval = rocket::tokio::time::interval(Duration::from_secs(config.time as u64)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.ip_pools` is never read [INFO] [stdout] --> src/main.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let mut iter = config.ip_pools.iter().cycle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `config.dev` is never read [INFO] [stdout] --> src/main.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|pool| pool.create_ip(config.dev.as_str())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `status` is never read [INFO] [stdout] --> src/main.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | let mut lock = status.lock().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | status: Arc>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | config: ScanConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | async fn scan_dns(config: &DNSConfig, ip: &Ipv4Addr) -> Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | async fn scan_dns(config: &DNSConfig, ip: &Ipv4Addr) -> Status { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_dns` is never used [INFO] [stdout] --> src/main.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn scan_dns(config: &DNSConfig, ip: &Ipv4Addr) -> Status { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolError` 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] 52 - Io(std::io::Error), [INFO] [stdout] 52 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | Utf8(FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolError` 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] 53 - Utf8(FromUtf8Error), [INFO] [stdout] 53 + Utf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | IP(AddrParseError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PoolError` 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] 54 - IP(AddrParseError), [INFO] [stdout] 54 + IP(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | IP(AddrParseError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IPAddrPoolError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 126 - IP(AddrParseError), [INFO] [stdout] 126 + IP(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | Bits(ParseIntError), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IPAddrPoolError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 127 - Bits(ParseIntError), [INFO] [stdout] 127 + Bits(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ip_pool.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | OutOfBounds(u8), [INFO] [stdout] | ----------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IPAddrPoolError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 128 - OutOfBounds(u8), [INFO] [stdout] 128 + OutOfBounds(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ubyte v0.10.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "8b8759e770cdc8a77f2091f3f86c0b57fba2af031fb2e616a06348ab57d2fa9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8759e770cdc8a77f2091f3f86c0b57fba2af031fb2e616a06348ab57d2fa9c", kill_on_drop: false }` [INFO] [stdout] 8b8759e770cdc8a77f2091f3f86c0b57fba2af031fb2e616a06348ab57d2fa9c