[INFO] crate chttp 0.5.5 is already in cache [INFO] checking chttp-0.5.5 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate chttp 0.5.5 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate chttp 0.5.5 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] 5095548058e06a8824db4750df45c6cd533979bd62481f579a99a9c916c2b7ee [INFO] running `"docker" "start" "-a" "5095548058e06a8824db4750df45c6cd533979bd62481f579a99a9c916c2b7ee"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling chttp v0.5.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.17 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.17 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [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 quote v1.0.4 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.17 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.17 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Compiling syn-mid v0.5.0 [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: 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] warning: 7 warnings emitted [INFO] [stderr] [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] | ^^^^^^^^^^^^^^^^^^^^ private function [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" "5095548058e06a8824db4750df45c6cd533979bd62481f579a99a9c916c2b7ee"` [INFO] running `"docker" "rm" "-f" "5095548058e06a8824db4750df45c6cd533979bd62481f579a99a9c916c2b7ee"` [INFO] [stdout] 5095548058e06a8824db4750df45c6cd533979bd62481f579a99a9c916c2b7ee