[INFO] crate thruster 0.7.3 is already in cache [INFO] extracting crate thruster 0.7.3 into work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/thruster/0.7.3 [INFO] extracting crate thruster 0.7.3 into work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/thruster/0.7.3 [INFO] validating manifest of thruster-0.7.3 on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of thruster-0.7.3 on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing thruster-0.7.3 [INFO] removed 1 missing examples [INFO] finished frobbing thruster-0.7.3 [INFO] frobbed toml for thruster-0.7.3 written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/thruster/0.7.3/Cargo.toml [INFO] started frobbing thruster-0.7.3 [INFO] removed 1 missing examples [INFO] finished frobbing thruster-0.7.3 [INFO] frobbed toml for thruster-0.7.3 written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/thruster/0.7.3/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking thruster-0.7.3 against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-5/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/thruster/0.7.3:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e21411e00d19b40a88838a3ea4b82a9e6a5687ebc9fe9ee51280f7d056f63781 [INFO] running `"docker" "start" "-a" "e21411e00d19b40a88838a3ea4b82a9e6a5687ebc9fe9ee51280f7d056f63781"` [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Checking r2d2 v0.8.4 [INFO] [stderr] Checking thruster-core v0.7.3 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking thruster-middleware v0.7.3 [INFO] [stderr] Compiling thruster-proc v0.7.3 [INFO] [stderr] Checking thruster-context v0.7.3 [INFO] [stderr] Checking thruster-app v0.7.3 [INFO] [stderr] Checking thruster-server v0.7.3 [INFO] [stderr] Checking diesel v1.4.2 [INFO] [stderr] Checking thruster v0.7.3 (/opt/crater/workdir) [INFO] [stderr] error[E0463]: can't find crate for `bytes` [INFO] [stderr] --> benches/app.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/multicontext.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | app.get("/hello", middleware![BasicContext => log, Ctx => goodbye]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/hyper_most_basic.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/multicontext.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | app.get("/hello", middleware![BasicContext => log, Ctx => goodbye]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/multicontext.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | app.get("/hello", middleware![BasicContext => log, Ctx => goodbye]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/multicontext.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | app.get("/hello", middleware![BasicContext => log, Ctx => goodbye]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/cookies/main.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/cookies/main.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | app.get("*", middleware![Ctx => redirect]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/multicontext.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | app.get("/hello", middleware![BasicContext => log, Ctx => goodbye]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/multicontext.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | app.get("/hello", middleware![BasicContext => log, Ctx => goodbye]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/multicontext.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | app.get("/hello", middleware![BasicContext => log, Ctx => goodbye]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/query_params.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | app.use_middleware("/", middleware![Ctx => query_params]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/query_params.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `thruster::MiddlewareNext` [INFO] [stderr] --> examples/most_basic_async.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use thruster::{MiddlewareNext, MiddlewareReturnValue}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `MiddlewareNext` in the root [INFO] [stderr] | help: a similar name exists in the module: `Middleware` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `thruster` [INFO] [stderr] --> examples/most_basic_async.rs:52:27 [INFO] [stderr] | [INFO] [stderr] 52 | app.use_middleware("/", async_middleware!(Ctx, [profiling])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Chain` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `thruster` [INFO] [stderr] --> examples/most_basic_async.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | app.get("/plaintext", async_middleware!(Ctx, [add_one, plaintext])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Chain` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> examples/most_basic_async.rs:52:27 [INFO] [stderr] | [INFO] [stderr] 52 | app.use_middleware("/", async_middleware!(Ctx, [profiling])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> examples/most_basic_async.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | app.get("/plaintext", async_middleware!(Ctx, [add_one, plaintext])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/most_basic.rs:41:27 [INFO] [stderr] | [INFO] [stderr] 41 | app.use_middleware("/", middleware![Ctx => profiling]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/most_basic.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/hello_world/main.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | app.get("/json", middleware![Ctx => json]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/hello_world/main.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/hello_world/main.rs:63:31 [INFO] [stderr] | [INFO] [stderr] 63 | app.post("/post-plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/hello_world/main.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | app.get("/*", middleware![Ctx => not_found_404]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hyper_most_basic.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 5 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hyper_most_basic.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hyper_most_basic.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 5 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hyper_most_basic.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/cookies/main.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/cookies/main.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/cookies/main.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/cookies/main.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/cookies/main.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | app.get("*", middleware![Ctx => redirect]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/cookies/main.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | app.get("*", middleware![Ctx => redirect]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/query_params.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | app.use_middleware("/", middleware![Ctx => query_params]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 5 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/cookies/main.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | app.get("*", middleware![Ctx => redirect]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/cookies/main.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | app.get("*", middleware![Ctx => redirect]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/query_params.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | app.use_middleware("/", middleware![Ctx => query_params]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/query_params.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | app.use_middleware("/", middleware![Ctx => query_params]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 5 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/query_params.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | app.use_middleware("/", middleware![Ctx => query_params]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/query_params.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 5 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/query_params.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/query_params.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 5 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/query_params.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | app.get("/json", middleware![Ctx => json]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | app.get("/json", middleware![Ctx => json]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | app.get("/json", middleware![Ctx => json]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | app.get("/json", middleware![Ctx => json]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | app.get("/plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:63:31 [INFO] [stderr] | [INFO] [stderr] 63 | app.post("/post-plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:63:31 [INFO] [stderr] | [INFO] [stderr] 63 | app.post("/post-plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:63:31 [INFO] [stderr] | [INFO] [stderr] 63 | app.post("/post-plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:63:31 [INFO] [stderr] | [INFO] [stderr] 63 | app.post("/post-plaintext", middleware![Ctx => plaintext]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | app.get("/*", middleware![Ctx => not_found_404]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | app.get("/*", middleware![Ctx => not_found_404]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: the `map` method cannot be invoked on a trait object [INFO] [stderr] --> examples/hello_world/main.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | app.get("/*", middleware![Ctx => not_found_404]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] help: another candidate was found in the following trait, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 11 | use crate::futures_legacy::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `dyn futures_legacy::Future + std::marker::Send` cannot be known at compilation time [INFO] [stderr] --> examples/hello_world/main.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | app.get("/*", middleware![Ctx => not_found_404]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `dyn futures_legacy::Future + std::marker::Send` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `std::boxed::Box::::new` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: method is never used: `set_header` [INFO] [stderr] --> examples/diesel/context.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn set_header(&mut self, key: &str, val: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Content` [INFO] [stderr] --> examples/diesel/content_model.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Content { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fetch_value` [INFO] [stderr] --> examples/diesel/main.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | fn fetch_value(mut context: Ctx, _next: impl Fn(Ctx) -> MiddlewareReturnValue + Send + Sync) -> MiddlewareReturnValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `not_found_404` [INFO] [stderr] --> examples/diesel/main.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | fn not_found_404(mut context: Ctx, _next: impl Fn(Ctx) -> MiddlewareReturnValue + Send + Sync) -> MiddlewareReturnValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static variable `psql` should have an upper case name [INFO] [stderr] --> examples/diesel/main.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | static ref psql: Pool> = { [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `PSQL` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_upper_case_globals)] on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "e21411e00d19b40a88838a3ea4b82a9e6a5687ebc9fe9ee51280f7d056f63781"` [INFO] running `"docker" "rm" "-f" "e21411e00d19b40a88838a3ea4b82a9e6a5687ebc9fe9ee51280f7d056f63781"` [INFO] [stdout] e21411e00d19b40a88838a3ea4b82a9e6a5687ebc9fe9ee51280f7d056f63781