[INFO] crate httpmock 0.3.4 is already in cache [INFO] testing httpmock-0.3.4 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate httpmock 0.3.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate httpmock 0.3.4 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate httpmock 0.3.4 [INFO] finished tweaking crates.io crate httpmock 0.3.4 [INFO] tweaked toml for crates.io crate httpmock 0.3.4 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate httpmock 0.3.4 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b04a8b59d7785460bb2f2d99a8afb9249df8ba156c80b493a059bd4d4f6b1751 [INFO] running `"docker" "start" "-a" "b04a8b59d7785460bb2f2d99a8afb9249df8ba156c80b493a059bd4d4f6b1751"` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.7 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling httpmock-macros v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.45 [INFO] [stderr] Compiling serde_regex v0.4.0 [INFO] [stderr] Compiling assert-json-diff v1.0.1 [INFO] [stderr] Compiling httpmock v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/lib.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | { hyper::client::Client::new() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `"docker" "inspect" "b04a8b59d7785460bb2f2d99a8afb9249df8ba156c80b493a059bd4d4f6b1751"` [INFO] running `"docker" "rm" "-f" "b04a8b59d7785460bb2f2d99a8afb9249df8ba156c80b493a059bd4d4f6b1751"` [INFO] [stdout] b04a8b59d7785460bb2f2d99a8afb9249df8ba156c80b493a059bd4d4f6b1751 [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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 65a9d27fc27e0375a95c14fbc855a902dc0e725bcb8e1fc57c68c4b8619d3e81 [INFO] running `"docker" "start" "-a" "65a9d27fc27e0375a95c14fbc855a902dc0e725bcb8e1fc57c68c4b8619d3e81"` [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling openssl v0.10.27 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling try_from v0.3.2 [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] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.43 [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/lib.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | { hyper::client::Client::new() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling httpmock v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/lib.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | { hyper::client::Client::new() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `"docker" "inspect" "65a9d27fc27e0375a95c14fbc855a902dc0e725bcb8e1fc57c68c4b8619d3e81"` [INFO] running `"docker" "rm" "-f" "65a9d27fc27e0375a95c14fbc855a902dc0e725bcb8e1fc57c68c4b8619d3e81"` [INFO] [stdout] 65a9d27fc27e0375a95c14fbc855a902dc0e725bcb8e1fc57c68c4b8619d3e81 [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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 313f8e4411678bf7c99605bd4890ab81110c9d1d8ed6a0508332b3ee1157ce0f [INFO] running `"docker" "start" "-a" "313f8e4411678bf7c99605bd4890ab81110c9d1d8ed6a0508332b3ee1157ce0f"` [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/lib.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | { hyper::client::Client::new() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/lib.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | { hyper::client::Client::new() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/httpmock-215ae45e0c268e3c [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test server::handlers::test::body_contains_includes_json_test ... ok [INFO] [stdout] test server::handlers::test::body_contains_test ... ok [INFO] [stdout] test server::handlers::test::header_exists_test ... ok [INFO] [stdout] test server::handlers::test::body_json_exact_match_test ... ok [INFO] [stdout] test server::handlers::test::header_names_case_insensitive ... ok [INFO] [stdout] test server::handlers::test::parsing_query_contains_test ... ok [INFO] [stdout] test server::handlers::test::body_matches_regex_test ... ok [INFO] [stdout] test server::handlers::test::parsing_query_params_test ... ok [INFO] [stdout] test server::handlers::test::path_pattern_test ... ok [INFO] [stdout] test server::handlers::test::path_contains_test ... ok [INFO] [stdout] test server::handlers::test::request_matches_body_no_match ... ok [INFO] [stdout] test server::handlers::test::request_matches_body_match ... ok [INFO] [stdout] test server::handlers::test::request_matches_method_match ... ok [INFO] [stdout] test server::handlers::test::request_matches_headers_match_empty ... ok [INFO] [stdout] test server::handlers::test::request_matches_headers_no_match_empty ... ok [INFO] [stdout] test server::handlers::test::request_matches_headers_exact_match ... ok [INFO] [stdout] test server::handlers::test::request_matches_headers_match_superset ... ok [INFO] [stdout] test server::handlers::test::request_matches_headers_no_match ... ok [INFO] [stdout] test server::handlers::test::validate_mock_definition_no_path ... ok [INFO] [stdout] test server::handlers::test::request_matches_path_no_match ... ok [INFO] [stdout] test server::handlers::test::validate_mock_definition_no_body_method ... ok [INFO] [stdout] test server::handlers::test::request_matches_path_match ... ok [INFO] [stdout] test server::handlers::test::request_matches_method_no_match ... ok [INFO] [stdout] test server::util::test::string_tree_map_contains_all_keys_some_values_equal_length ... ok [INFO] [stdout] test server::util::test::tree_map_contains_all_keys_some_values ... ok [INFO] [stdout] test server::util::test::tree_map_contains_all_keys_some_values_equal_length ... ok [INFO] [stdout] test server::util::test::tree_map_contains_all_keys_no_values ... ok [INFO] [stdout] test server::util::test::tree_map_does_not_contain_other ... ok [INFO] [stdout] test server::util::test::tree_map_fully_contains_other ... ok [INFO] [stdout] test server::util::test::tree_map_contains_subset ... ok [INFO] [stdout] test server::test::route_regex_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/integration_tests-5b76b0d70ced258b [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test body_partial_json_str_test ... ok [INFO] [stdout] test exact_body_match_test ... ok [INFO] [stdout] test explicit_delete_test ... ok [INFO] [stdout] test matching_features_test ... ok [INFO] [stdout] test simple_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests httpmock [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 98) ... ok [INFO] [stdout] test src/lib.rs - Mock (line 416) ... ok [INFO] [stdout] test src/lib.rs - (line 26) ... ok [INFO] [stdout] test src/lib.rs - Mock::expect_json_body_partial (line 668) ... ok [INFO] [stdout] test src/lib.rs - Mock (line 456) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "313f8e4411678bf7c99605bd4890ab81110c9d1d8ed6a0508332b3ee1157ce0f"` [INFO] running `"docker" "rm" "-f" "313f8e4411678bf7c99605bd4890ab81110c9d1d8ed6a0508332b3ee1157ce0f"` [INFO] [stdout] 313f8e4411678bf7c99605bd4890ab81110c9d1d8ed6a0508332b3ee1157ce0f