[INFO] cloning repository https://github.com/jon-karlsen/warbling-waffle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jon-karlsen/warbling-waffle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-karlsen%2Fwarbling-waffle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-karlsen%2Fwarbling-waffle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17a9480070159c8c8805a77e11b6f1e0007691bf [INFO] checking jon-karlsen/warbling-waffle against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-karlsen%2Fwarbling-waffle" "/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/jon-karlsen/warbling-waffle [INFO] finished tweaking git repo https://github.com/jon-karlsen/warbling-waffle [INFO] tweaked toml for git repo https://github.com/jon-karlsen/warbling-waffle written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jon-karlsen/warbling-waffle on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jon-karlsen/warbling-waffle 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" "+f70ee28831acc074c109afab32d287057c3eca46" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking jon-karlsen/warbling-waffle against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-karlsen%2Fwarbling-waffle" "/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/jon-karlsen/warbling-waffle [INFO] finished tweaking git repo https://github.com/jon-karlsen/warbling-waffle [INFO] tweaked toml for git repo https://github.com/jon-karlsen/warbling-waffle written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jon-karlsen/warbling-waffle on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jon-karlsen/warbling-waffle 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" "+f70ee28831acc074c109afab32d287057c3eca46" "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-core v0.4.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded hyper-util v0.1.4 [INFO] [stderr] Downloaded axum v0.7.5 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7a6314a01e77b6edb8374577747ba141670b321c2e0bb7c02896fdac1c9c269 [INFO] running `Command { std: "docker" "start" "-a" "e7a6314a01e77b6edb8374577747ba141670b321c2e0bb7c02896fdac1c9c269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7a6314a01e77b6edb8374577747ba141670b321c2e0bb7c02896fdac1c9c269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a6314a01e77b6edb8374577747ba141670b321c2e0bb7c02896fdac1c9c269", kill_on_drop: false }` [INFO] [stdout] e7a6314a01e77b6edb8374577747ba141670b321c2e0bb7c02896fdac1c9c269 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8df03689ece6f78047369b1da3b2493f0acb0c2ecef1d725fe3cca8462ec9551 [INFO] running `Command { std: "docker" "start" "-a" "8df03689ece6f78047369b1da3b2493f0acb0c2ecef1d725fe3cca8462ec9551", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.4 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking warbling-waffle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `get` in this scope [INFO] [stdout] --> src/controller/web_router.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | .route( "/" , get( hello ) ) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use axum::routing::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hello` in this scope [INFO] [stdout] --> src/controller/web_router.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | .route( "/" , get( hello ) ) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::view::hello; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get` in this scope [INFO] [stdout] --> src/controller/web_router.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | .route( "/goodbye" , get( goodbye ) ) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use axum::routing::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `goodbye` in this scope [INFO] [stdout] --> src/controller/web_router.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | .route( "/goodbye" , get( goodbye ) ) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::view::goodbye; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | .with_state( state ) [INFO] [stdout] | ---------- ^^^^^ expected `()`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/mod.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn with_state(self, state: S) -> Router { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get` in this scope [INFO] [stdout] --> src/controller/web_router.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | .route( "/" , get( hello ) ) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use axum::routing::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hello` in this scope [INFO] [stdout] --> src/controller/web_router.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | .route( "/" , get( hello ) ) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::view::hello; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get` in this scope [INFO] [stdout] --> src/controller/web_router.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | .route( "/goodbye" , get( goodbye ) ) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use axum::routing::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `goodbye` in this scope [INFO] [stdout] --> src/controller/web_router.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | .route( "/goodbye" , get( goodbye ) ) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::view::goodbye; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> Router>: tower_service::Service>` is not satisfied [INFO] [stdout] --> src/main.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] | ----------- ^^^ the trait `for<'a> tower_service::Service>` is not implemented for `Router>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tower_service` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-service-0.3.2/src/lib.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | pub trait Service { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.3.1/src/service/service.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Service { [INFO] [stdout] | -------------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: the following other types implement trait `tower_service::Service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/mod.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | impl Service> for Router<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Router` implements `tower_service::Service>` [INFO] [stdout] ... [INFO] [stdout] 502 | / impl Service> for Router<()> [INFO] [stdout] 503 | | where [INFO] [stdout] 504 | | B: HttpBody + Send + 'static, [INFO] [stdout] 505 | | B::Error: Into, [INFO] [stdout] | |________________________________________^ `Router` implements `tower_service::Service>` [INFO] [stdout] note: required by a bound in `serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/serve.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn serve(tcp_listener: TcpListener, make_service: M) -> Serve [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 96 | where [INFO] [stdout] 97 | M: for<'a> Service, Error = Infallible, Response = S>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Serve>, _>` is not a future [INFO] [stdout] --> src/main.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] | ----------------------------- ^^^^^ `Serve>, _>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Serve>, _>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoFuture` is not implemented for `Serve>, _>` [INFO] [stdout] = note: Serve>, _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] help: the trait `IntoFuture` is implemented for `Serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/serve.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / impl IntoFuture for Serve [INFO] [stdout] 174 | | where [INFO] [stdout] 175 | | M: for<'a> Service, Error = Infallible, Response = S> + Send + 'static, [INFO] [stdout] 176 | | for<'a> >>::Future: Send, [INFO] [stdout] 177 | | S: Service + Clone + Send + 'static, [INFO] [stdout] 178 | | S::Future: Send, [INFO] [stdout] | |____________________^ [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 26 - axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] 26 + axum::serve( listener , app ).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warbling-waffle` (bin "WarblingWaffle") due to 8 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/controller/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | .with_state( state ) [INFO] [stdout] | ---------- ^^^^^ expected `()`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/mod.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn with_state(self, state: S) -> Router { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> Router>: tower_service::Service>` is not satisfied [INFO] [stdout] --> src/main.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] | ----------- ^^^ the trait `for<'a> tower_service::Service>` is not implemented for `Router>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tower_service` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-service-0.3.2/src/lib.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | pub trait Service { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.3.1/src/service/service.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Service { [INFO] [stdout] | -------------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: the following other types implement trait `tower_service::Service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/mod.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | impl Service> for Router<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Router` implements `tower_service::Service>` [INFO] [stdout] ... [INFO] [stdout] 502 | / impl Service> for Router<()> [INFO] [stdout] 503 | | where [INFO] [stdout] 504 | | B: HttpBody + Send + 'static, [INFO] [stdout] 505 | | B::Error: Into, [INFO] [stdout] | |________________________________________^ `Router` implements `tower_service::Service>` [INFO] [stdout] note: required by a bound in `serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/serve.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn serve(tcp_listener: TcpListener, make_service: M) -> Serve [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 96 | where [INFO] [stdout] 97 | M: for<'a> Service, Error = Infallible, Response = S>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Serve>, _>` is not a future [INFO] [stdout] --> src/main.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] | ----------------------------- ^^^^^ `Serve>, _>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Serve>, _>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoFuture` is not implemented for `Serve>, _>` [INFO] [stdout] = note: Serve>, _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] help: the trait `IntoFuture` is implemented for `Serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/serve.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / impl IntoFuture for Serve [INFO] [stdout] 174 | | where [INFO] [stdout] 175 | | M: for<'a> Service, Error = Infallible, Response = S> + Send + 'static, [INFO] [stdout] 176 | | for<'a> >>::Future: Send, [INFO] [stdout] 177 | | S: Service + Clone + Send + 'static, [INFO] [stdout] 178 | | S::Future: Send, [INFO] [stdout] | |____________________^ [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 26 - axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] 26 + axum::serve( listener , app ).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | axum::serve( listener , app ).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warbling-waffle` (bin "WarblingWaffle" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "8df03689ece6f78047369b1da3b2493f0acb0c2ecef1d725fe3cca8462ec9551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df03689ece6f78047369b1da3b2493f0acb0c2ecef1d725fe3cca8462ec9551", kill_on_drop: false }` [INFO] [stdout] 8df03689ece6f78047369b1da3b2493f0acb0c2ecef1d725fe3cca8462ec9551