[INFO] fetching crate mock-http-connector 0.5.0... [INFO] checking mock-http-connector-0.5.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate mock-http-connector 0.5.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate mock-http-connector 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mock-http-connector 0.5.0 [INFO] tweaked toml for crates.io crate mock-http-connector 0.5.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mock-http-connector 0.5.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mock-http-connector 0.5.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf87499674cca15d1e032fe15449812d81bc9525c451551a1a45cfd9756a79f9 [INFO] running `Command { std: "docker" "start" "-a" "bf87499674cca15d1e032fe15449812d81bc9525c451551a1a45cfd9756a79f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf87499674cca15d1e032fe15449812d81bc9525c451551a1a45cfd9756a79f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf87499674cca15d1e032fe15449812d81bc9525c451551a1a45cfd9756a79f9", kill_on_drop: false }` [INFO] [stdout] bf87499674cca15d1e032fe15449812d81bc9525c451551a1a45cfd9756a79f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5007ec0bb5d6dc5fec6a3e318e6985bcd0911491ba496bb0afb906055dde62ae [INFO] running `Command { std: "docker" "start" "-a" "5007ec0bb5d6dc5fec6a3e318e6985bcd0911491ba496bb0afb906055dde62ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rustix v0.38.23 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling rstest_macros v0.16.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking speculoos v0.11.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling async-stream-impl v0.3.4 [INFO] [stderr] Checking async-stream v0.3.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking futures-executor v0.3.26 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking futures v0.3.26 [INFO] [stderr] Checking rstest v0.16.0 [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stderr] Checking mock-http-connector v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:109 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new()), $... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:109 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:109 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new()), $... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:86:47 [INFO] [stdout] | [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | returning!($type, $body, $status, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | returning!($type, $body, $status, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:109 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mock-http-connector` (lib) due to 55 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/builder.rs:536:43 [INFO] [stdout] | [INFO] [stdout] 536 | .with(|req: &Request| Ok::<_, Infallible>(req.body().contains("hello"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/case.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | |_req: &Request| Ok::<_, Infallible>(true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, hyper::HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:109 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new()), $... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | returning!(&'a str, |v: &&str| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, hyper::HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:109 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | returning!(String, |v: &String| { Ok::<_, Infallible>(v.to_string()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, hyper::HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:109 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new()), $... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:86:47 [INFO] [stdout] | [INFO] [stdout] 86 | returning!(Cow<'a, str>, |v: &Cow<'a, str>| { Ok::<_, Infallible>(v.to_string()) }, 'a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, hyper::HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | returning!($type, $body, $status, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / returning!( [INFO] [stdout] 88 | | StatusCode, [INFO] [stdout] 89 | | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] 90 | | |v: &StatusCode| Ok::<_, Infallible>(*v) [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | |_| Ok::<_, Infallible>(String::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, hyper::HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | returning!($type, $body, $status, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] 93 | | StatusCode::try_from(*v) [INFO] [stdout] 94 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | returning!(u16, |_| Ok::<_, Infallible>(String::new()), |v: &u16| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, hyper::HeaderMap> [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | for (k, v) in ($headers)(s)?.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:109 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::HeaderMap::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, StatusCode> [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | .status(($status)(s)?) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | returning!($type, $body, |_| Ok::<_, ::std::convert::Infallible>(crate::hyper::StatusCode::OK), |_| Ok::<_, ::std::convert::Infal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | .body(($body)(s)?)?) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `returning` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:96:55 [INFO] [stdout] | [INFO] [stdout] 96 | returning!(serde_json::Value, |v: &serde_json::Value| { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 97 | | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] 98 | | }); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler/returning.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Ok::<_, Infallible>(v.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mock-http-connector` (lib test) due to 57 previous errors [INFO] running `Command { std: "docker" "inspect" "5007ec0bb5d6dc5fec6a3e318e6985bcd0911491ba496bb0afb906055dde62ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5007ec0bb5d6dc5fec6a3e318e6985bcd0911491ba496bb0afb906055dde62ae", kill_on_drop: false }` [INFO] [stdout] 5007ec0bb5d6dc5fec6a3e318e6985bcd0911491ba496bb0afb906055dde62ae