[INFO] cloning repository https://github.com/edward-shen/actix-csrf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edward-shen/actix-csrf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedward-shen%2Factix-csrf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedward-shen%2Factix-csrf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 671b64ebb5d7a029d82bddf07deb5c317893335c [INFO] testing edward-shen/actix-csrf against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedward-shen%2Factix-csrf" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edward-shen/actix-csrf on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edward-shen/actix-csrf [INFO] finished tweaking git repo https://github.com/edward-shen/actix-csrf [INFO] tweaked toml for git repo https://github.com/edward-shen/actix-csrf written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/edward-shen/actix-csrf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8cd704100f8e2c37c200a24acf19c464fd839a84ae8dcc806a1515078733cf6 [INFO] running `Command { std: "docker" "start" "-a" "a8cd704100f8e2c37c200a24acf19c464fd839a84ae8dcc806a1515078733cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8cd704100f8e2c37c200a24acf19c464fd839a84ae8dcc806a1515078733cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8cd704100f8e2c37c200a24acf19c464fd839a84ae8dcc806a1515078733cf6", kill_on_drop: false }` [INFO] [stdout] a8cd704100f8e2c37c200a24acf19c464fd839a84ae8dcc806a1515078733cf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a986ad12660c9423b2dc05877d6479cc9db6cd154369550e9065a37262ba7d85 [INFO] running `Command { std: "docker" "start" "-a" "a986ad12660c9423b2dc05877d6479cc9db6cd154369550e9065a37262ba7d85", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.0 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling actix-csrf v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.44s [INFO] running `Command { std: "docker" "inspect" "a986ad12660c9423b2dc05877d6479cc9db6cd154369550e9065a37262ba7d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a986ad12660c9423b2dc05877d6479cc9db6cd154369550e9065a37262ba7d85", kill_on_drop: false }` [INFO] [stdout] a986ad12660c9423b2dc05877d6479cc9db6cd154369550e9065a37262ba7d85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 968f81c9b41ceee303d185e08f462734ff52a52ef069ca2851a615d1aece40e4 [INFO] running `Command { std: "docker" "start" "-a" "968f81c9b41ceee303d185e08f462734ff52a52ef069ca2851a615d1aece40e4", kill_on_drop: false }` [INFO] [stderr] Compiling actix-csrf v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `actix_web::get`, `actix_web::post` [INFO] [stdout] --> examples/js_json.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{get, post, App, HttpServer, Responder}; [INFO] [stdout] | ^^^ ^^^^ no `post` in the root [INFO] [stdout] | | [INFO] [stdout] | no `get` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/js_json.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/js_json.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[get("/login")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `actix_web::get`, `actix_web::post` [INFO] [stdout] --> examples/js_header.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{get, post, App, HttpServer, Responder}; [INFO] [stdout] | ^^^ ^^^^ no `post` in the root [INFO] [stdout] | | [INFO] [stdout] | no `get` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/js_header.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/js_header.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[get("/login")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/js_json.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/js_json.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> examples/js_json.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/js_json.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `post` [INFO] [stdout] --> examples/js_json.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | #[post("/login")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/js_header.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/js_header.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> examples/js_header.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/js_header.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `post` [INFO] [stdout] --> examples/js_header.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | #[post("/login")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `actix_web::get`, `actix_web::post` [INFO] [stdout] --> examples/form_token.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_web::{get, post, App, HttpServer, Responder}; [INFO] [stdout] | ^^^ ^^^^ no `post` in the root [INFO] [stdout] | | [INFO] [stdout] | no `get` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/form_token.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/form_token.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[get("/login")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/form_token.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/form_token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `post` [INFO] [stdout] --> examples/form_token.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[post("/login")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl std::future::Future {login_ui}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/js_json.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | App::new().wrap(csrf).service(login_ui).service(login) [INFO] [stdout] | ------- ^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl std::future::Future {login_ui}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web::post` [INFO] [stdout] --> src/lib.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | use actix_web::{post, web, App, HttpResponse, Responder}; [INFO] [stdout] | ^^^^ no `post` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `post` [INFO] [stdout] --> src/lib.rs:497:11 [INFO] [stdout] | [INFO] [stdout] 497 | #[post("/")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Csrf>) -> impl std::future::Future {login}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/js_json.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | App::new().wrap(csrf).service(login_ui).service(login) [INFO] [stdout] | ------- ^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(Csrf>) -> impl std::future::Future {login}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: serde::Serialize` is not satisfied [INFO] [stdout] --> examples/js_json.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | HttpResponse::Ok().json(Response { [INFO] [stdout] | ________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 106 | | count: json.count + 1, [INFO] [stdout] 107 | | }) [INFO] [stdout] | |_____^ the trait `serde::Serialize` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/response/builder.rs:332:40 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl std::future::Future {login_ui}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/js_header.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | App::new().wrap(csrf).service(login_ui).service(login) [INFO] [stdout] | ------- ^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl std::future::Future {login_ui}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/js_json.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Csrf, Json) -> impl std::future::Future {login}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/js_header.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | App::new().wrap(csrf).service(login_ui).service(login) [INFO] [stdout] | ------- ^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(Csrf, Json) -> impl std::future::Future {login}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(CsrfToken) -> impl std::future::Future {login_ui}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/form_token.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | App::new().wrap(csrf).service(login_ui).service(login) [INFO] [stdout] | ------- ^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(CsrfToken) -> impl std::future::Future {login_ui}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Csrf>) -> impl std::future::Future {login}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/form_token.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | App::new().wrap(csrf).service(login_ui).service(login) [INFO] [stdout] | ------- ^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(Csrf>) -> impl std::future::Future {login}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-csrf` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Response: serde::Serialize` is not satisfied [INFO] [stdout] --> examples/js_header.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | HttpResponse::Ok().json(Response { [INFO] [stdout] | ________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 99 | | count: json.count + 1, [INFO] [stdout] 100 | | }) [INFO] [stdout] | |_____^ the trait `serde::Serialize` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/response/builder.rs:332:40 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/js_header.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/form_token.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Csrf) -> impl std::future::Future {test_route}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> src/lib.rs:505:26 [INFO] [stdout] | [INFO] [stdout] 505 | .service(test_route), [INFO] [stdout] | ------- ^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(Csrf) -> impl std::future::Future {test_route}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "968f81c9b41ceee303d185e08f462734ff52a52ef069ca2851a615d1aece40e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968f81c9b41ceee303d185e08f462734ff52a52ef069ca2851a615d1aece40e4", kill_on_drop: false }` [INFO] [stdout] 968f81c9b41ceee303d185e08f462734ff52a52ef069ca2851a615d1aece40e4