[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] 6edd1f69be5b126c967ec946e915373f5f3c8170
[INFO] testing P40b0s/help_utilites against 1.83.0 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FP40b0s%2Fhelp_utilites" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/P40b0s/help_utilites on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc1/source/Cargo.toml
[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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/P40b0s/logger.git`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d049a54d61d37209348ec3d9fa59f6b28677133cb00b1d6655c2fe3875c92c43
[INFO] running `Command { std: "docker" "start" "-a" "d049a54d61d37209348ec3d9fa59f6b28677133cb00b1d6655c2fe3875c92c43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d049a54d61d37209348ec3d9fa59f6b28677133cb00b1d6655c2fe3875c92c43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d049a54d61d37209348ec3d9fa59f6b28677133cb00b1d6655c2fe3875c92c43", kill_on_drop: false }`
[INFO] [stdout] d049a54d61d37209348ec3d9fa59f6b28677133cb00b1d6655c2fe3875c92c43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 100109a542abff7ac29bdc3f2c9e9749c8e5faf0cff6156df5e6b4977edd713a
[INFO] running `Command { std: "docker" "start" "-a" "100109a542abff7ac29bdc3f2c9e9749c8e5faf0cff6156df5e6b4977edd713a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling foldhash v0.1.3
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling owo-colors v4.1.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling fern v0.6.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-range-header v0.4.1
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling logger v0.1.1 (https://github.com/P40b0s/logger.git?branch=main#e00f8458)
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tower-http v0.6.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling utilites v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/io.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Read, path::{Path, PathBuf}};
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::Error`
[INFO] [stdout]  --> src/io.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]  --> src/io.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[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 imports: `FixedOffset` and `Utc`
[INFO] [stdout]  --> src/dates.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[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: `any::TypeId` and `result`
[INFO] [stdout]  --> src/http.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::TypeId, net::SocketAddr, result, time::Duration};
[INFO] [stdout]   |           ^^^^^^^^^^^                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]   --> src/http.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpSocket`
[INFO] [stdout]   --> src/http.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::net::TcpSocket;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/dates.rs:1:62
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Cow, collections::BTreeSet, fmt::{Display, Write}};
[INFO] [stdout]   |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]  --> src/dates.rs:3:102
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[INFO] [stdout]   |                                                                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmp_func`
[INFO] [stdout]   --> src/exclude.rs:11:64
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `work_dir` is never read
[INFO] [stdout]   --> src/serialize.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut work_dir = PathBuf::default();
[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: function `exclude_fn` is never used
[INFO] [stdout]   --> src/exclude.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, cmp_func: F)
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect` is never used
[INFO] [stdout]    --> src/http.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn connect(addr: SocketAddr) -> Result<TcpStream, Error>
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_body_timeout` is never used
[INFO] [stdout]    --> src/http.rs:144:10
[INFO] [stdout]     |
[INFO] [stdout] 144 | async fn get_body_timeout(uri: Uri)  -> Result<Bytes, Error>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_body_retry` is never used
[INFO] [stdout]    --> src/http.rs:167:10
[INFO] [stdout]     |
[INFO] [stdout] 167 | async fn get_body_retry(uri: Uri)  -> Result<Bytes, Error>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_body` is never used
[INFO] [stdout]    --> src/http.rs:172:10
[INFO] [stdout]     |
[INFO] [stdout] 172 | async fn get_body(req: Request<BoxBody>) -> Result<Bytes, Error>
[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:839:16
[INFO] [stdout]     |
[INFO] [stdout] 834 |     impl<Str: AsRef<[u8]>> Encoded<Str> {
[INFO] [stdout]     |     ----------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 839 |         pub fn new(string: Str) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 844 |         pub fn to_str(&self) -> Cow<str> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 851 |         pub fn to_string(&self) -> String {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 857 |         pub fn write<W: io::Write>(&self, writer: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 864 |         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:873:16
[INFO] [stdout]     |
[INFO] [stdout] 869 |     impl<'a> Encoded<&'a str> {
[INFO] [stdout]     |     ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 873 |         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:966:19
[INFO] [stdout]     |
[INFO] [stdout] 966 |     pub(crate) fn from_hex_digit(digit: u8) -> Option<u8> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]    --> src/http.rs:980:12
[INFO] [stdout]     |
[INFO] [stdout] 980 |     pub fn decode(data: &str) -> Result<Cow<str>, FromUtf8Error> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_binary` is never used
[INFO] [stdout]    --> src/http.rs:990:12
[INFO] [stdout]     |
[INFO] [stdout] 990 |     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:1046:12
[INFO] [stdout]      |
[INFO] [stdout] 1046 |     struct NeverRealloc<'a, T>(pub &'a mut Vec<T>);
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push` and `extend_from_slice` are never used
[INFO] [stdout]     --> src/http.rs:1050:16
[INFO] [stdout]      |
[INFO] [stdout] 1048 |     impl<T> NeverRealloc<'_, T> {
[INFO] [stdout]      |     --------------------------- methods in this implementation
[INFO] [stdout] 1049 |         #[inline]
[INFO] [stdout] 1050 |         pub fn push(&mut self, val: T) {
[INFO] [stdout]      |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1058 |         pub fn extend_from_slice(&mut self, val: &[T]) where T: Clone {
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.02s
[INFO] running `Command { std: "docker" "inspect" "100109a542abff7ac29bdc3f2c9e9749c8e5faf0cff6156df5e6b4977edd713a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "100109a542abff7ac29bdc3f2c9e9749c8e5faf0cff6156df5e6b4977edd713a", kill_on_drop: false }`
[INFO] [stdout] 100109a542abff7ac29bdc3f2c9e9749c8e5faf0cff6156df5e6b4977edd713a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dbc36e4f19248f0a930af8abe869b1e4519182d1aa339dabdc901ccbd3cf0ccf
[INFO] running `Command { std: "docker" "start" "-a" "dbc36e4f19248f0a930af8abe869b1e4519182d1aa339dabdc901ccbd3cf0ccf", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling tower-http v0.6.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling utilites v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/io.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Read, path::{Path, PathBuf}};
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::Error`
[INFO] [stdout]  --> src/io.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]  --> src/io.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[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 imports: `FixedOffset` and `Utc`
[INFO] [stdout]  --> src/dates.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[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: `any::TypeId` and `result`
[INFO] [stdout]  --> src/http.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::TypeId, net::SocketAddr, result, time::Duration};
[INFO] [stdout]   |           ^^^^^^^^^^^                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]   --> src/http.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpSocket`
[INFO] [stdout]   --> src/http.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::net::TcpSocket;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/dates.rs:1:62
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Cow, collections::BTreeSet, fmt::{Display, Write}};
[INFO] [stdout]   |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]  --> src/dates.rs:3:102
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[INFO] [stdout]   |                                                                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmp_func`
[INFO] [stdout]   --> src/exclude.rs:11:64
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `work_dir` is never read
[INFO] [stdout]   --> src/serialize.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut work_dir = PathBuf::default();
[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: function `exclude_fn` is never used
[INFO] [stdout]   --> src/exclude.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, cmp_func: F)
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect` is never used
[INFO] [stdout]    --> src/http.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn connect(addr: SocketAddr) -> Result<TcpStream, Error>
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_body_timeout` is never used
[INFO] [stdout]    --> src/http.rs:144:10
[INFO] [stdout]     |
[INFO] [stdout] 144 | async fn get_body_timeout(uri: Uri)  -> Result<Bytes, Error>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_body_retry` is never used
[INFO] [stdout]    --> src/http.rs:167:10
[INFO] [stdout]     |
[INFO] [stdout] 167 | async fn get_body_retry(uri: Uri)  -> Result<Bytes, Error>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_body` is never used
[INFO] [stdout]    --> src/http.rs:172:10
[INFO] [stdout]     |
[INFO] [stdout] 172 | async fn get_body(req: Request<BoxBody>) -> Result<Bytes, Error>
[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:839:16
[INFO] [stdout]     |
[INFO] [stdout] 834 |     impl<Str: AsRef<[u8]>> Encoded<Str> {
[INFO] [stdout]     |     ----------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 839 |         pub fn new(string: Str) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 844 |         pub fn to_str(&self) -> Cow<str> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 851 |         pub fn to_string(&self) -> String {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 857 |         pub fn write<W: io::Write>(&self, writer: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 864 |         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:873:16
[INFO] [stdout]     |
[INFO] [stdout] 869 |     impl<'a> Encoded<&'a str> {
[INFO] [stdout]     |     ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 873 |         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:966:19
[INFO] [stdout]     |
[INFO] [stdout] 966 |     pub(crate) fn from_hex_digit(digit: u8) -> Option<u8> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]    --> src/http.rs:980:12
[INFO] [stdout]     |
[INFO] [stdout] 980 |     pub fn decode(data: &str) -> Result<Cow<str>, FromUtf8Error> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_binary` is never used
[INFO] [stdout]    --> src/http.rs:990:12
[INFO] [stdout]     |
[INFO] [stdout] 990 |     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:1046:12
[INFO] [stdout]      |
[INFO] [stdout] 1046 |     struct NeverRealloc<'a, T>(pub &'a mut Vec<T>);
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push` and `extend_from_slice` are never used
[INFO] [stdout]     --> src/http.rs:1050:16
[INFO] [stdout]      |
[INFO] [stdout] 1048 |     impl<T> NeverRealloc<'_, T> {
[INFO] [stdout]      |     --------------------------- methods in this implementation
[INFO] [stdout] 1049 |         #[inline]
[INFO] [stdout] 1050 |         pub fn push(&mut self, val: T) {
[INFO] [stdout]      |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1058 |         pub fn extend_from_slice(&mut self, val: &[T]) where T: Clone {
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/io.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Read, path::{Path, PathBuf}};
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::Error`
[INFO] [stdout]  --> src/io.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]  --> src/io.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `logger::info`
[INFO] [stdout]    --> src/io.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     use logger::info;
[INFO] [stdout]     |         ^^^^^^^^^^^^
[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 imports: `FixedOffset` and `Utc`
[INFO] [stdout]  --> src/dates.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::exclude`
[INFO] [stdout]    --> src/dates.rs:540:9
[INFO] [stdout]     |
[INFO] [stdout] 540 |     use crate::exclude;
[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: `any::TypeId` and `result`
[INFO] [stdout]  --> src/http.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::TypeId, net::SocketAddr, result, time::Duration};
[INFO] [stdout]   |           ^^^^^^^^^^^                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]   --> src/http.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpSocket`
[INFO] [stdout]   --> src/http.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::net::TcpSocket;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue`
[INFO] [stdout]    --> src/http.rs:717:51
[INFO] [stdout]     |
[INFO] [stdout] 717 | ...rName, HeaderValue, ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, HOST, REFERER, UPGRADE_INSECURE_REQUESTS, USER_AGENT}, HeaderMap, Reques...
[INFO] [stdout]     |           ^^^^^^^^^^^                                                                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/dates.rs:1:62
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Cow, collections::BTreeSet, fmt::{Display, Write}};
[INFO] [stdout]   |                                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]  --> src/dates.rs:3:102
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[INFO] [stdout]   |                                                                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmp_func`
[INFO] [stdout]   --> src/exclude.rs:11:64
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `work_dir` is never read
[INFO] [stdout]   --> src/serialize.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut work_dir = PathBuf::default();
[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: unused variable: `host`
[INFO] [stdout]    --> src/http.rs:797:13
[INFO] [stdout]     |
[INFO] [stdout] 797 |         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:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, cmp_func: F)
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect` is never used
[INFO] [stdout]    --> src/http.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn connect(addr: SocketAddr) -> Result<TcpStream, Error>
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `empty_get_request` is never used
[INFO] [stdout]    --> src/http.rs:795:8
[INFO] [stdout]     |
[INFO] [stdout] 795 |     fn empty_get_request(uri: Uri) -> Request<BoxBody>
[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:839:16
[INFO] [stdout]     |
[INFO] [stdout] 834 |     impl<Str: AsRef<[u8]>> Encoded<Str> {
[INFO] [stdout]     |     ----------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 839 |         pub fn new(string: Str) -> Self {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 844 |         pub fn to_str(&self) -> Cow<str> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 851 |         pub fn to_string(&self) -> String {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 857 |         pub fn write<W: io::Write>(&self, writer: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 864 |         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:873:16
[INFO] [stdout]     |
[INFO] [stdout] 869 |     impl<'a> Encoded<&'a str> {
[INFO] [stdout]     |     ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 873 |         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:966:19
[INFO] [stdout]     |
[INFO] [stdout] 966 |     pub(crate) fn from_hex_digit(digit: u8) -> Option<u8> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]    --> src/http.rs:980:12
[INFO] [stdout]     |
[INFO] [stdout] 980 |     pub fn decode(data: &str) -> Result<Cow<str>, FromUtf8Error> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_binary` is never used
[INFO] [stdout]    --> src/http.rs:990:12
[INFO] [stdout]     |
[INFO] [stdout] 990 |     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:1046:12
[INFO] [stdout]      |
[INFO] [stdout] 1046 |     struct NeverRealloc<'a, T>(pub &'a mut Vec<T>);
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push` and `extend_from_slice` are never used
[INFO] [stdout]     --> src/http.rs:1050:16
[INFO] [stdout]      |
[INFO] [stdout] 1048 |     impl<T> NeverRealloc<'_, T> {
[INFO] [stdout]      |     --------------------------- methods in this implementation
[INFO] [stdout] 1049 |         #[inline]
[INFO] [stdout] 1050 |         pub fn push(&mut self, val: T) {
[INFO] [stdout]      |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1058 |         pub fn extend_from_slice(&mut self, val: &[T]) where T: Clone {
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 32.98s
[INFO] running `Command { std: "docker" "inspect" "dbc36e4f19248f0a930af8abe869b1e4519182d1aa339dabdc901ccbd3cf0ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbc36e4f19248f0a930af8abe869b1e4519182d1aa339dabdc901ccbd3cf0ccf", kill_on_drop: false }`
[INFO] [stdout] dbc36e4f19248f0a930af8abe869b1e4519182d1aa339dabdc901ccbd3cf0ccf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ef492e11f315a416cdf94c1269a0fc9e47a5f8ce044e540034d763ac39a7789b
[INFO] running `Command { std: "docker" "start" "-a" "ef492e11f315a416cdf94c1269a0fc9e47a5f8ce044e540034d763ac39a7789b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/io.rs:1:44
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{fs::File, io::Read, path::{Path, PathBuf}};
[INFO] [stderr]   |                                            ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::error::Error`
[INFO] [stderr]  --> src/io.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AsyncWriteExt`
[INFO] [stderr]  --> src/io.rs:4:31
[INFO] [stderr]   |
[INFO] [stderr] 4 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stderr]   |                               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/serialize.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 | use logger::{error, warn};
[INFO] [stderr]   |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `FixedOffset` and `Utc`
[INFO] [stderr]  --> src/dates.rs:3:34
[INFO] [stderr]   |
[INFO] [stderr] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[INFO] [stderr]   |                                  ^^^^^^^^^^^                                                                             ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `thread_rng`
[INFO] [stderr]  --> src/retry.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | use rand::{thread_rng, Rng};
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stderr]  --> src/retry.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use rand::seq::SliceRandom;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `any::TypeId` and `result`
[INFO] [stderr]  --> src/http.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{any::TypeId, net::SocketAddr, result, time::Duration};
[INFO] [stderr]   |           ^^^^^^^^^^^                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Deserialize`
[INFO] [stderr]   --> src/http.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use serde::{Deserialize, Serialize};
[INFO] [stderr]    |             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::net::TcpSocket`
[INFO] [stderr]   --> src/http.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use tokio::net::TcpSocket;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]  --> src/dates.rs:1:62
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{borrow::Cow, collections::BTreeSet, fmt::{Display, Write}};
[INFO] [stderr]   |                                                              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TimeZone`
[INFO] [stderr]  --> src/dates.rs:3:102
[INFO] [stderr]   |
[INFO] [stderr] 3 | use chrono::{DateTime, Datelike, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeDelta, TimeZone, Timelike, Utc, Weekday};
[INFO] [stderr]   |                                                                                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cmp_func`
[INFO] [stderr]   --> src/exclude.rs:11:64
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, cmp_func: F)
[INFO] [stderr]    |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmp_func`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `work_dir` is never read
[INFO] [stderr]   --> src/serialize.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let mut work_dir = PathBuf::default();
[INFO] [stderr]    |             ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `exclude_fn` is never used
[INFO] [stderr]   --> src/exclude.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn exclude_fn<T, F>(items: &mut Vec<T>, to_remove: Vec<T>, cmp_func: F)
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `connect` is never used
[INFO] [stderr]    --> src/http.rs:129:10
[INFO] [stderr]     |
[INFO] [stderr] 129 | async fn connect(addr: SocketAddr) -> Result<TcpStream, Error>
[INFO] [stderr]     |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_body_timeout` is never used
[INFO] [stderr]    --> src/http.rs:144:10
[INFO] [stderr]     |
[INFO] [stderr] 144 | async fn get_body_timeout(uri: Uri)  -> Result<Bytes, Error>
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_body_retry` is never used
[INFO] [stderr]    --> src/http.rs:167:10
[INFO] [stderr]     |
[INFO] [stderr] 167 | async fn get_body_retry(uri: Uri)  -> Result<Bytes, Error>
[INFO] [stderr]     |          ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_body` is never used
[INFO] [stderr]    --> src/http.rs:172:10
[INFO] [stderr]     |
[INFO] [stderr] 172 | async fn get_body(req: Request<BoxBody>) -> Result<Bytes, Error>
[INFO] [stderr]     |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `to_str`, `to_string`, `write`, and `append_to` are never used
[INFO] [stderr]    --> src/http.rs:839:16
[INFO] [stderr]     |
[INFO] [stderr] 834 |     impl<Str: AsRef<[u8]>> Encoded<Str> {
[INFO] [stderr]     |     ----------------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 839 |         pub fn new(string: Str) -> Self {
[INFO] [stderr]     |                ^^^
[INFO] [stderr] ...
[INFO] [stderr] 844 |         pub fn to_str(&self) -> Cow<str> {
[INFO] [stderr]     |                ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 851 |         pub fn to_string(&self) -> String {
[INFO] [stderr]     |                ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 857 |         pub fn write<W: io::Write>(&self, writer: &mut W) -> io::Result<()> {
[INFO] [stderr]     |                ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 864 |         pub fn append_to(&self, string: &mut String) {
[INFO] [stderr]     |                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `str` is never used
[INFO] [stderr]    --> src/http.rs:873:16
[INFO] [stderr]     |
[INFO] [stderr] 869 |     impl<'a> Encoded<&'a str> {
[INFO] [stderr]     |     ------------------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 873 |         pub fn str(string: &'a str) -> Self {
[INFO] [stderr]     |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `from_hex_digit` is never used
[INFO] [stderr]    --> src/http.rs:966:19
[INFO] [stderr]     |
[INFO] [stderr] 966 |     pub(crate) fn from_hex_digit(digit: u8) -> Option<u8> {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `decode` is never used
[INFO] [stderr]    --> src/http.rs:980:12
[INFO] [stderr]     |
[INFO] [stderr] 980 |     pub fn decode(data: &str) -> Result<Cow<str>, FromUtf8Error> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `decode_binary` is never used
[INFO] [stderr]    --> src/http.rs:990:12
[INFO] [stderr]     |
[INFO] [stderr] 990 |     pub fn decode_binary(data: &[u8]) -> Cow<[u8]> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NeverRealloc` is never constructed
[INFO] [stderr]     --> src/http.rs:1046:12
[INFO] [stderr]      |
[INFO] [stderr] 1046 |     struct NeverRealloc<'a, T>(pub &'a mut Vec<T>);
[INFO] [stderr]      |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `push` and `extend_from_slice` are never used
[INFO] [stderr]     --> src/http.rs:1050:16
[INFO] [stderr]      |
[INFO] [stderr] 1048 |     impl<T> NeverRealloc<'_, T> {
[INFO] [stderr]      |     --------------------------- methods in this implementation
[INFO] [stderr] 1049 |         #[inline]
[INFO] [stderr] 1050 |         pub fn push(&mut self, val: T) {
[INFO] [stderr]      |                ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1058 |         pub fn extend_from_slice(&mut self, val: &[T]) where T: Clone {
[INFO] [stderr]      |                ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `logger::info`
[INFO] [stderr]    --> src/io.rs:117:9
[INFO] [stderr]     |
[INFO] [stderr] 117 |     use logger::info;
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::exclude`
[INFO] [stderr]    --> src/dates.rs:540:9
[INFO] [stderr]     |
[INFO] [stderr] 540 |     use crate::exclude;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HeaderMap` and `HeaderValue`
[INFO] [stderr]    --> src/http.rs:717:51
[INFO] [stderr]     |
[INFO] [stderr] 717 | ...rName, HeaderValue, ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, HOST, REFERER, UPGRADE_INSECURE_REQUESTS, USER_AGENT}, HeaderMap, Reques...
[INFO] [stderr]     |           ^^^^^^^^^^^                                                                                                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `host`
[INFO] [stderr]    --> src/http.rs:797:13
[INFO] [stderr]     |
[INFO] [stderr] 797 |         let host = [uri.host().unwrap(), uri.port().unwrap().as_str()].concat();
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stderr] 
[INFO] [stderr] warning: function `empty_get_request` is never used
[INFO] [stderr]    --> src/http.rs:795:8
[INFO] [stderr]     |
[INFO] [stderr] 795 |     fn empty_get_request(uri: Uri) -> Request<BoxBody>
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `utilites` (lib) generated 26 warnings (run `cargo fix --lib -p utilites` to apply 10 suggestions)
[INFO] [stderr] warning: `utilites` (lib test) generated 28 warnings (23 duplicates) (run `cargo fix --lib -p utilites --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/utilites-6299850714b847fc)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test dates::test::round ... ok
[INFO] [stdout] test dates::test::test_in_range ... ok
[INFO] [stdout] test dates::test::date_output ... ok
[INFO] [stdout] test dates::test::test_time_in_range ... ok
[INFO] [stdout] test dates::test::test_tz ... ok
[INFO] [stdout] test dates::test::test_exclude ... ok
[INFO] [stdout] test dates::test::serialize_date ... ok
[INFO] [stdout] test hashing::test::date_output ... ok
[INFO] [stdout] test http::tests::test_hyper_cli ... ok
[INFO] [stdout] test http::tests::test_hyper_cli_new ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.05s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests utilites
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/http.rs - http::encoding::Encoded (line 826) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/http.rs - http::encoding::Encoded (line 826) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `urlencoding`
[INFO] [stdout]  --> src/http.rs:827:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use urlencoding::Encoded;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `urlencoding`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/http.rs - http::encoding::Encoded (line 826)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ef492e11f315a416cdf94c1269a0fc9e47a5f8ce044e540034d763ac39a7789b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef492e11f315a416cdf94c1269a0fc9e47a5f8ce044e540034d763ac39a7789b", kill_on_drop: false }`
[INFO] [stdout] ef492e11f315a416cdf94c1269a0fc9e47a5f8ce044e540034d763ac39a7789b
