[INFO] fetching crate thruster-core 0.7.16... [INFO] checking thruster-core-0.7.16 against beta-2019-10-27 for pr-65897 [INFO] extracting crate thruster-core 0.7.16 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate thruster-core 0.7.16 on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate thruster-core 0.7.16 [INFO] finished tweaking crates.io crate thruster-core 0.7.16 [INFO] tweaked toml for crates.io crate thruster-core 0.7.16 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d690b74ffda92286a5336e812c2c1a5b593f24ca645649e084c1de2e0361707e [INFO] running `"docker" "start" "-a" "d690b74ffda92286a5336e812c2c1a5b593f24ca645649e084c1de2e0361707e"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pin-project-internal v0.4.0-alpha.11 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling tracing-attributes v0.1.5 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.5 [INFO] [stderr] Checking templatify v0.2.3 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking tracing v0.1.10 [INFO] [stderr] Checking pin-project v0.4.0-alpha.11 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.5 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.5 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.5 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.5 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.5 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.5 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.5 [INFO] [stderr] Checking tokio v0.2.0-alpha.5 [INFO] [stderr] Checking thruster-core v0.7.16 (/opt/rustwide/workdir) [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:142:39 [INFO] [stderr] | [INFO] [stderr] 142 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:142:39 [INFO] [stderr] | [INFO] [stderr] 142 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:142:39 [INFO] [stderr] | [INFO] [stderr] 142 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:142:39 [INFO] [stderr] | [INFO] [stderr] 142 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:150:39 [INFO] [stderr] | [INFO] [stderr] 150 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:150:39 [INFO] [stderr] | [INFO] [stderr] 150 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:150:39 [INFO] [stderr] | [INFO] [stderr] 150 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:150:39 [INFO] [stderr] | [INFO] [stderr] 150 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:158:39 [INFO] [stderr] | [INFO] [stderr] 158 | route_parser.add_route("1/2/3/6", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:158:39 [INFO] [stderr] | [INFO] [stderr] 158 | route_parser.add_route("1/2/3/6", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:158:39 [INFO] [stderr] | [INFO] [stderr] 158 | route_parser.add_route("1/2/3/6", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:158:39 [INFO] [stderr] | [INFO] [stderr] 158 | route_parser.add_route("1/2/3/6", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:159:41 [INFO] [stderr] | [INFO] [stderr] 159 | route_parser.add_route("1/2/3/4/5", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:159:41 [INFO] [stderr] | [INFO] [stderr] 159 | route_parser.add_route("1/2/3/4/5", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:159:41 [INFO] [stderr] | [INFO] [stderr] 159 | route_parser.add_route("1/2/3/4/5", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:159:41 [INFO] [stderr] | [INFO] [stderr] 159 | route_parser.add_route("1/2/3/4/5", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | route_parser.add_route("1/2/3/4", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:168:42 [INFO] [stderr] | [INFO] [stderr] 168 | route_parser.add_route("1/:param/2", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:168:42 [INFO] [stderr] | [INFO] [stderr] 168 | route_parser.add_route("1/:param/2", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:168:42 [INFO] [stderr] | [INFO] [stderr] 168 | route_parser.add_route("1/:param/2", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:168:42 [INFO] [stderr] | [INFO] [stderr] 168 | route_parser.add_route("1/:param/2", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:178:37 [INFO] [stderr] | [INFO] [stderr] 178 | route_parser.add_route("1/2/3", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:178:37 [INFO] [stderr] | [INFO] [stderr] 178 | route_parser.add_route("1/2/3", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:178:37 [INFO] [stderr] | [INFO] [stderr] 178 | route_parser.add_route("1/2/3", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:178:37 [INFO] [stderr] | [INFO] [stderr] 178 | route_parser.add_route("1/2/3", middleware![BasicContext => fake]); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:195:54 [INFO] [stderr] | [INFO] [stderr] 195 | route_parser.add_method_agnostic_middleware("/", middleware![BasicContext => method_agnostic]); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:195:54 [INFO] [stderr] | [INFO] [stderr] 195 | route_parser.add_method_agnostic_middleware("/", middleware![BasicContext => method_agnostic]); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:195:54 [INFO] [stderr] | [INFO] [stderr] 195 | route_parser.add_method_agnostic_middleware("/", middleware![BasicContext => method_agnostic]); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:195:54 [INFO] [stderr] | [INFO] [stderr] 195 | route_parser.add_method_agnostic_middleware("/", middleware![BasicContext => method_agnostic]); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | route_parser.add_route("/__GET__/1/2/3", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | route_parser.add_route("/__GET__/1/2/3", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | route_parser.add_route("/__GET__/1/2/3", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_parser.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | route_parser.add_route("/__GET__/1/2/3", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:203:60 [INFO] [stderr] | [INFO] [stderr] 203 | route_tree.add_route_with_method(&Method::GET, "/a/b", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:203:60 [INFO] [stderr] | [INFO] [stderr] 203 | route_tree.add_route_with_method(&Method::GET, "/a/b", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:203:60 [INFO] [stderr] | [INFO] [stderr] 203 | route_tree.add_route_with_method(&Method::GET, "/a/b", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:203:60 [INFO] [stderr] | [INFO] [stderr] 203 | route_tree.add_route_with_method(&Method::GET, "/a/b", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/route_tree/mod.rs:207:8 [INFO] [stderr] | [INFO] [stderr] 207 | .wait() [INFO] [stderr] | ^^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:225:61 [INFO] [stderr] | [INFO] [stderr] 225 | route_tree.add_route_with_method(&Method::GET, "/:key", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:225:61 [INFO] [stderr] | [INFO] [stderr] 225 | route_tree.add_route_with_method(&Method::GET, "/:key", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:225:61 [INFO] [stderr] | [INFO] [stderr] 225 | route_tree.add_route_with_method(&Method::GET, "/:key", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:225:61 [INFO] [stderr] | [INFO] [stderr] 225 | route_tree.add_route_with_method(&Method::GET, "/:key", middleware![BasicContext => test_function]); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/route_tree/mod.rs:232:8 [INFO] [stderr] | [INFO] [stderr] 232 | .wait() [INFO] [stderr] | ^^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:251:59 [INFO] [stderr] | [INFO] [stderr] 251 | route_tree2.add_route_with_method(&Method::GET, "/c", middleware![BasicContext => test_function2]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:251:59 [INFO] [stderr] | [INFO] [stderr] 251 | route_tree2.add_route_with_method(&Method::GET, "/c", middleware![BasicContext => test_function2]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:251:59 [INFO] [stderr] | [INFO] [stderr] 251 | route_tree2.add_route_with_method(&Method::GET, "/c", middleware![BasicContext => test_function2]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:251:59 [INFO] [stderr] | [INFO] [stderr] 251 | route_tree2.add_route_with_method(&Method::GET, "/c", middleware![BasicContext => test_function2]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:254:59 [INFO] [stderr] | [INFO] [stderr] 254 | route_tree1.add_route_with_method(&Method::GET, "/a", middleware![BasicContext => test_function1]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:110:7 [INFO] [stderr] | [INFO] [stderr] 110 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:254:59 [INFO] [stderr] | [INFO] [stderr] 254 | route_tree1.add_route_with_method(&Method::GET, "/a", middleware![BasicContext => test_function1]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/middleware.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | .map(|ctx| ctx.into())) [INFO] [stderr] | ^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:254:59 [INFO] [stderr] | [INFO] [stderr] 254 | route_tree1.add_route_with_method(&Method::GET, "/a", middleware![BasicContext => test_function1]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : std::iter::Iterator` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : std::iter::Iterator` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use futures_util::future::FutureExt;` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn std::future::Future> + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> src/middleware.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | Box::new( [INFO] [stderr] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] ::: src/route_tree/mod.rs:254:59 [INFO] [stderr] | [INFO] [stderr] 254 | route_tree1.add_route_with_method(&Method::GET, "/a", middleware![BasicContext => test_function1]); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` in the current scope [INFO] [stderr] --> src/route_tree/mod.rs:260:8 [INFO] [stderr] | [INFO] [stderr] 260 | .wait() [INFO] [stderr] | ^^^^ method not found in `std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)>` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut (dyn std::future::Future> + std::marker::Send + 'static) : futures::future::Future` [INFO] [stderr] `&mut std::boxed::Box<(dyn std::future::Future> + std::marker::Send + 'static)> : futures::future::Future` [INFO] [stderr] `std::boxed::Box> + std::marker::Send> : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `futures::future::result_::FutureResult: std::future::Future` is not satisfied [INFO] [stderr] --> src/route_parser.rs:187:7 [INFO] [stderr] | [INFO] [stderr] 187 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `futures::future::result_::FutureResult` [INFO] [stderr] | [INFO] [stderr] = note: required for the cast to the object type `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `futures::future::result_::FutureResult: std::future::Future` is not satisfied [INFO] [stderr] --> src/route_parser.rs:191:7 [INFO] [stderr] | [INFO] [stderr] 191 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `futures::future::result_::FutureResult` [INFO] [stderr] | [INFO] [stderr] = note: required for the cast to the object type `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `futures::future::result_::FutureResult: std::future::Future` is not satisfied [INFO] [stderr] --> src/route_tree/mod.rs:200:7 [INFO] [stderr] | [INFO] [stderr] 200 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `futures::future::result_::FutureResult` [INFO] [stderr] | [INFO] [stderr] = note: required for the cast to the object type `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `futures::future::result_::FutureResult: std::future::Future` is not satisfied [INFO] [stderr] --> src/route_tree/mod.rs:222:7 [INFO] [stderr] | [INFO] [stderr] 222 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `futures::future::result_::FutureResult` [INFO] [stderr] | [INFO] [stderr] = note: required for the cast to the object type `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `futures::future::result_::FutureResult: std::future::Future` is not satisfied [INFO] [stderr] --> src/route_tree/mod.rs:241:7 [INFO] [stderr] | [INFO] [stderr] 241 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `futures::future::result_::FutureResult` [INFO] [stderr] | [INFO] [stderr] = note: required for the cast to the object type `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `futures::future::result_::FutureResult: std::future::Future` is not satisfied [INFO] [stderr] --> src/route_tree/mod.rs:247:7 [INFO] [stderr] | [INFO] [stderr] 247 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `futures::future::result_::FutureResult` [INFO] [stderr] | [INFO] [stderr] = note: required for the cast to the object type `dyn std::future::Future> + std::marker::Send` [INFO] [stderr] [INFO] [stderr] error: aborting due to 61 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `thruster-core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d690b74ffda92286a5336e812c2c1a5b593f24ca645649e084c1de2e0361707e"` [INFO] running `"docker" "rm" "-f" "d690b74ffda92286a5336e812c2c1a5b593f24ca645649e084c1de2e0361707e"` [INFO] [stdout] d690b74ffda92286a5336e812c2c1a5b593f24ca645649e084c1de2e0361707e