[INFO] crate chttp 0.5.5 is already in cache [INFO] checking chttp-0.5.5 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate chttp 0.5.5 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate chttp 0.5.5 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate chttp 0.5.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate chttp 0.5.5 [INFO] tweaked toml for crates.io crate chttp 0.5.5 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 45b91ff303375784e3c97f485df075ce075401aae405e4d392ef345e1068cda8 [INFO] running `"docker" "start" "-a" "45b91ff303375784e3c97f485df075ce075401aae405e4d392ef345e1068cda8"` [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.17 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling chttp v0.5.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.17 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.17 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.17 [INFO] [stderr] Checking sluice v0.4.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.17 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Compiling extend v0.1.1 [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:59:37 [INFO] [stderr] | [INFO] [stderr] 59 | write!(f, "{:?}: {}", self, Error::description(self)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:76:50 [INFO] [stderr] | [INFO] [stderr] 76 | Error::InvalidHttpFormat(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:78:35 [INFO] [stderr] | [INFO] [stderr] 78 | Error::Io(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:138:31 [INFO] [stderr] | [INFO] [stderr] 138 | Error::Curl(error.description().to_owned()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:146:27 [INFO] [stderr] | [INFO] [stderr] 146 | Error::Curl(error.description().to_owned()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:731:15 [INFO] [stderr] | [INFO] [stderr] 731 | (&http::Method::GET, false) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | future_incompatible, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(indirect_structural_match)]` implied by `#[warn(future_incompatible)]` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:735:15 [INFO] [stderr] | [INFO] [stderr] 735 | (&http::Method::HEAD, has_body) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:741:15 [INFO] [stderr] | [INFO] [stderr] 741 | (&http::Method::POST, _) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] warning: to use a constant of type `std::boxed::Box` in a pattern, `std::boxed::Box` must be annotated with `#[derive(PartialEq, Eq)]` [INFO] [stderr] --> src/client.rs:745:15 [INFO] [stderr] | [INFO] [stderr] 745 | (&http::Method::PUT, _) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #62411 [INFO] [stderr] [INFO] [stderr] Checking assert-json-diff v1.0.3 [INFO] [stderr] Checking mockito v0.20.0 [INFO] [stderr] error[E0432]: unresolved imports `assert_json_diff::Comparison`, `assert_json_diff::Actual`, `assert_json_diff::Expected` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mockito-0.20.0/src/lib.rs:524:24 [INFO] [stderr] | [INFO] [stderr] 524 | use assert_json_diff::{Comparison, assert_json_no_panic, Actual, Expected}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ no `Expected` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `Actual` in the root [INFO] [stderr] | no `Comparison` in the root [INFO] [stderr] [INFO] [stderr] error[E0603]: function `assert_json_no_panic` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mockito-0.20.0/src/lib.rs:524:36 [INFO] [stderr] | [INFO] [stderr] 524 | use assert_json_diff::{Comparison, assert_json_no_panic, Actual, Expected}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this function is private [INFO] [stderr] | [INFO] [stderr] note: the function `assert_json_no_panic` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert-json-diff-1.0.3/src/lib.rs:241:1 [INFO] [stderr] | [INFO] [stderr] 241 | fn assert_json_no_panic(lhs: &Value, rhs: &Value, mode: Mode) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `mockito`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "45b91ff303375784e3c97f485df075ce075401aae405e4d392ef345e1068cda8"` [INFO] running `"docker" "rm" "-f" "45b91ff303375784e3c97f485df075ce075401aae405e4d392ef345e1068cda8"` [INFO] [stdout] 45b91ff303375784e3c97f485df075ce075401aae405e4d392ef345e1068cda8