[INFO] fetching crate micro-web 0.3.0... [INFO] checking micro-web-0.3.0 against try#c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f for pr-133502-19 [INFO] extracting crate micro-web 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate micro-web 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate micro-web 0.3.0 [INFO] tweaked toml for crates.io crate micro-web 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate micro-web 0.3.0 on toolchain c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate micro-web 0.3.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" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eefab611a9d1ddd0d6f89bd38a1545e85c95ea69471ab4b4aae6cf55815944d8 [INFO] running `Command { std: "docker" "start" "-a" "eefab611a9d1ddd0d6f89bd38a1545e85c95ea69471ab4b4aae6cf55815944d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eefab611a9d1ddd0d6f89bd38a1545e85c95ea69471ab4b4aae6cf55815944d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eefab611a9d1ddd0d6f89bd38a1545e85c95ea69471ab4b4aae6cf55815944d8", kill_on_drop: false }` [INFO] [stdout] eefab611a9d1ddd0d6f89bd38a1545e85c95ea69471ab4b4aae6cf55815944d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d97c508f77b7ce6343e81de299d9aee873eb652cf563e53a112725cf0248f4d6 [INFO] running `Command { std: "docker" "start" "-a" "d97c508f77b7ce6343e81de299d9aee873eb652cf563e53a112725cf0248f4d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking mintex v0.1.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking hlist2 v0.0.15 [INFO] [stderr] Checking faf-http-date v0.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking matchit v0.8.6 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling dynosaur_derive v0.3.0 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking dynosaur v0.3.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking dhat v0.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.15.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking micro-http v0.3.0 [INFO] [stderr] Checking micro-web v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed for `FnHandler` [INFO] [stdout] --> src/server.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let handler = handler_fn(f); [INFO] [stdout] | ^^^^^^^ ---------- - type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] help: consider giving `handler` an explicit type, where the type for type parameter `Args` is specified [INFO] [stdout] | [INFO] [stdout] 87 | let handler: FnHandler<_, Args> = handler_fn(f); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 181 | method_router_filter!(get, inner_get); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 182 | method_router_filter!(post, inner_post); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 183 | method_router_filter!(put, inner_put); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 184 | method_router_filter!(delete, inner_delete); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 185 | method_router_filter!(head, inner_head); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 186 | method_router_filter!(options, inner_options); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 187 | method_router_filter!(connect, inner_connect); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 188 | method_router_filter!(patch, inner_patch); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 189 | method_router_filter!(trace, inner_trace); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `micro-web` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed for `FnHandler` [INFO] [stdout] --> src/server.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let handler = handler_fn(f); [INFO] [stdout] | ^^^^^^^ ---------- - type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] help: consider giving `handler` an explicit type, where the type for type parameter `Args` is specified [INFO] [stdout] | [INFO] [stdout] 87 | let handler: FnHandler<_, Args> = handler_fn(f); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 181 | method_router_filter!(get, inner_get); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 182 | method_router_filter!(post, inner_post); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 183 | method_router_filter!(put, inner_put); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 184 | method_router_filter!(delete, inner_delete); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 185 | method_router_filter!(head, inner_head); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 186 | method_router_filter!(options, inner_options); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 187 | method_router_filter!(connect, inner_connect); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 188 | method_router_filter!(patch, inner_patch); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/router/mod.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let handler = handler_fn(f); [INFO] [stdout] | ---------- ^ cannot infer type [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 189 | method_router_filter!(trace, inner_trace); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `F: FnTrait<_>` [INFO] [stdout] = help: the following types implement trait `FnTrait`: [INFO] [stdout] `Func` implements `FnTrait<()>` [INFO] [stdout] `Func` implements `FnTrait<(A, B)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G)>` [INFO] [stdout] `Func` implements `FnTrait<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `handler_fn` [INFO] [stdout] --> src/handler.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn handler_fn(f: F) -> FnHandler [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 95 | where [INFO] [stdout] 96 | F: FnTrait, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `handler_fn` [INFO] [stdout] = note: this error originates in the macro `method_router_filter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `micro-web` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "d97c508f77b7ce6343e81de299d9aee873eb652cf563e53a112725cf0248f4d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97c508f77b7ce6343e81de299d9aee873eb652cf563e53a112725cf0248f4d6", kill_on_drop: false }` [INFO] [stdout] d97c508f77b7ce6343e81de299d9aee873eb652cf563e53a112725cf0248f4d6