[INFO] fetching crate json-request 0.2.0... [INFO] testing json-request-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate json-request 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate json-request 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb77c207b702a80363e8d1ca27aa448da4db2e795a59efa9aedf6fc2621aa584 [INFO] running `Command { std: "docker" "start" "-a" "fb77c207b702a80363e8d1ca27aa448da4db2e795a59efa9aedf6fc2621aa584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb77c207b702a80363e8d1ca27aa448da4db2e795a59efa9aedf6fc2621aa584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb77c207b702a80363e8d1ca27aa448da4db2e795a59efa9aedf6fc2621aa584", kill_on_drop: false }` [INFO] [stdout] fb77c207b702a80363e8d1ca27aa448da4db2e795a59efa9aedf6fc2621aa584 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac71de53746ffebec2daf28e63286378205bff7119b8786ae5c5e862aa171d43 [INFO] running `Command { std: "docker" "start" "-a" "ac71de53746ffebec2daf28e63286378205bff7119b8786ae5c5e862aa171d43", 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] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling 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::Client` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Client` in the root [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] | ^^^^^^^^^^ could not find `Connection` in `header` [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] | ^^^^^^^^^^ could not find `Connection` in `header` [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] = 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:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | let payload = try!(json::encode(&inner)); [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: 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] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [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: 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 5 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-request` due to 6 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac71de53746ffebec2daf28e63286378205bff7119b8786ae5c5e862aa171d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac71de53746ffebec2daf28e63286378205bff7119b8786ae5c5e862aa171d43", kill_on_drop: false }` [INFO] [stdout] ac71de53746ffebec2daf28e63286378205bff7119b8786ae5c5e862aa171d43