[INFO] fetching crate mockito 1.7.0... [INFO] testing mockito-1.7.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate mockito 1.7.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate mockito 1.7.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mockito 1.7.0 [INFO] tweaked toml for crates.io crate mockito 1.7.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mockito 1.7.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mockito 1.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5454a3eecad3c1c844e861607a9aaa2834380fdaa13dc8f982259ebbd98965f3 [INFO] running `Command { std: "docker" "start" "-a" "5454a3eecad3c1c844e861607a9aaa2834380fdaa13dc8f982259ebbd98965f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5454a3eecad3c1c844e861607a9aaa2834380fdaa13dc8f982259ebbd98965f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5454a3eecad3c1c844e861607a9aaa2834380fdaa13dc8f982259ebbd98965f3", kill_on_drop: false }` [INFO] [stdout] 5454a3eecad3c1c844e861607a9aaa2834380fdaa13dc8f982259ebbd98965f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36592617050ad9ad6f3132f332cce199a573009099dce3a29514699b548f6722 [INFO] running `Command { std: "docker" "start" "-a" "36592617050ad9ad6f3132f332cce199a573009099dce3a29514699b548f6722", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.9.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling similar v2.3.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling mockito v1.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.76s [INFO] running `Command { std: "docker" "inspect" "36592617050ad9ad6f3132f332cce199a573009099dce3a29514699b548f6722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36592617050ad9ad6f3132f332cce199a573009099dce3a29514699b548f6722", kill_on_drop: false }` [INFO] [stdout] 36592617050ad9ad6f3132f332cce199a573009099dce3a29514699b548f6722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 044b666ecb3114ec7ad70dd38ba136796f96c4b9018acc267aa239346656076b [INFO] running `Command { std: "docker" "start" "-a" "044b666ecb3114ec7ad70dd38ba136796f96c4b9018acc267aa239346656076b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling testing_logger v0.1.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling mockito v1.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 46.46s [INFO] running `Command { std: "docker" "inspect" "044b666ecb3114ec7ad70dd38ba136796f96c4b9018acc267aa239346656076b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044b666ecb3114ec7ad70dd38ba136796f96c4b9018acc267aa239346656076b", kill_on_drop: false }` [INFO] [stdout] 044b666ecb3114ec7ad70dd38ba136796f96c4b9018acc267aa239346656076b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4e6c4b0d8af890b5719c175cabed10a86c0037e55b7958dcd17a17beeb597b5 [INFO] running `Command { std: "docker" "start" "-a" "d4e6c4b0d8af890b5719c175cabed10a86c0037e55b7958dcd17a17beeb597b5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mockito-92d61fe74fef5847) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-6a3338ff42351106) [INFO] [stdout] [INFO] [stdout] running 129 tests [INFO] [stdout] test test_anyof_exact_path_and_query_matcher ... ok [INFO] [stdout] test test_all_of_match_body ... ok [INFO] [stdout] test test_any_of_match_header ... ok [INFO] [stdout] test test_any_of_missing_match_header ... ok [INFO] [stdout] test test_all_of_missing_match_header ... ok [INFO] [stdout] test test_assert_defaults_to_one_hit ... ok [INFO] [stdout] test test_any_of_match_body ... ok [INFO] [stdout] test test_all_of_match_header ... ok [INFO] [stdout] test test_assert_panics_if_no_request_was_performed - should panic ... ok [INFO] [stdout] test test_assert_panics_expect_at_least_with_too_few_requests - should panic ... ok [INFO] [stdout] test test_assert_panics_expect_at_least_and_at_most_with_too_many_requests - should panic ... ok [INFO] [stdout] test test_assert_panics_with_too_many_requests - should panic ... ok [INFO] [stdout] test test_assert_panics_expect_at_most_with_too_many_requests - should panic ... ok [INFO] [stdout] test test_assert_panics_with_too_few_requests - should panic ... ok [INFO] [stdout] test test_assert_panics_expect_at_least_and_at_most_with_too_few_requests - should panic ... ok [INFO] [stdout] test test_create_starts_the_server ... ok [INFO] [stdout] test test_display_mock_matching_all_of_queries ... ok [INFO] [stdout] test test_assert_with_last_unmatched_request_and_headers - should panic ... FAILED [INFO] [stdout] test test_default_headers ... ok [INFO] [stdout] test test_body_from_file ... ok [INFO] [stdout] test test_assert_with_last_unmatched_request - should panic ... FAILED [INFO] [stdout] test test_assert_with_last_unmatched_request_and_body - should panic ... ok [INFO] [stdout] test test_display_mock_matching_any_body ... ok [INFO] [stdout] test test_display_mock_matching_any_path ... ok [INFO] [stdout] test test_display_mock_matching_any_of_headers ... ok [INFO] [stdout] test test_display_mock_matching_any_query ... ok [INFO] [stdout] test test_display_mock_matching_exact_header ... ok [INFO] [stdout] test test_display_mock_matching_exact_query ... ok [INFO] [stdout] test test_display_mock_matching_exact_path ... ok [INFO] [stdout] test test_display_mock_matching_headers_and_body ... ok [INFO] [stdout] test test_assert_with_last_unmatched_request_and_query - should panic ... FAILED [INFO] [stdout] test test_display_mock_matching_regex_body ... ok [INFO] [stdout] test test_display_mock_matching_regex_query ... ok [INFO] [stdout] test test_display_mock_matching_regex_path ... ok [INFO] [stdout] test test_display_mock_matching_multiple_headers ... ok [INFO] [stdout] test test_display_mock_matching_exact_body ... ok [INFO] [stdout] test test_expect_zero ... ok [INFO] [stdout] test test_expect ... ok [INFO] [stdout] test test_expect_at_least_more ... ok [INFO] [stdout] test test_expect_zero_fail - should panic ... ok [INFO] [stdout] test test_expect_at_most_with_few_requests ... ok [INFO] [stdout] test test_does_not_match_binary_body ... ok [INFO] [stdout] test test_expect_at_least ... ok [INFO] [stdout] test test_expect_at_most_with_needed_requests ... ok [INFO] [stdout] test test_large_body_without_content_length ... ok [INFO] [stdout] test test_head_request_with_overridden_content_length ... ok [INFO] [stdout] test test_expect_at_least_and_at_most ... ok [INFO] [stdout] test test_invalid_header_field_name ... ok [INFO] [stdout] test test_http2_requests_async ... ok [INFO] [stdout] test test_match_any_body_by_default ... ok [INFO] [stdout] test test_large_utf8_body ... ok [INFO] [stdout] test test_match_binary_body ... ok [INFO] [stdout] test test_match_body_not_matching ... ok [INFO] [stdout] test test_match_body_with_json ... ok [INFO] [stdout] test test_match_body_with_json_string ... ok [INFO] [stdout] test test_match_body_with_json_order ... ok [INFO] [stdout] test test_match_body_asnyc ... ok [INFO] [stdout] test test_match_body_with_partial_json_string ... ok [INFO] [stdout] test test_match_body_with_partial_json_string_and_extra_fields ... ok [INFO] [stdout] test test_match_body_with_regex ... ok [INFO] [stdout] test test_match_body_with_regex_not_matching ... ok [INFO] [stdout] test test_match_exact_query ... ok [INFO] [stdout] test test_match_exact_query_via_path ... ok [INFO] [stdout] test test_match_header ... ok [INFO] [stdout] test test_match_body_with_partial_json_and_extra_fields ... ok [INFO] [stdout] test test_match_header_any_matching ... ok [INFO] [stdout] test test_match_any_query ... ok [INFO] [stdout] test test_match_body ... ok [INFO] [stdout] test test_match_body_with_json_string_order ... ok [INFO] [stdout] test test_match_body_with_partial_json ... ok [INFO] [stdout] test test_match_body_with_more_headers_with_json ... ok [INFO] [stdout] test test_match_header_is_case_insensitive_on_the_field_name ... ok [INFO] [stdout] test test_match_header_missing_not_matching ... ok [INFO] [stdout] test test_match_multiple_header_conditions_matching ... ok [INFO] [stdout] test test_match_header_any_not_matching ... ok [INFO] [stdout] test test_match_header_missing_not_matching_even_when_empty ... ok [INFO] [stdout] test test_match_partial_query_by_regex ... ok [INFO] [stdout] test test_match_partial_query_by_regex_all_of ... ok [INFO] [stdout] test test_match_header_missing_matching ... ok [INFO] [stdout] test test_match_partial_query_by_urlencoded_all_of ... ok [INFO] [stdout] test test_missing_create_bad ... ok [INFO] [stdout] test test_match_query_with_non_percent_url_escaping ... ok [INFO] [stdout] test test_missing_create_good ... ok [INFO] [stdout] test test_match_partial_query_by_urlencoded ... ok [INFO] [stdout] test test_match_missing_query ... ok [INFO] [stdout] test test_match_multiple_headers ... ok [INFO] [stdout] test test_match_multiple_header_conditions_not_matching ... ok [INFO] [stdout] test test_mock_with_body ... ok [INFO] [stdout] test test_matched_bool ... ok [INFO] [stdout] test test_mock_from_inside_thread_does_not_lock_forever ... ok [INFO] [stdout] test test_join_all_async ... ok [INFO] [stdout] test test_mock_preserves_header_order ... ok [INFO] [stdout] test test_mock_with_body_from_request ... ok [INFO] [stdout] test test_mock_with_body_from_request_body ... ok [INFO] [stdout] test test_no_match_returns_501 ... ok [INFO] [stdout] test test_mock_with_header_from_request ... ok [INFO] [stdout] test test_mock_with_multiple_headers ... ok [INFO] [stdout] test test_mock_with_status ... ok [INFO] [stdout] test test_mock_with_header ... ok [INFO] [stdout] test test_propagate_protocol_to_response ... ok [INFO] [stdout] test test_remove_a_single_mock ... ok [INFO] [stdout] test test_request_from_thread ... ok [INFO] [stdout] test test_request_matcher_body ... ok [INFO] [stdout] test test_mock_with_custom_status ... ok [INFO] [stdout] test test_request_matcher_headers ... ok [INFO] [stdout] test test_request_matcher_body_async ... ok [INFO] [stdout] test test_request_matcher_path ... ok [INFO] [stdout] test test_mock_with_fn_body_streamed_forever ... ok [INFO] [stdout] test test_mock_with_fn_body ... ok [INFO] [stdout] test test_same_endpoint_different_responses ... ok [INFO] [stdout] test test_running_multiple_servers ... ok [INFO] [stdout] test test_server_with_assert_on_drop_defaults_to_one_hit_async ... ok [INFO] [stdout] test test_server_with_assert_on_drop_defaults_to_one_hit ... ok [INFO] [stdout] test test_server_with_assert_on_drop_panics_expect_at_least_with_too_few_requests - should panic ... ok [INFO] [stdout] test test_same_endpoint_different_responses_last_one_forever ... ok [INFO] [stdout] test test_regex_match_header ... ok [INFO] [stdout] test test_server_with_assert_on_drop_panics_expect_at_least_with_too_few_requests_async - should panic ... ok [INFO] [stdout] test test_server_with_assert_on_drop_panics_if_no_request_was_performed - should panic ... ok [INFO] [stdout] test test_server_with_assert_on_drop_panics_if_no_request_was_performed_async - should panic ... ok [INFO] [stdout] test test_regex_match_path ... ok [INFO] [stdout] test test_several_route_mocks_async ... ok [INFO] [stdout] test test_unpooled_server_going_out_of_context_removes_all_mocks ... ok [INFO] [stdout] test test_pooled_server_going_out_of_context_removes_all_mocks ... ok [INFO] [stdout] test test_simple_route_mock ... ok [INFO] [stdout] test test_simple_route_mock_async ... ok [INFO] [stdout] test test_transfer_encoding_chunked ... ok [INFO] [stdout] test test_two_route_mocks ... ok [INFO] [stdout] test test_server_pool ... ok [INFO] [stderr] error: test failed, to rerun pass `--test lib` [INFO] [stdout] test test_server_pool_async ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_assert_with_last_unmatched_request_and_headers stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_assert_with_last_unmatched_request_and_headers' (43) panicked at tests/lib.rs:1595:10: [INFO] [stdout] [INFO] [stdout] > Expected 1 request(s) to: [INFO] [stdout] [INFO] [stdout] GET /hello [INFO] [stdout] [INFO] [stdout] ...but received 0 [INFO] [stdout] [INFO] [stdout] > The last unmatched request was: [INFO] [stdout] [INFO] [stdout] GET /bye [INFO] [stdout] authorization: 1234 [INFO] [stdout] accept: text [INFO] [stdout] [INFO] [stdout] > Difference: [INFO] [stdout] [INFO] [stdout] GET /hello [INFO] [stdout] GET /bye [INFO] [stdout] authorization: 1234 [INFO] [stdout] accept: text [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60f61838f492 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60f61838f492 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60f61838f492 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60f61838f492 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60f6183a0fbf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60f6183a0fbf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x60f61835b433 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60f61835b433 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60f618368022 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60f61836cebf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60f61836cd51 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60f617d3d7de - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x60f617d3d7de - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60f61836d57f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x60f61836d57f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60f61836d32a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60f618368159 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60f61834f5fd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60f6183aab20 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x60f617e34790 - core::panicking::panic_display::h175f1b18cc9f9a9f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x60f617de6923 - mockito::mock::Mock::assert::he03e0869d22ab60f [INFO] [stdout] at /opt/rustwide/workdir/src/mock.rs:577:13 [INFO] [stdout] 21: 0x60f617b9e973 - lib::test_assert_with_last_unmatched_request_and_headers::hdb3437a01905301f [INFO] [stdout] at /opt/rustwide/workdir/tests/lib.rs:1595:10 [INFO] [stdout] 22: 0x60f617b9e9e7 - lib::test_assert_with_last_unmatched_request_and_headers::{{closure}}::h064f2a81504cc156 [INFO] [stdout] at /opt/rustwide/workdir/tests/lib.rs:1588:57 [INFO] [stdout] 23: 0x60f617bcbfa6 - core::ops::function::FnOnce::call_once::h6e018a8fdb73660a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x60f617d3d62b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x60f617d3d62b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x60f617d5163d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x60f617d5163d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x60f617d5163d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x60f617d5163d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x60f617d5163d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x60f617d5163d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x60f617d5163d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x60f617d2ab84 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x60f617d2ab84 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x60f617d2e4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x60f617d2e4ba - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x60f617d2e4ba - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x60f617d2e4ba - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x60f617d2e4ba - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x60f617d2e4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x60f617d2e4ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x60f61836355f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x60f61836355f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x74340a098aa4 - [INFO] [stdout] 45: 0x74340a125a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] note: panic did not contain expected string [INFO] [stdout] panic message: "\n> Expected 1 request(s) to:\n\r\nGET /hello\r\n\n...but received 0\n\n> The last unmatched request was:\n\r\nGET /bye\r\nauthorization: 1234\r\naccept: text\r\n\n> Difference:\n\nGET /hello\nGET /bye\nauthorization: 1234\naccept: text\n\n\n" [INFO] [stdout] expected substring: "\n> Expected 1 request(s) to:\n\r\nGET /hello\r\n\n...but received 0\n\n> The last unmatched request was:\n\r\nGET /bye\r\nauthorization: 1234\r\naccept: text\r\n\n> Difference:\n\n\u{1b}[31mGET /hello\n\u{1b}[0m\u{1b}[32mGET\u{1b}[0m\u{1b}[32m \u{1b}[0m\u{1b}[42;30m/bye\u{1b}[0m\u{1b}[32m\n\u{1b}[0m\u{1b}[92mauthorization: 1234\n\u{1b}[0m\u{1b}[92maccept: text\n\u{1b}[0m\n\n" [INFO] [stdout] ---- test_assert_with_last_unmatched_request stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_assert_with_last_unmatched_request' (41) panicked at tests/lib.rs:1533:10: [INFO] [stdout] [INFO] [stdout] > Expected 1 request(s) to: [INFO] [stdout] [INFO] [stdout] GET /hello [INFO] [stdout] [INFO] [stdout] ...but received 0 [INFO] [stdout] [INFO] [stdout] > The last unmatched request was: [INFO] [stdout] [INFO] [stdout] GET /bye [INFO] [stdout] [INFO] [stdout] > Difference: [INFO] [stdout] [INFO] [stdout] GET /hello [INFO] [stdout] GET /bye [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60f61838f492 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60f61838f492 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60f61838f492 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60f61838f492 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60f6183a0fbf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60f6183a0fbf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x60f61835b433 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60f61835b433 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60f618368022 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60f61836cebf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60f61836cd51 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60f617d3d7de - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x60f617d3d7de - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60f61836d57f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x60f61836d57f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60f61836d32a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60f618368159 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60f61834f5fd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60f6183aab20 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x60f617e34790 - core::panicking::panic_display::h175f1b18cc9f9a9f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x60f617de6923 - mockito::mock::Mock::assert::he03e0869d22ab60f [INFO] [stdout] at /opt/rustwide/workdir/src/mock.rs:577:13 [INFO] [stdout] 21: 0x60f617b980e1 - lib::test_assert_with_last_unmatched_request::he21aca187542f3ec [INFO] [stdout] at /opt/rustwide/workdir/tests/lib.rs:1533:10 [INFO] [stdout] 22: 0x60f617b98157 - lib::test_assert_with_last_unmatched_request::{{closure}}::hbb06c933c1e5d1e8 [INFO] [stdout] at /opt/rustwide/workdir/tests/lib.rs:1526:45 [INFO] [stdout] 23: 0x60f617bcc2e6 - core::ops::function::FnOnce::call_once::h7f5790c6d4df7a33 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x60f617d3d62b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x60f617d3d62b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x60f617d5163d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x60f617d5163d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x60f617d5163d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x60f617d5163d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x60f617d5163d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x60f617d5163d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x60f617d5163d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x60f617d2ab84 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x60f617d2ab84 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x60f617d2e4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x60f617d2e4ba - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x60f617d2e4ba - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x60f617d2e4ba - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x60f617d2e4ba - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x60f617d2e4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x60f617d2e4ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x60f61836355f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x60f61836355f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x74340a098aa4 - [INFO] [stdout] 45: 0x74340a125a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] note: panic did not contain expected string [INFO] [stdout] panic message: "\n> Expected 1 request(s) to:\n\r\nGET /hello\r\n\n...but received 0\n\n> The last unmatched request was:\n\r\nGET /bye\r\n\n> Difference:\n\nGET /hello\nGET /bye\n\n\n" [INFO] [stdout] expected substring: "\n> Expected 1 request(s) to:\n\r\nGET /hello\r\n\n...but received 0\n\n> The last unmatched request was:\n\r\nGET /bye\r\n\n> Difference:\n\n\u{1b}[31mGET /hello\n\u{1b}[0m\u{1b}[32mGET\u{1b}[0m\u{1b}[32m \u{1b}[0m\u{1b}[42;30m/bye\u{1b}[0m\u{1b}[32m\n\u{1b}[0m\n\n" [INFO] [stdout] ---- test_assert_with_last_unmatched_request_and_query stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_assert_with_last_unmatched_request_and_query' (44) panicked at tests/lib.rs:1564:10: [INFO] [stdout] [INFO] [stdout] > Expected 1 request(s) to: [INFO] [stdout] [INFO] [stdout] GET /hello?world=1 [INFO] [stdout] [INFO] [stdout] ...but received 0 [INFO] [stdout] [INFO] [stdout] > The last unmatched request was: [INFO] [stdout] [INFO] [stdout] GET /hello?world=2 [INFO] [stdout] [INFO] [stdout] > Difference: [INFO] [stdout] [INFO] [stdout] GET /hello?world=1 [INFO] [stdout] GET /hello?world=2 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60f61838f492 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60f61838f492 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60f61838f492 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60f61838f492 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60f6183a0fbf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60f6183a0fbf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x60f61835b433 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60f61835b433 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60f618368022 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60f61836cebf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60f61836cd51 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60f617d3d7de - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x60f617d3d7de - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60f61836d57f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x60f61836d57f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60f61836d32a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60f618368159 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60f61834f5fd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60f6183aab20 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x60f617e34790 - core::panicking::panic_display::h175f1b18cc9f9a9f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x60f617de6923 - mockito::mock::Mock::assert::he03e0869d22ab60f [INFO] [stdout] at /opt/rustwide/workdir/src/mock.rs:577:13 [INFO] [stdout] 21: 0x60f617b9d331 - lib::test_assert_with_last_unmatched_request_and_query::h351c0fb60e8bb7b7 [INFO] [stdout] at /opt/rustwide/workdir/tests/lib.rs:1564:10 [INFO] [stdout] 22: 0x60f617b9d3a7 - lib::test_assert_with_last_unmatched_request_and_query::{{closure}}::h01846fb2bd66b710 [INFO] [stdout] at /opt/rustwide/workdir/tests/lib.rs:1557:55 [INFO] [stdout] 23: 0x60f617bcc326 - core::ops::function::FnOnce::call_once::h80a082a912b5a520 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x60f617d3d62b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x60f617d3d62b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x60f617d5163d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x60f617d5163d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x60f617d5163d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x60f617d5163d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x60f617d5163d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x60f617d5163d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x60f617d5163d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x60f617d2ab84 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x60f617d2ab84 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x60f617d2e4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x60f617d2e4ba - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x60f617d2e4ba - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x60f617d2e4ba - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x60f617d2e4ba - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x60f617d2e4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x60f617d2e4ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x60f61836355f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x60f61836355f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x74340a098aa4 - [INFO] [stdout] 45: 0x74340a125a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] note: panic did not contain expected string [INFO] [stdout] panic message: "\n> Expected 1 request(s) to:\n\r\nGET /hello?world=1\r\n\n...but received 0\n\n> The last unmatched request was:\n\r\nGET /hello?world=2\r\n\n> Difference:\n\nGET /hello?world=1\nGET /hello?world=2\n\n\n" [INFO] [stdout] expected substring: "\n> Expected 1 request(s) to:\n\r\nGET /hello?world=1\r\n\n...but received 0\n\n> The last unmatched request was:\n\r\nGET /hello?world=2\r\n\n> Difference:\n\n\u{1b}[31mGET /hello?world=1\n\u{1b}[0m\u{1b}[32mGET\u{1b}[0m\u{1b}[32m \u{1b}[0m\u{1b}[42;30m/hello?world=2\u{1b}[0m\u{1b}[32m\n\u{1b}[0m\n\n" [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_assert_with_last_unmatched_request [INFO] [stdout] test_assert_with_last_unmatched_request_and_headers [INFO] [stdout] test_assert_with_last_unmatched_request_and_query [INFO] [stdout] [INFO] [stdout] test result: FAILED. 126 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d4e6c4b0d8af890b5719c175cabed10a86c0037e55b7958dcd17a17beeb597b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e6c4b0d8af890b5719c175cabed10a86c0037e55b7958dcd17a17beeb597b5", kill_on_drop: false }` [INFO] [stdout] d4e6c4b0d8af890b5719c175cabed10a86c0037e55b7958dcd17a17beeb597b5