[INFO] crate thruster 0.9.0-alpha.2 is already in cache [INFO] checking thruster-0.9.0-alpha.2 against try#a243773eaf3fedcd203f10ae4579e4f106bf7ccd for pr-68325 [INFO] extracting crate thruster 0.9.0-alpha.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate thruster 0.9.0-alpha.2 on toolchain a243773eaf3fedcd203f10ae4579e4f106bf7ccd [INFO] running `"/workspace/cargo-home/bin/cargo" "+a243773eaf3fedcd203f10ae4579e4f106bf7ccd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate thruster 0.9.0-alpha.2 [INFO] removed 2 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate thruster 0.9.0-alpha.2 [INFO] tweaked toml for crates.io crate thruster 0.9.0-alpha.2 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate thruster 0.9.0-alpha.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+a243773eaf3fedcd203f10ae4579e4f106bf7ccd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+a243773eaf3fedcd203f10ae4579e4f106bf7ccd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 595b1f4f122e9ed8bad56940c10b8b4cb6eb201cffacab507a009f2ea71ca1b2 [INFO] running `"docker" "start" "-a" "595b1f4f122e9ed8bad56940c10b8b4cb6eb201cffacab507a009f2ea71ca1b2"` [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking thruster-core-async-await v0.9.0-alpha.2 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking templatify v0.2.3 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling thruster-proc v0.9.0-alpha.2 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.22 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Compiling prost-derive v0.5.0 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking prost v0.5.0 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking thruster-core v0.9.0-alpha.2 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking thruster-middleware v0.9.0-alpha.2 [INFO] [stderr] Checking thruster-async-await v0.9.0-alpha.2 [INFO] [stderr] Checking thruster-context v0.9.0-alpha.2 [INFO] [stderr] Checking thruster-app v0.9.0-alpha.2 [INFO] [stderr] Checking thruster-server v0.9.0-alpha.2 [INFO] [stderr] Checking thruster v0.9.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stderr] --> examples/multiple_services.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[tokio::main] [INFO] [stderr] | ^^^^ could not find `main` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found macro `async_middleware` [INFO] [stderr] --> examples/multiple_services.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | app.get("/healthz", async_middleware(Ctx, [|ctx, _| ctx])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `async_middleware!` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found struct `Ctx` [INFO] [stderr] --> examples/multiple_services.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | app.get("/healthz", async_middleware(Ctx, [|ctx, _| ctx])); [INFO] [stderr] | ^^^ did you mean `Ctx { /* fields */ }`? [INFO] [stderr] [INFO] [stderr] error: cannot find macro `middleware` in this scope [INFO] [stderr] --> benches/app.rs:66:32 [INFO] [stderr] | [INFO] [stderr] 66 | app.get("/test/hello", middleware![BasicContext => test_fn_1]); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `middleware` in this scope [INFO] [stderr] --> benches/app.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | app.get("/test/hello", middleware![BasicContext => test_fn_1]); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `middleware` in this scope [INFO] [stderr] --> benches/app.rs:116:33 [INFO] [stderr] | [INFO] [stderr] 116 | app.get("/test/:hello", middleware![BasicContext => test_fn_1]); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `middleware` in this scope [INFO] [stderr] --> benches/app.rs:141:33 [INFO] [stderr] | [INFO] [stderr] 141 | app.use_middleware("/", middleware![BasicContext => query_params]); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `pending` in module `futures::future` [INFO] [stderr] --> examples/multiple_services.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | futures::future::pending().await [INFO] [stderr] | ^^^^^^^ not found in `futures::future` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `middleware` in this scope [INFO] [stderr] --> benches/app.rs:142:26 [INFO] [stderr] | [INFO] [stderr] 142 | app.get("/test", middleware![BasicContext => test_fn_1]); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> benches/app.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> benches/app.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `thruster::thruster_middleware::query_params::query_params` [INFO] [stderr] --> benches/app.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use thruster::thruster_middleware::query_params::query_params; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MiddlewareChain` [INFO] [stderr] --> benches/app.rs:13:43 [INFO] [stderr] | [INFO] [stderr] 13 | use thruster::{decode, App, BasicContext, MiddlewareChain, MiddlewareReturnValue, Request}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for opaque type `impl std::marker::Send+std::future::Future` in the current scope [INFO] [stderr] --> benches/app.rs:73:59 [INFO] [stderr] | [INFO] [stderr] 73 | let _response = app.resolve(request, matched).wait().unwrap(); [INFO] [stderr] | ^^^^ method not found in `impl std::marker::Send+std::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl std::marker::Send+std::future::Future : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `futures::future::result_::FutureResult: std::future::Future` is not satisfied [INFO] [stderr] --> benches/app.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | Box::pin(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `futures::future::result_::FutureResult` [INFO] [stderr] | [INFO] [stderr] = note: required for the cast to the object type `dyn std::future::Future + std::marker::Send` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for opaque type `impl std::marker::Send+std::future::Future` in the current scope [INFO] [stderr] --> benches/app.rs:98:59 [INFO] [stderr] | [INFO] [stderr] 98 | let _response = app.resolve(request, matched).wait().unwrap(); [INFO] [stderr] | ^^^^ method not found in `impl std::marker::Send+std::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl std::marker::Send+std::future::Future : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stderr] --> examples/multiple_services.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | async fn main() { [INFO] [stderr] | ^ `main` can only return types that implement `std::process::Termination` [INFO] [stderr] | [INFO] [stderr] = help: consider using `()`, or a `Result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0423, E0425, 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[E0432]: unresolved import `thruster::ssl_server` [INFO] [stderr] --> examples/most_basic_ssl/main.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use thruster::ssl_server::SSLServer; [INFO] [stderr] | ^^^^^^^^^^ could not find `ssl_server` in `thruster` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> benches/app.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 85 | ) -> MiddlewareReturnValue { [INFO] [stderr] | ----------------------------------- expected `std::pin::Pin + std::marker::Send + 'static)>>` because of return type [INFO] [stderr] 86 | context.body("world"); [INFO] [stderr] 87 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::pin::Pin`, found struct `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::pin::Pin + std::marker::Send + 'static)>>` [INFO] [stderr] found struct `std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for opaque type `impl std::marker::Send+std::future::Future` in the current scope [INFO] [stderr] --> benches/app.rs:123:59 [INFO] [stderr] | [INFO] [stderr] 123 | let _response = app.resolve(request, matched).wait().unwrap(); [INFO] [stderr] | ^^^^ method not found in `impl std::marker::Send+std::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl std::marker::Send+std::future::Future : futures::future::Future` [INFO] [stderr] [INFO] [stderr] warning: unused import: `thruster::ThrusterServer` [INFO] [stderr] --> examples/most_basic_ssl/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use thruster::ThrusterServer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `thruster`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> benches/app.rs:113:13 [INFO] [stderr] | [INFO] [stderr] 110 | ) -> MiddlewareReturnValue { [INFO] [stderr] | ----------------------------------- expected `std::pin::Pin + std::marker::Send + 'static)>>` because of return type [INFO] [stderr] ... [INFO] [stderr] 113 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::pin::Pin`, found struct `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::pin::Pin + std::marker::Send + 'static)>>` [INFO] [stderr] found struct `std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for opaque type `impl std::marker::Send+std::future::Future` in the current scope [INFO] [stderr] --> benches/app.rs:149:59 [INFO] [stderr] | [INFO] [stderr] 149 | let _response = app.resolve(request, matched).wait().unwrap(); [INFO] [stderr] | ^^^^ method not found in `impl std::marker::Send+std::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `wait` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl std::marker::Send+std::future::Future : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `thruster::ssl_hyper_server` [INFO] [stderr] --> examples/hyper_most_basic_ssl/main.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use thruster::ssl_hyper_server::SSLHyperServer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ could not find `ssl_hyper_server` in `thruster` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `thruster::thruster_context::basic_hyper_context` [INFO] [stderr] --> examples/hyper_most_basic_ssl/main.rs:2:33 [INFO] [stderr] | [INFO] [stderr] 2 | use thruster::thruster_context::basic_hyper_context::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ could not find `basic_hyper_context` in `thruster_context` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> benches/app.rs:138:13 [INFO] [stderr] | [INFO] [stderr] 135 | ) -> MiddlewareReturnValue { [INFO] [stderr] | ----------------------------------- expected `std::pin::Pin + std::marker::Send + 'static)>>` because of return type [INFO] [stderr] ... [INFO] [stderr] 138 | Box::new(future::ok(context)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::pin::Pin`, found struct `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::pin::Pin + std::marker::Send + 'static)>>` [INFO] [stderr] found struct `std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Future` [INFO] [stderr] --> benches/app.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::{future, Future}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] warning: unused import: `thruster::ThrusterServer` [INFO] [stderr] --> examples/hyper_most_basic_ssl/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use thruster::ThrusterServer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "595b1f4f122e9ed8bad56940c10b8b4cb6eb201cffacab507a009f2ea71ca1b2"` [INFO] running `"docker" "rm" "-f" "595b1f4f122e9ed8bad56940c10b8b4cb6eb201cffacab507a009f2ea71ca1b2"` [INFO] [stdout] 595b1f4f122e9ed8bad56940c10b8b4cb6eb201cffacab507a009f2ea71ca1b2