[INFO] fetching crate anneal 0.3.4... [INFO] checking anneal-0.3.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate anneal 0.3.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate anneal 0.3.4 [INFO] finished tweaking crates.io crate anneal 0.3.4 [INFO] tweaked toml for crates.io crate anneal 0.3.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anneal 0.3.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding cookie v0.12.0 (available: v0.18.1) [INFO] [stderr] Adding hyper v0.10.16 (available: v1.7.0) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded japi v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc53c7e77430a12d29a6884912349f4bc9064815839f07a8eeec1969292b66cb [INFO] running `Command { std: "docker" "start" "-a" "cc53c7e77430a12d29a6884912349f4bc9064815839f07a8eeec1969292b66cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc53c7e77430a12d29a6884912349f4bc9064815839f07a8eeec1969292b66cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc53c7e77430a12d29a6884912349f4bc9064815839f07a8eeec1969292b66cb", kill_on_drop: false }` [INFO] [stdout] cc53c7e77430a12d29a6884912349f4bc9064815839f07a8eeec1969292b66cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa1823bc4cdd880ffc6de0b63264301091905201fcc04f985ff0807e967869fb [INFO] running `Command { std: "docker" "start" "-a" "aa1823bc4cdd880ffc6de0b63264301091905201fcc04f985ff0807e967869fb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking anneal v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, and `io::Cursor` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | io::Cursor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | net::{ [INFO] [stdout] 73 | IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Ipv4Addr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Host` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use url::Host; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/transfer_connector.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContentType`, `Cookie`, `Mime`, `SubLevel`, and `TopLevel` [INFO] [stdout] --> src/response_examine.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | headers::{Header, HeaderFormat, ContentType, Cookie}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | mime::{Mime, TopLevel, SubLevel}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::RequestBuilder` [INFO] [stdout] --> src/response_examine.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | use crate::RequestBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `headers::Expect`, `method::Method`, `modifiers::Header as ModHead`, and `prelude::*` [INFO] [stdout] --> src/response_examine.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | method::Method, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 256 | headers::Expect, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 257 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 258 | modifiers::Header as ModHead, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:69 [INFO] [stdout] | [INFO] [stdout] 309 | let mut buff_read = BufReader::new(&mut serv_stream as &mut NetworkStream); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 | let mut buff_read = BufReader::new(&mut serv_stream as &mut dyn NetworkStream); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBody` [INFO] [stdout] --> src/response_examine.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | response::{Response, WriteBody}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/transfer_connector.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/response_examine.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | let body = response.body.as_mut().map(|mut body| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_address` is never read [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct RequestBuilder { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | client_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestExtension` is never constructed [INFO] [stdout] --> src/response_examine.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct TestExtension; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | rb.send(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 299 | let _ = rb.send(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, and `io::Cursor` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | io::Cursor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | net::{ [INFO] [stdout] 73 | IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Ipv4Addr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Host` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use url::Host; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/transfer_connector.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContentType`, `Cookie`, `Mime`, `SubLevel`, and `TopLevel` [INFO] [stdout] --> src/response_examine.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | headers::{Header, HeaderFormat, ContentType, Cookie}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | mime::{Mime, TopLevel, SubLevel}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:69 [INFO] [stdout] | [INFO] [stdout] 309 | let mut buff_read = BufReader::new(&mut serv_stream as &mut NetworkStream); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 | let mut buff_read = BufReader::new(&mut serv_stream as &mut dyn NetworkStream); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBody` [INFO] [stdout] --> src/response_examine.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | response::{Response, WriteBody}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/transfer_connector.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/response_examine.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | let body = response.body.as_mut().map(|mut body| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:405:29 [INFO] [stdout] | [INFO] [stdout] 405 | if let Some(mut tm) = req.extensions.get_mut::() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_address` is never read [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct RequestBuilder { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | client_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | rb.send(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 299 | let _ = rb.send(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "aa1823bc4cdd880ffc6de0b63264301091905201fcc04f985ff0807e967869fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa1823bc4cdd880ffc6de0b63264301091905201fcc04f985ff0807e967869fb", kill_on_drop: false }` [INFO] [stdout] aa1823bc4cdd880ffc6de0b63264301091905201fcc04f985ff0807e967869fb