[INFO] cloning repository https://github.com/t-el/req
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t-el/req" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-el%2Freq", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-el%2Freq'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f97d008a931f335ca8ca7294cf85b4c865e8649b
[INFO] checking t-el/req against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-el%2Freq" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/t-el/req
[INFO] finished tweaking git repo https://github.com/t-el/req
[INFO] tweaked toml for git repo https://github.com/t-el/req written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/t-el/req on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/t-el/req 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl v0.10.40
[INFO] [stderr]   Downloaded openssl-sys v0.9.74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8
[INFO] running `Command { std: "docker" "start" "4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8", 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" "4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8", 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" "4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking os_str_bytes v6.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking tokio v1.19.1
[INFO] [stderr]     Checking clap_lex v0.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling clap_derive v3.1.18
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking clap v3.1.18
[INFO] [stderr]     Checking hyper v0.14.19
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.10
[INFO] [stderr]     Checking req v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/request.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/request.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want)  and `Arg::multiple_values`
[INFO] [stdout]   --> src/parser.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |      #[clap(short ='Q', long ,multiple = true)]
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want)  and `Arg::multiple_values`
[INFO] [stdout]   --> src/parser.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[clap(short='B', long ,multiple = true)]
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want)  and `Arg::multiple_values`
[INFO] [stdout]   --> src/parser.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[clap(short = 'H', long ,multiple = true)]
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want)  and `Arg::multiple_values`
[INFO] [stdout]   --> src/parser.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |      #[clap(short ='Q', long ,multiple = true)]
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want)  and `Arg::multiple_values`
[INFO] [stdout]   --> src/parser.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[clap(short='B', long ,multiple = true)]
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want)  and `Arg::multiple_values`
[INFO] [stdout]   --> src/parser.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[clap(short = 'H', long ,multiple = true)]
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]   --> src/request.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let headers = headers.iter().for_each(|header| {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]   --> src/request.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let headers = headers.iter().for_each(|header| {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.args.headers` which is behind a shared reference
[INFO] [stdout]   --> src/request.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.unwrap());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^ -------- `self.args.headers` moved due to this method call
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      move occurs because `self.args.headers` has type `Option<Vec<std::string::String>>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `Option::<T>::unwrap` takes ownership of the receiver `self`, which moves `self.args.headers`
[INFO] [stdout]   --> /rustc/65b20a97de33e9e59992793a144aef2950c48c76/library/core/src/option.rs:1011:24
[INFO] [stdout] help: consider calling `.as_ref()` to borrow the value's contents
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.as_ref().unwrap());
[INFO] [stdout]    |                                                       +++++++++
[INFO] [stdout] help: consider calling `.as_mut()` to mutably borrow the value's contents
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.as_mut().unwrap());
[INFO] [stdout]    |                                                       +++++++++
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.clone().unwrap());
[INFO] [stdout]    |                                                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `builder`
[INFO] [stdout]   --> src/request.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |      let builder = reqwest::Client::new().request(self.get_method(), self.args.url.as_str());
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_map`
[INFO] [stdout]   --> src/request.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.unwrap());
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.args.headers` which is behind a shared reference
[INFO] [stdout]   --> src/request.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.unwrap());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^ -------- `self.args.headers` moved due to this method call
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      move occurs because `self.args.headers` has type `Option<Vec<std::string::String>>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `Option::<T>::unwrap` takes ownership of the receiver `self`, which moves `self.args.headers`
[INFO] [stdout]   --> /rustc/65b20a97de33e9e59992793a144aef2950c48c76/library/core/src/option.rs:1011:24
[INFO] [stdout] help: consider calling `.as_ref()` to borrow the value's contents
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.as_ref().unwrap());
[INFO] [stdout]    |                                                       +++++++++
[INFO] [stdout] help: consider calling `.as_mut()` to mutably borrow the value's contents
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.as_mut().unwrap());
[INFO] [stdout]    |                                                       +++++++++
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.clone().unwrap());
[INFO] [stdout]    |                                                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `req` (lib) due to 1 previous error; 8 warnings emitted
[INFO] [stdout] warning: unused variable: `builder`
[INFO] [stdout]   --> src/request.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |      let builder = reqwest::Client::new().request(self.get_method(), self.args.url.as_str());
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `header_map`
[INFO] [stdout]   --> src/request.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let header_map = get_headers(self.args.headers.unwrap());
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `req` (lib test) due to 1 previous error; 8 warnings emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8", kill_on_drop: false }`
[INFO] [stdout] 4fb0226d0b4af752534da5e906d3fdb648366eba147bb3338293d4c1d998abb8
