[INFO] cloning repository https://github.com/P40b0s/help_utilites [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/P40b0s/help_utilites" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FP40b0s%2Fhelp_utilites", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FP40b0s%2Fhelp_utilites'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6eba29d5a7e4196c7847a6c88abbef673715104a [INFO] checking P40b0s/help_utilites against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FP40b0s%2Fhelp_utilites" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/P40b0s/help_utilites [INFO] finished tweaking git repo https://github.com/P40b0s/help_utilites [INFO] tweaked toml for git repo https://github.com/P40b0s/help_utilites written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/P40b0s/help_utilites on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/P40b0s/help_utilites 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/P40b0s/logger.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerofrom v0.1.5 [INFO] [stderr] Downloaded litemap v0.7.4 [INFO] [stderr] Downloaded zerofrom-derive v0.1.5 [INFO] [stderr] Downloaded http-range-header v0.4.1 [INFO] [stderr] Downloaded cmake v0.1.52 [INFO] [stderr] Downloaded libloading v0.8.6 [INFO] [stderr] Downloaded rand_core v0.9.0 [INFO] [stderr] Downloaded owo-colors v4.1.0 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded tokio-rustls v0.26.1 [INFO] [stderr] Downloaded prettyplease v0.2.25 [INFO] [stderr] Downloaded hyper-rustls v0.27.5 [INFO] [stderr] Downloaded core-foundation v0.10.0 [INFO] [stderr] Downloaded toml v0.8.20 [INFO] [stderr] Downloaded rustls-pki-types v1.11.0 [INFO] [stderr] Downloaded security-framework-sys v2.13.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.16 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded security-framework v3.1.0 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded tower-http v0.6.2 [INFO] [stderr] Downloaded toml_edit v0.22.24 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded syn v2.0.96 [INFO] [stderr] Downloaded winnow v0.7.7 [INFO] [stderr] Downloaded aws-lc-rs v1.12.0 [INFO] [stderr] Downloaded h2 v0.4.6 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded zerocopy v0.8.16 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded rustls v0.23.26 [INFO] [stderr] Downloaded rustix v0.38.42 [INFO] [stderr] Downloaded rustls-webpki v0.103.1 [INFO] [stderr] Downloaded aws-lc-sys v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02 [INFO] running `Command { std: "docker" "start" "74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling aws-lc-rs v1.12.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling zerocopy v0.8.16 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking winnow v0.7.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling aws-lc-sys v0.24.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking logger v0.1.1 (https://github.com/P40b0s/logger.git?branch=main#e00f8458) [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking tokio-rustls v0.26.1 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking utilites v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/serialize.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use logger::{error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/retry.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/retry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `any::TypeId`, `cell::LazyCell`, and `result` [INFO] [stdout] --> src/http.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::TypeId, cell::LazyCell, net::{IpAddr, Ipv4Addr, SocketAddr}, result, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::TcpSocket` [INFO] [stdout] --> src/http.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::{net::TcpSocket, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/retry.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logger::info` [INFO] [stdout] --> src/io.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | use logger::info; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/serialize.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use logger::{error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/retry.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/retry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `any::TypeId`, `cell::LazyCell`, and `result` [INFO] [stdout] --> src/http.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::TypeId, cell::LazyCell, net::{IpAddr, Ipv4Addr, SocketAddr}, result, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::TcpSocket` [INFO] [stdout] --> src/http.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::{net::TcpSocket, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> src/http.rs:439:51 [INFO] [stdout] | [INFO] [stdout] 439 | ...e, HeaderValue, ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, CONTENT_TYPE, HOST, ORIGIN, REFERER, UPGRADE_INSECURE_REQUESTS, USER_AGENT}, HeaderMap, R... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/retry.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | (self.rand() as f64)/(::max_value() as f64) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | (self.rand() as f64)/(::max_value() as f64) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmp_func` [INFO] [stdout] --> src/exclude.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exclude_fn(items: &mut Vec, to_remove: Vec, cmp_func: F) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `work_dir` is never read [INFO] [stdout] --> src/serialize.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let mut work_dir = PathBuf::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 21 | work_dir = std::env::current_dir().unwrap(); [INFO] [stdout] | -------- `work_dir` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exclude_fn` is never used [INFO] [stdout] --> src/exclude.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exclude_fn(items: &mut Vec, to_remove: Vec, cmp_func: F) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/http.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | async fn connect(addr: SocketAddr) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_body_timeout` is never used [INFO] [stdout] --> src/http.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | async fn get_body_timeout(uri: Uri) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_body_retry` is never used [INFO] [stdout] --> src/http.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | async fn get_body_retry(uri: Uri) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_body` is never used [INFO] [stdout] --> src/http.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn get_body(req: Request) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoded` is never constructed [INFO] [stdout] --> src/http.rs:631:16 [INFO] [stdout] | [INFO] [stdout] 631 | pub struct Encoded(pub Str); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_str`, `to_string`, `write`, and `append_to` are never used [INFO] [stdout] --> src/http.rs:638:16 [INFO] [stdout] | [INFO] [stdout] 633 | impl> Encoded { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn new(string: Str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | pub fn to_str(&self) -> Cow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 656 | pub fn write(&self, writer: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | pub fn append_to(&self, string: &mut String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `str` is never used [INFO] [stdout] --> src/http.rs:672:16 [INFO] [stdout] | [INFO] [stdout] 668 | impl<'a> Encoded<&'a str> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn str(string: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_hex_digit` is never used [INFO] [stdout] --> src/http.rs:765:19 [INFO] [stdout] | [INFO] [stdout] 765 | pub(crate) fn from_hex_digit(digit: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/http.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn decode(data: &str) -> Result, FromUtf8Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_binary` is never used [INFO] [stdout] --> src/http.rs:789:12 [INFO] [stdout] | [INFO] [stdout] 789 | pub fn decode_binary(data: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeverRealloc` is never constructed [INFO] [stdout] --> src/http.rs:845:12 [INFO] [stdout] | [INFO] [stdout] 845 | struct NeverRealloc<'a, T>(pub &'a mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `extend_from_slice` are never used [INFO] [stdout] --> src/http.rs:850:16 [INFO] [stdout] | [INFO] [stdout] 847 | impl NeverRealloc<'_, T> [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 850 | pub fn push(&mut self, val: T) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | pub fn extend_from_slice(&mut self, val: &[T]) where T: Clone [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmp_func` [INFO] [stdout] --> src/exclude.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exclude_fn(items: &mut Vec, to_remove: Vec, cmp_func: F) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn to_str(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 643 | pub fn to_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:688:25 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn encode(data: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 688 | pub fn encode(data: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:694:32 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn encode_binary(data: &[u8]) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 694 | pub fn encode_binary(data: &[u8]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:779:25 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn decode(data: &str) -> Result, FromUtf8Error> { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 779 | pub fn decode(data: &str) -> Result, FromUtf8Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | pub fn decode_binary(data: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 789 | pub fn decode_binary(data: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `work_dir` is never read [INFO] [stdout] --> src/serialize.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let mut work_dir = PathBuf::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 21 | work_dir = std::env::current_dir().unwrap(); [INFO] [stdout] | -------- `work_dir` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/http.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | let host = [uri.host().unwrap(), uri.port().unwrap().as_str()].concat(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exclude_fn` is never used [INFO] [stdout] --> src/exclude.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exclude_fn(items: &mut Vec, to_remove: Vec, cmp_func: F) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/http.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | async fn connect(addr: SocketAddr) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_get_request` is never used [INFO] [stdout] --> src/http.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 594 | fn empty_get_request(uri: Uri) -> Request [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoded` is never constructed [INFO] [stdout] --> src/http.rs:631:16 [INFO] [stdout] | [INFO] [stdout] 631 | pub struct Encoded(pub Str); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `to_str`, `to_string`, `write`, and `append_to` are never used [INFO] [stdout] --> src/http.rs:638:16 [INFO] [stdout] | [INFO] [stdout] 633 | impl> Encoded { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn new(string: Str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | pub fn to_str(&self) -> Cow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 656 | pub fn write(&self, writer: &mut W) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | pub fn append_to(&self, string: &mut String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `str` is never used [INFO] [stdout] --> src/http.rs:672:16 [INFO] [stdout] | [INFO] [stdout] 668 | impl<'a> Encoded<&'a str> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn str(string: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_hex_digit` is never used [INFO] [stdout] --> src/http.rs:765:19 [INFO] [stdout] | [INFO] [stdout] 765 | pub(crate) fn from_hex_digit(digit: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/http.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn decode(data: &str) -> Result, FromUtf8Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_binary` is never used [INFO] [stdout] --> src/http.rs:789:12 [INFO] [stdout] | [INFO] [stdout] 789 | pub fn decode_binary(data: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeverRealloc` is never constructed [INFO] [stdout] --> src/http.rs:845:12 [INFO] [stdout] | [INFO] [stdout] 845 | struct NeverRealloc<'a, T>(pub &'a mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `extend_from_slice` are never used [INFO] [stdout] --> src/http.rs:850:16 [INFO] [stdout] | [INFO] [stdout] 847 | impl NeverRealloc<'_, T> [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 850 | pub fn push(&mut self, val: T) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | pub fn extend_from_slice(&mut self, val: &[T]) where T: Clone [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn to_str(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 643 | pub fn to_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:688:25 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn encode(data: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 688 | pub fn encode(data: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:694:32 [INFO] [stdout] | [INFO] [stdout] 694 | pub fn encode_binary(data: &[u8]) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 694 | pub fn encode_binary(data: &[u8]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:779:25 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn decode(data: &str) -> Result, FromUtf8Error> { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 779 | pub fn decode(data: &str) -> Result, FromUtf8Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | pub fn decode_binary(data: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 789 | pub fn decode_binary(data: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `tower-http` [INFO] [stderr] --> Cargo.toml:68:15 [INFO] [stderr] | [INFO] [stderr] 68 | [dependencies.tower-http] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tower-http` [INFO] [stderr] warning: `utilites` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02", kill_on_drop: false }` [INFO] [stdout] 74db87415726cdd510552cefee6b351f81eeb4d3c164fa81cdde03b943e09b02