[INFO] fetching crate json-request 0.2.0... [INFO] checking json-request-0.2.0 against master#2ad5292aea6328113b55968b4322528d48261316 for pr-80243 [INFO] extracting crate json-request 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate json-request 0.2.0 on toolchain 2ad5292aea6328113b55968b4322528d48261316 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate json-request 0.2.0 [INFO] finished tweaking crates.io crate json-request 0.2.0 [INFO] tweaked toml for crates.io crate json-request 0.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6141ab246e971412e68f2146ccf3676950d4868dd11ae54cde17bfd9c74fe97 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e6141ab246e971412e68f2146ccf3676950d4868dd11ae54cde17bfd9c74fe97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6141ab246e971412e68f2146ccf3676950d4868dd11ae54cde17bfd9c74fe97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6141ab246e971412e68f2146ccf3676950d4868dd11ae54cde17bfd9c74fe97", kill_on_drop: false }` [INFO] [stdout] e6141ab246e971412e68f2146ccf3676950d4868dd11ae54cde17bfd9c74fe97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e94fda0751aa4b1390deb9f8a4efe55f5f9ad198607966ed577ebce67383fdb [INFO] running `Command { std: "docker" "start" "-a" "1e94fda0751aa4b1390deb9f8a4efe55f5f9ad198607966ed577ebce67383fdb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking json-request v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::method` [INFO] [stdout] --> src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub use hyper::method::Method; [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::status::StatusClass; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::method` [INFO] [stdout] --> src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub use hyper::method::Method; [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::status::StatusClass; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `header` [INFO] [stdout] --> src/lib.rs:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | ... .header(header::Connection::close()) [INFO] [stdout] | ^^^^^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::connect::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::server::conn::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `header` [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | ... .header(header::Connection::close()); [INFO] [stdout] | ^^^^^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::connect::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::server::conn::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | let payload = try!(json::encode(&inner)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | try!(builder.send()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | try!(builder.send()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | try!(res.read_to_string(&mut body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | Some(try!(json::decode::(&body[..]))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `header` [INFO] [stdout] --> src/lib.rs:154:49 [INFO] [stdout] | [INFO] [stdout] 154 | ... .header(header::Connection::close()) [INFO] [stdout] | ^^^^^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::connect::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::server::conn::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `header` [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | ... .header(header::Connection::close()); [INFO] [stdout] | ^^^^^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::client::connect::Connection; [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::server::conn::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | let payload = try!(json::encode(&inner)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | try!(builder.send()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | try!(builder.send()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | try!(res.read_to_string(&mut body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | Some(try!(json::decode::(&body[..]))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | Error::HttpClient(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | Error::JsonDecoder(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | Error::JsonEncoder(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | Error::HttpClient(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | Error::JsonDecoder(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | Error::JsonEncoder(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | let builder = client.request(method, url) [INFO] [stdout] | ^^^^^^^ ------ --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | let builder = client.request(method, url) [INFO] [stdout] | ^^^^^^^ ------ --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/lib.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | ... .header(header::Connection::close()) [INFO] [stdout] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | let builder = client.request(method, url) [INFO] [stdout] | ^^^^^^^ ------ --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/lib.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | ... .header(header::Connection::close()); [INFO] [stdout] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/lib.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{Read, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-request` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/lib.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | ... .header(header::Connection::close()) [INFO] [stdout] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | let builder = client.request(method, url) [INFO] [stdout] | ^^^^^^^ ------ --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/lib.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | ... .header(header::Connection::close()); [INFO] [stdout] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/lib.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{Read, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1e94fda0751aa4b1390deb9f8a4efe55f5f9ad198607966ed577ebce67383fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e94fda0751aa4b1390deb9f8a4efe55f5f9ad198607966ed577ebce67383fdb", kill_on_drop: false }` [INFO] [stdout] 1e94fda0751aa4b1390deb9f8a4efe55f5f9ad198607966ed577ebce67383fdb