[INFO] cloning repository https://github.com/nguyenminhtuan1802/15c5932 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nguyenminhtuan1802/15c5932" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenminhtuan1802%2F15c5932", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenminhtuan1802%2F15c5932'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3e48701a5ece0a94a1c2c16a2168fc299b2a761 [INFO] checking nguyenminhtuan1802/15c5932 against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenminhtuan1802%2F15c5932" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nguyenminhtuan1802/15c5932 [INFO] finished tweaking git repo https://github.com/nguyenminhtuan1802/15c5932 [INFO] tweaked toml for git repo https://github.com/nguyenminhtuan1802/15c5932 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nguyenminhtuan1802/15c5932 on toolchain 63132bd615c9bf75e93af8405d00064212331708 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nguyenminhtuan1802/15c5932 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-server v0.6.0 [INFO] [stderr] Downloaded serde_json v1.0.119 [INFO] [stderr] Downloaded hyper v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7a6cf3dc0f2632ac798f0f0f0406188b4e07fe61645158f95ce2546e2829946 [INFO] running `Command { std: "docker" "start" "-a" "c7a6cf3dc0f2632ac798f0f0f0406188b4e07fe61645158f95ce2546e2829946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7a6cf3dc0f2632ac798f0f0f0406188b4e07fe61645158f95ce2546e2829946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a6cf3dc0f2632ac798f0f0f0406188b4e07fe61645158f95ce2546e2829946", kill_on_drop: false }` [INFO] [stdout] c7a6cf3dc0f2632ac798f0f0f0406188b4e07fe61645158f95ce2546e2829946 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e5a0956d4db09e1922fa68e087fd229343c79020da8e128aac11a376e0f945e [INFO] running `Command { std: "docker" "start" "-a" "8e5a0956d4db09e1922fa68e087fd229343c79020da8e128aac11a376e0f945e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v1.4.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking axum-server v0.6.0 [INFO] [stderr] Checking rust_playground v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / if let Some(movie) = db.map.get(&id) { [INFO] [stdout] 59 | | (StatusCode::OK, Json(movie.clone())) [INFO] [stdout] | | ------------------------------------- found here [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ expected `(StatusCode, Json<&Movie>)`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(StatusCode, Json<&Movie>)` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json, State>) -> ... {post_movie}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | .route("/movie", post(post_movie)) [INFO] [stdout] | ---- ^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(Json, State>>) -> ... {post_movie}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `post` [INFO] [stdout] ... [INFO] [stdout] 407 | top_level_handler_fn!(post, POST); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-29a877b3db89310c.long-type-9285599499748214218.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | .serve(app.into_make_service()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] note: required by a bound in `axum_server::Server::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-server-0.6.0/src/server.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn serve(self, mut make_service: M) -> io::Result<()> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | M: MakeService>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Server::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-29a877b3db89310c.long-type-17669993757999151160.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .serve(app.into_make_service()) [INFO] [stdout] | ^^^^^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-29a877b3db89310c.long-type-17669993757999151160.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / axum_server::bind(addr) [INFO] [stdout] 47 | | .serve(app.into_make_service()) [INFO] [stdout] | |_______________________________________^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] note: required by a bound in `axum_server::Server::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-server-0.6.0/src/server.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn serve(self, mut make_service: M) -> io::Result<()> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | M: MakeService>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Server::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-29a877b3db89310c.long-type-17669993757999151160.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .await [INFO] [stdout] | ^^^^^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] note: required by a bound in `axum_server::Server::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-server-0.6.0/src/server.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn serve(self, mut make_service: M) -> io::Result<()> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | M: MakeService>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Server::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-29a877b3db89310c.long-type-17669993757999151160.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0317. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_playground` (bin "rust_playground") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / if let Some(movie) = db.map.get(&id) { [INFO] [stdout] 59 | | (StatusCode::OK, Json(movie.clone())) [INFO] [stdout] | | ------------------------------------- found here [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ expected `(StatusCode, Json<&Movie>)`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(StatusCode, axum::Json<&Movie>)` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json, State>) -> ... {post_movie}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | .route("/movie", post(post_movie)) [INFO] [stdout] | ---- ^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(Json, State>>) -> ... {post_movie}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] help: the following other types implement trait `Handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl Handler<(), S, B> for MethodRouter [INFO] [stdout] 1264 | | where [INFO] [stdout] 1265 | | S: Clone + 'static, [INFO] [stdout] 1266 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/handler/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / impl Handler for Layered [INFO] [stdout] 312 | | where [INFO] [stdout] 313 | | L: Layer> + Clone + Send + 'static, [INFO] [stdout] 314 | | H: Handler, [INFO] [stdout] ... | [INFO] [stdout] 320 | | B: Send + 'static, [INFO] [stdout] 321 | | B2: Send + 'static, [INFO] [stdout] | |_______________________^ `Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | H: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `post` [INFO] [stdout] ... [INFO] [stdout] 407 | top_level_handler_fn!(post, POST); [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-e84b7fec77557e7c.long-type-17771249465596552205.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | .serve(app.into_make_service()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] note: required by a bound in `axum_server::Server::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-server-0.6.0/src/server.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn serve(self, mut make_service: M) -> io::Result<()> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | M: MakeService>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Server::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-e84b7fec77557e7c.long-type-858375905856815841.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .serve(app.into_make_service()) [INFO] [stdout] | ^^^^^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-e84b7fec77557e7c.long-type-858375905856815841.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / axum_server::bind(addr) [INFO] [stdout] 47 | | .serve(app.into_make_service()) [INFO] [stdout] | |_______________________________________^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] note: required by a bound in `axum_server::Server::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-server-0.6.0/src/server.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn serve(self, mut make_service: M) -> io::Result<()> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | M: MakeService>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Server::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-e84b7fec77557e7c.long-type-858375905856815841.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Router<(), _>: Service>` is not satisfied [INFO] [stdout] --> src/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .await [INFO] [stdout] | ^^^^^ the trait `tower_service::Service>` is not implemented for `Router<(), _>` [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `Router<(), _>` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:391:1 [INFO] [stdout] | [INFO] [stdout] 391 | / impl Service> for Router<(), B> [INFO] [stdout] 392 | | where [INFO] [stdout] 393 | | B: HttpBody + Send + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `axum::http::Request<_>`, found `http::request::Request` [INFO] [stdout] = note: required for `IntoMakeService>` to implement `MakeService>` [INFO] [stdout] note: required by a bound in `axum_server::Server::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-server-0.6.0/src/server.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn serve(self, mut make_service: M) -> io::Result<()> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | M: MakeService>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Server::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_playground-e84b7fec77557e7c.long-type-858375905856815841.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0317. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_playground` (bin "rust_playground" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8e5a0956d4db09e1922fa68e087fd229343c79020da8e128aac11a376e0f945e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5a0956d4db09e1922fa68e087fd229343c79020da8e128aac11a376e0f945e", kill_on_drop: false }` [INFO] [stdout] 8e5a0956d4db09e1922fa68e087fd229343c79020da8e128aac11a376e0f945e