[INFO] fetching crate headers-accept-encoding 1.0.1...
[INFO] checking headers-accept-encoding-1.0.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate headers-accept-encoding 1.0.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate headers-accept-encoding 1.0.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate headers-accept-encoding 1.0.1
[INFO] finished tweaking crates.io crate headers-accept-encoding 1.0.1
[INFO] tweaked toml for crates.io crate headers-accept-encoding 1.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b58fe62437cec1461e9a2b9ea9159a8b15cff78b283a28d86306edaff11d017
[INFO] running `Command { std: "docker" "start" "-a" "3b58fe62437cec1461e9a2b9ea9159a8b15cff78b283a28d86306edaff11d017", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b58fe62437cec1461e9a2b9ea9159a8b15cff78b283a28d86306edaff11d017", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b58fe62437cec1461e9a2b9ea9159a8b15cff78b283a28d86306edaff11d017", kill_on_drop: false }`
[INFO] [stdout] 3b58fe62437cec1461e9a2b9ea9159a8b15cff78b283a28d86306edaff11d017
[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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 194cc7b02b4ada7b6774118d78840da4cc3a43694736436ec0ed6469e41ec4c8
[INFO] running `Command { std: "docker" "start" "-a" "194cc7b02b4ada7b6774118d78840da4cc3a43694736436ec0ed6469e41ec4c8", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking headers-accept-encoding v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `httpdate` is imported redundantly
[INFO] [stdout]   --> src/util/http_date.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use httpdate;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | extern crate httpdate;
[INFO] [stdout]    | ---------------------- the item `httpdate` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]   --> src/util/quality_value.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use std::convert::{From, TryFrom};
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `mime` is imported redundantly
[INFO] [stdout]   --> src/common/content_type.rs:3:12
[INFO] [stdout]    |
[INFO] [stdout] 3  | use mime::{self, Mime};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | extern crate mime;
[INFO] [stdout]    | ------------------ the item `mime` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `http` is imported redundantly
[INFO] [stdout]   --> src/map_ext.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use http;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | extern crate http;
[INFO] [stdout]    | ------------------ the item `http` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `httpdate` is imported redundantly
[INFO] [stdout]   --> src/util/http_date.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | use httpdate;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | extern crate httpdate;
[INFO] [stdout]    | ---------------------- the item `httpdate` is already imported here
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:3:24
[INFO] [stdout]    |
[INFO] [stdout] 3  | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `From` is imported redundantly
[INFO] [stdout]   --> src/util/quality_value.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use std::convert::{From, TryFrom};
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `ContentCoding` is imported redundantly
[INFO] [stdout]    --> src/common/accept_encoding.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 131 |     use super::*;
[INFO] [stdout]     |         -------- the item `ContentCoding` is already imported here
[INFO] [stdout] 132 |     use {ContentCoding, HeaderValue};
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `HeaderValue` is imported redundantly
[INFO] [stdout]    --> src/common/accept_encoding.rs:132:25
[INFO] [stdout]     |
[INFO] [stdout] 131 |     use super::*;
[INFO] [stdout]     |         -------- the item `HeaderValue` is already imported here
[INFO] [stdout] 132 |     use {ContentCoding, HeaderValue};
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `mime` is imported redundantly
[INFO] [stdout]   --> src/common/content_type.rs:3:12
[INFO] [stdout]    |
[INFO] [stdout] 3  | use mime::{self, Mime};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | extern crate mime;
[INFO] [stdout]    | ------------------ the item `mime` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `http` is imported redundantly
[INFO] [stdout]   --> src/map_ext.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use http;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | extern crate http;
[INFO] [stdout]    | ------------------ the item `http` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `headers-accept-encoding` (lib test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "194cc7b02b4ada7b6774118d78840da4cc3a43694736436ec0ed6469e41ec4c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "194cc7b02b4ada7b6774118d78840da4cc3a43694736436ec0ed6469e41ec4c8", kill_on_drop: false }`
[INFO] [stdout] 194cc7b02b4ada7b6774118d78840da4cc3a43694736436ec0ed6469e41ec4c8
