[INFO] fetching crate reqwest-rewire 0.1.0...
[INFO] testing reqwest-rewire-0.1.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate reqwest-rewire 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate reqwest-rewire 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate reqwest-rewire 0.1.0
[INFO] tweaked toml for crates.io crate reqwest-rewire 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate reqwest-rewire 0.1.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate reqwest-rewire 0.1.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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 087084916ce240c1bf140b3a1bb33c1a948466bd6634d617a54a7b47bc53d6d0
[INFO] running `Command { std: "docker" "start" "-a" "087084916ce240c1bf140b3a1bb33c1a948466bd6634d617a54a7b47bc53d6d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "087084916ce240c1bf140b3a1bb33c1a948466bd6634d617a54a7b47bc53d6d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "087084916ce240c1bf140b3a1bb33c1a948466bd6634d617a54a7b47bc53d6d0", kill_on_drop: false }`
[INFO] [stdout] 087084916ce240c1bf140b3a1bb33c1a948466bd6634d617a54a7b47bc53d6d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5749dfb0140badae3cad67fa6075408f5c6a2c13bb17766b3d5101834be966ff
[INFO] running `Command { std: "docker" "start" "-a" "5749dfb0140badae3cad67fa6075408f5c6a2c13bb17766b3d5101834be966ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling iri-string v0.7.9
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling rustls-pki-types v1.13.1
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tower-http v0.6.7
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling reqwest-rewire v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.04s
[INFO] running `Command { std: "docker" "inspect" "5749dfb0140badae3cad67fa6075408f5c6a2c13bb17766b3d5101834be966ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5749dfb0140badae3cad67fa6075408f5c6a2c13bb17766b3d5101834be966ff", kill_on_drop: false }`
[INFO] [stdout] 5749dfb0140badae3cad67fa6075408f5c6a2c13bb17766b3d5101834be966ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d78badd9a644b54fdf99c1ee4f170dfd491dd58ff04ee9e75b8e4b780127380
[INFO] running `Command { std: "docker" "start" "-a" "1d78badd9a644b54fdf99c1ee4f170dfd491dd58ff04ee9e75b8e4b780127380", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling path-tree v0.8.3
[INFO] [stderr]    Compiling stringmetrics v2.2.2
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling tabwriter v1.4.1
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling async-lock v3.4.1
[INFO] [stderr]    Compiling async-object-pool v0.2.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_regex v1.1.0
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.7
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling httpmock v0.8.2
[INFO] [stderr]    Compiling reqwest v0.12.24
[INFO] [stderr]    Compiling reqwest-rewire v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `build_rewire_test_params` is never used
[INFO] [stdout]   --> tests/common/test_utils.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn build_rewire_test_params(server: &MockServer) -> HashMap<String, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "1d78badd9a644b54fdf99c1ee4f170dfd491dd58ff04ee9e75b8e4b780127380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d78badd9a644b54fdf99c1ee4f170dfd491dd58ff04ee9e75b8e4b780127380", kill_on_drop: false }`
[INFO] [stdout] 1d78badd9a644b54fdf99c1ee4f170dfd491dd58ff04ee9e75b8e4b780127380
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 853c2a728de850a53d048fccd184d60f017972ee1df166ed1e3b69a4988719d5
[INFO] running `Command { std: "docker" "start" "-a" "853c2a728de850a53d048fccd184d60f017972ee1df166ed1e3b69a4988719d5", kill_on_drop: false }`
[INFO] [stderr] warning: function `build_rewire_test_params` is never used
[INFO] [stderr]   --> tests/common/test_utils.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn build_rewire_test_params(server: &MockServer) -> HashMap<String, String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `reqwest-rewire` (test "reqwest_client_tests") generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reqwest_rewire-d8734a2a4cfb3463)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/reqwest_client_tests.rs (/opt/rustwide/target/debug/deps/reqwest_client_tests-b5323d011caa7cb3)
[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] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test test_post_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_patch_request_with_query_args ... ok
[INFO] [stdout] test test_delete_request ... ok
[INFO] [stdout] test test_get_request_with_query_args ... ok
[INFO] [stdout] test test_patch_request ... ok
[INFO] [stdout] test test_get_request ... ok
[INFO] [stdout] test test_patch_request_with_body ... ok
[INFO] [stdout] test test_head_request_with_query_args ... ok
[INFO] [stdout] test test_delete_request_with_body ... ok
[INFO] [stdout] test test_patch_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_post_request_with_body ... ok
[INFO] [stdout] test test_delete_request_with_query_args ... ok
[INFO] [stdout] test test_post_request ... ok
[INFO] [stdout] test test_delete_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_put_request ... ok
[INFO] [stdout] test test_post_request_with_query_args ... ok
[INFO] [stdout] test test_put_request_with_body ... ok
[INFO] [stdout] test test_request_delete_request ... ok
[INFO] [stdout] test test_head_request ... ok
[INFO] [stdout] test test_request_get_request ... ok
[INFO] [stdout] test test_put_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_request_delete_request_with_query_args ... ok
[INFO] [stdout] test test_request_head_request ... ok
[INFO] [stdout] test test_put_request_with_query_args ... ok
[INFO] [stdout] test test_request_patch_request ... ok
[INFO] [stdout] test test_request_delete_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_request_get_request_with_query_args ... ok
[INFO] [stdout] test test_request_head_request_with_query_args ... ok
[INFO] [stdout] test test_request_delete_request_with_body ... ok
[INFO] [stdout] test test_request_patch_request_with_query_args ... ok
[INFO] [stdout] test test_request_post_request_with_body ... ok
[INFO] [stdout] test test_request_post_request ... ok
[INFO] [stdout] test test_request_put_request_with_query_args ... ok
[INFO] [stdout] test test_request_patch_request_with_body ... ok
[INFO] [stdout] test test_request_patch_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_request_post_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_request_put_request_with_body ... ok
[INFO] [stdout] test test_request_put_request ... ok
[INFO] [stdout] test test_request_put_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_with_nested_args ... ok
[INFO] [stdout] test test_request_post_request_with_query_args ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.71s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/rewire_client_tests.rs (/opt/rustwide/target/debug/deps/rewire_client_tests-42c5b79cd3f12438)
[INFO] [stdout] 
[INFO] [stdout] running 82 tests
[INFO] [stdout] test test_head_request ... ok
[INFO] [stdout] test test_head_request_rewire ... ok
[INFO] [stdout] test test_delete_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_delete_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_delete_request ... ok
[INFO] [stdout] test test_get_request_with_query_args ... ok
[INFO] [stdout] test test_head_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_get_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_get_request_rewire ... ok
[INFO] [stdout] test test_delete_request_with_body_rewire ... ok
[INFO] [stdout] test test_delete_request_with_body ... ok
[INFO] [stdout] test test_delete_request_rewire ... ok
[INFO] [stdout] test test_get_request ... ok
[INFO] [stdout] test test_head_request_with_query_args ... ok
[INFO] [stdout] test test_delete_request_with_query_args ... ok
[INFO] [stdout] test test_delete_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_patch_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_patch_request_with_body_rewire ... ok
[INFO] [stdout] test test_post_request_with_body ... ok
[INFO] [stdout] test test_patch_request ... ok
[INFO] [stdout] test test_patch_request_with_query_args ... ok
[INFO] [stdout] test test_patch_request_rewire ... ok
[INFO] [stdout] test test_post_request ... ok
[INFO] [stdout] test test_patch_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_patch_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_patch_request_with_body ... ok
[INFO] [stdout] test test_post_request_rewire ... ok
[INFO] [stdout] test test_post_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_post_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_post_request_with_query_args ... ok
[INFO] [stdout] test test_post_request_with_body_rewire ... ok
[INFO] [stdout] test test_post_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_put_request ... ok
[INFO] [stdout] test test_put_request_with_body ... ok
[INFO] [stdout] test test_put_request_rewire ... ok
[INFO] [stdout] test test_put_request_with_body_rewire ... ok
[INFO] [stdout] test test_put_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_put_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_request_delete_request_with_body ... ok
[INFO] [stdout] test test_request_delete_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_put_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_request_delete_request_rewire ... ok
[INFO] [stdout] test test_request_delete_request ... ok
[INFO] [stdout] test test_request_delete_request_with_body_rewire ... ok
[INFO] [stdout] test test_put_request_with_query_args ... ok
[INFO] [stdout] test test_request_delete_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_request_delete_request_with_query_args ... ok
[INFO] [stdout] test test_request_delete_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_request_get_request ... ok
[INFO] [stdout] test test_request_get_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_request_get_request_rewire ... ok
[INFO] [stdout] test test_request_get_request_with_query_args ... ok
[INFO] [stdout] test test_request_head_request_with_query_args ... ok
[INFO] [stdout] test test_request_head_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_request_patch_request ... ok
[INFO] [stdout] test test_request_patch_request_rewire ... ok
[INFO] [stdout] test test_request_post_request ... ok
[INFO] [stdout] test test_request_post_request_with_body ... ok
[INFO] [stdout] test test_request_patch_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_request_patch_request_with_body ... ok
[INFO] [stdout] test test_request_post_request_rewire ... ok
[INFO] [stdout] test test_request_patch_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_request_head_request_rewire ... ok
[INFO] [stdout] test test_request_post_request_with_body_rewire ... ok
[INFO] [stdout] test test_request_patch_request_with_body_rewire ... ok
[INFO] [stdout] test test_request_head_request ... ok
[INFO] [stdout] test test_request_patch_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_request_put_request_with_body ... ok
[INFO] [stdout] test test_request_post_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_request_patch_request_with_query_args ... ok
[INFO] [stdout] test test_request_post_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_request_post_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_request_put_request_with_query_args ... ok
[INFO] [stdout] test test_request_post_request_with_query_args ... ok
[INFO] [stdout] test test_request_put_request_with_body_rewire ... ok
[INFO] [stdout] test test_request_put_request_with_query_args_rewire ... ok
[INFO] [stdout] test test_request_put_request ... ok
[INFO] [stdout] test test_request_put_request_with_body_and_query_args_rewire ... ok
[INFO] [stdout] test test_request_put_request_rewire ... ok
[INFO] [stdout] test test_request_put_request_with_body_and_query_args ... ok
[INFO] [stdout] test test_with_nested_args_rewire ... ok
[INFO] [stdout] test test_with_nested_args ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 82 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.30s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests reqwest_rewire
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/lib.rs - (line 56) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 50) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::post (line 117) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::get (line 97) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 37) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::request (line 217) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::get_url (line 36) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::head (line 197) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::delete (line 177) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::patch (line 157) ... FAILED
[INFO] [stdout] test src/rewire_client.rs - rewire_client::RewireClient::put (line 137) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 56) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `fetch_data` in this scope
[INFO] [stdout]   --> src/lib.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 69 | fetch_data(&client);
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 50) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `fetch_data` in this scope
[INFO] [stdout]   --> src/lib.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | fetch_data(&client);
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::post (line 117) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 121 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout] 121 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:126:53
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_117_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 126 | client.post("http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]     |                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:127:65
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_117_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 127 | client.post("http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]     |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:128:61
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_117_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 128 | client.post("http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]     |                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:124:50
[INFO] [stdout]     |
[INFO] [stdout] 124 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 124 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 124 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:124:97
[INFO] [stdout]     |
[INFO] [stdout] 124 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 124 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 124 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::get (line 97) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 101 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout] 101 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:106:52
[INFO] [stdout]     |
[INFO] [stdout]  98 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_97_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 106 | client.get("http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]     |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:107:64
[INFO] [stdout]     |
[INFO] [stdout]  98 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_97_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 107 | client.get("http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]     |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:108:60
[INFO] [stdout]     |
[INFO] [stdout]  98 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_97_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 108 | client.get("http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]     |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:104:50
[INFO] [stdout]     |
[INFO] [stdout] 104 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 104 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 104 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:104:97
[INFO] [stdout]     |
[INFO] [stdout] 104 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 104 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 104 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 37) stdout ----
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future<Output = Result<reqwest::async_impl::response::Response, reqwest::error::Error>>` in the current scope
[INFO] [stdout]   --> src/lib.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     client
[INFO] [stdout] 43 | |         .get("https://real-api.com/api/users")
[INFO] [stdout] 44 | |         .send()
[INFO] [stdout] 45 | |         .unwrap();
[INFO] [stdout]    | |         -^^^^^^ method not found in `impl Future<Output = Result<reqwest::async_impl::response::Response, reqwest::error::Error>>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]    |
[INFO] [stdout] 45 |         .await.unwrap();
[INFO] [stdout]    |          ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::request (line 217) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:220:21
[INFO] [stdout]     |
[INFO] [stdout] 220 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:221:21
[INFO] [stdout]     |
[INFO] [stdout] 221 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 221 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout] 221 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:226:75
[INFO] [stdout]     |
[INFO] [stdout] 218 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_217_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 226 | client.request(http::Method::GET, "http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]     |                                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:227:87
[INFO] [stdout]     |
[INFO] [stdout] 218 | ...nake_case)] fn _doctest_main_src_rewire_client_rs_217_0() {
[INFO] [stdout]     |                --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 227 | ...od::GET, "http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]     |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:228:83
[INFO] [stdout]     |
[INFO] [stdout] 218 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_217_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 228 | client.request(http::Method::GET, "http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]     |                                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:224:50
[INFO] [stdout]     |
[INFO] [stdout] 224 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 224 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 224 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:224:97
[INFO] [stdout]     |
[INFO] [stdout] 224 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 224 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 224 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::get_url (line 36) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:39:21
[INFO] [stdout]     |
[INFO] [stdout]  39 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:40:21
[INFO] [stdout]     |
[INFO] [stdout]  40 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout]  40 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]  40 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/rewire_client.rs:45:52
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_36_0() {
[INFO] [stdout]    |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 45 | client.get("http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]    |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/rewire_client.rs:46:64
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_36_0() {
[INFO] [stdout]    |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 46 | client.get("http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]    |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/rewire_client.rs:47:60
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_36_0() {
[INFO] [stdout]    |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 47 | client.get("http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]    |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/rewire_client.rs:43:50
[INFO] [stdout]    |
[INFO] [stdout] 43 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]    |                                                  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 43 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 43 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/rewire_client.rs:43:97
[INFO] [stdout]    |
[INFO] [stdout] 43 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]    |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 43 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 43 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::head (line 197) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:200:21
[INFO] [stdout]     |
[INFO] [stdout] 200 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:201:21
[INFO] [stdout]     |
[INFO] [stdout] 201 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 201 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout] 201 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:206:53
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_197_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 206 | client.head("http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]     |                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:207:65
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_197_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 207 | client.head("http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]     |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:208:61
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_197_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 208 | client.head("http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]     |                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:204:50
[INFO] [stdout]     |
[INFO] [stdout] 204 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 204 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 204 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:204:97
[INFO] [stdout]     |
[INFO] [stdout] 204 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 204 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 204 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::delete (line 177) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:180:21
[INFO] [stdout]     |
[INFO] [stdout] 180 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:181:21
[INFO] [stdout]     |
[INFO] [stdout] 181 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 181 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout] 181 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:186:55
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_177_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 186 | client.delete("http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]     |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:187:67
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_177_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 187 | client.delete("http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]     |                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:188:63
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_177_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 188 | client.delete("http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]     |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 184 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 184 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:184:97
[INFO] [stdout]     |
[INFO] [stdout] 184 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 184 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 184 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::patch (line 157) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:161:21
[INFO] [stdout]     |
[INFO] [stdout] 161 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 161 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout] 161 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:166:54
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_157_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 166 | client.patch("http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]     |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:167:66
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_157_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 167 | client.patch("http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]     |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:168:62
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_157_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 168 | client.patch("http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]     |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:164:50
[INFO] [stdout]     |
[INFO] [stdout] 164 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 164 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 164 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:164:97
[INFO] [stdout]     |
[INFO] [stdout] 164 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 164 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 164 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/rewire_client.rs - rewire_client::RewireClient::put (line 137) stdout ----
[INFO] [stdout] error[E0603]: module `rewire_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 | use reqwest_rewire::rewire_client::RewireClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `rewire_client` is defined here
[INFO] [stdout]    --> src/lib.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | mod rewire_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `testable_client` is private
[INFO] [stdout]    --> src/rewire_client.rs:141:21
[INFO] [stdout]     |
[INFO] [stdout] 141 | use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `testable_client` is defined here
[INFO] [stdout]    --> src/lib.rs:140:1
[INFO] [stdout]     |
[INFO] [stdout] 140 | mod testable_client;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]     |
[INFO] [stdout] 141 - use reqwest_rewire::testable_client::TestableClient;
[INFO] [stdout] 141 + use reqwest_rewire::TestableClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:146:52
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_137_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 146 | client.put("http://localhost:8080/example").send().await.unwrap(); // hits http://localhost:8080/rewired
[INFO] [stdout]     |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:147:64
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_137_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 147 | client.put("http://localhost:8080/example/nested_path").send().await.unwrap(); // hits http://localhost:8080/rewired/nested_path
[INFO] [stdout]     |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/rewire_client.rs:148:60
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rewire_client_rs_137_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 148 | client.put("http://localhost:8080/example?foo=bar").send().await.unwrap();
[INFO] [stdout]     |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:144:50
[INFO] [stdout]     |
[INFO] [stdout] 144 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 144 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 144 + redirects.insert("http://localhost:8080/example".to_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/rewire_client.rs:144:97
[INFO] [stdout]     |
[INFO] [stdout] 144 | redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_string` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 144 - redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".into_string());
[INFO] [stdout] 144 + redirects.insert("http://localhost:8080/example".into_string(), "http://localhost:8080/rewired".to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 37)
[INFO] [stdout]     src/lib.rs - (line 50)
[INFO] [stdout]     src/lib.rs - (line 56)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::delete (line 177)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::get (line 97)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::get_url (line 36)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::head (line 197)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::patch (line 157)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::post (line 117)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::put (line 137)
[INFO] [stdout]     src/rewire_client.rs - rewire_client::RewireClient::request (line 217)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.60s; merged doctests compilation took 0.75s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "853c2a728de850a53d048fccd184d60f017972ee1df166ed1e3b69a4988719d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "853c2a728de850a53d048fccd184d60f017972ee1df166ed1e3b69a4988719d5", kill_on_drop: false }`
[INFO] [stdout] 853c2a728de850a53d048fccd184d60f017972ee1df166ed1e3b69a4988719d5
