[INFO] fetching crate actix-session 0.6.2... [INFO] testing actix-session-0.6.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate actix-session 0.6.2 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate actix-session 0.6.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-session 0.6.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate actix-session 0.6.2 [INFO] tweaked toml for crates.io crate actix-session 0.6.2 written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate crates.io crate actix-session 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dd8ddf1c0641f13557500a9bf62c365e2baf318ef75850a8e0cf107b49865f1 [INFO] running `Command { std: "docker" "start" "-a" "9dd8ddf1c0641f13557500a9bf62c365e2baf318ef75850a8e0cf107b49865f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dd8ddf1c0641f13557500a9bf62c365e2baf318ef75850a8e0cf107b49865f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd8ddf1c0641f13557500a9bf62c365e2baf318ef75850a8e0cf107b49865f1", kill_on_drop: false }` [INFO] [stdout] 9dd8ddf1c0641f13557500a9bf62c365e2baf318ef75850a8e0cf107b49865f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6bccbda2f2fb2c7937a7a936f3cf99e77cca305b4e2290b5db25489b59c34b6 [INFO] running `Command { std: "docker" "start" "-a" "e6bccbda2f2fb2c7937a7a936f3cf99e77cca305b4e2290b5db25489b59c34b6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling typenum v1.15.0 [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 subtle v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling actix-session v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "e6bccbda2f2fb2c7937a7a936f3cf99e77cca305b4e2290b5db25489b59c34b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6bccbda2f2fb2c7937a7a936f3cf99e77cca305b4e2290b5db25489b59c34b6", kill_on_drop: false }` [INFO] [stdout] e6bccbda2f2fb2c7937a7a936f3cf99e77cca305b4e2290b5db25489b59c34b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89868a8de95e9cdb9d979302d0d3c8589ef63b02caa7231bb07e445e79a3baf [INFO] running `Command { std: "docker" "start" "-a" "c89868a8de95e9cdb9d979302d0d3c8589ef63b02caa7231bb07e445e79a3baf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix-session v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/session.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/session.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/session.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/session.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/session.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/session.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_session::storage::CookieSessionStore` [INFO] [stdout] --> tests/middleware.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_session::{storage::CookieSessionStore, Session, SessionMiddleware}; [INFO] [stdout] | ^^^^^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `SessionStore` [INFO] [stdout] | no `CookieSessionStore` in `storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/middleware.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> tests/opaque_errors.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-session` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/lib.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | use rand::{distributions::Alphanumeric, thread_rng, Rng}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/lib.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | use rand::{distributions::Alphanumeric, thread_rng, Rng}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-session` due to 3 previous errors [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:611:18 [INFO] [stdout] | [INFO] [stdout] 611 | #[derive(Serialize, Deserialize, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:611:29 [INFO] [stdout] | [INFO] [stdout] 611 | #[derive(Serialize, Deserialize, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:645:18 [INFO] [stdout] | [INFO] [stdout] 645 | #[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] --> src/lib.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> src/lib.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | let srv = actix_test::start(move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 317 | let srv = actix_web::start(move || { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> src/lib.rs:405:23 [INFO] [stdout] | [INFO] [stdout] 405 | let srv = actix_test::start(move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 405 | let srv = actix_web::start(move || { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> src/lib.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-session` due to 2 previous errors [INFO] [stdout] error[E0277]: the trait bound `for<'de> acceptance_tests::Identity: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:419:62 [INFO] [stdout] | [INFO] [stdout] 419 | .service(resource("/login").route(post().to(login))) [INFO] [stdout] | ^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `acceptance_tests::Identity` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `acceptance_tests::Identity` [INFO] [stdout] = note: required because of the requirements on the impl of `FromRequest` for `actix_web::web::Json` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `FromRequest` for `(actix_web::web::Json, session::Session)` [INFO] [stdout] note: required by a bound in `Route::to` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/route.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | Args: FromRequest + 'static, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Route::to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> acceptance_tests::Identity: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:331:62 [INFO] [stdout] | [INFO] [stdout] 331 | .service(resource("/login").route(post().to(login))) [INFO] [stdout] | ^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `acceptance_tests::Identity` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `acceptance_tests::Identity` [INFO] [stdout] = note: required because of the requirements on the impl of `FromRequest` for `actix_web::web::Json` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `FromRequest` for `(actix_web::web::Json, session::Session)` [INFO] [stdout] note: required by a bound in `Route::to` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/route.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | Args: FromRequest + 'static, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Route::to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IndexResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:624:40 [INFO] [stdout] | [INFO] [stdout] 624 | Ok(HttpResponse::Ok().json(&IndexResponse { user_id, counter })) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `IndexResponse` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&IndexResponse` [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 `IndexResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:635:40 [INFO] [stdout] | [INFO] [stdout] 635 | Ok(HttpResponse::Ok().json(&IndexResponse { user_id, counter })) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `IndexResponse` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&IndexResponse` [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 `IndexResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:642:40 [INFO] [stdout] | [INFO] [stdout] 642 | Ok(HttpResponse::Ok().json(&IndexResponse { user_id, counter })) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `IndexResponse` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&IndexResponse` [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 `IndexResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:660:40 [INFO] [stdout] | [INFO] [stdout] 660 | Ok(HttpResponse::Ok().json(&IndexResponse { [INFO] [stdout] | ___________________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 661 | | user_id: Some(id), [INFO] [stdout] 662 | | counter, [INFO] [stdout] 663 | | })) [INFO] [stdout] | |_____________^ the trait `serde::Serialize` is not implemented for `IndexResponse` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&IndexResponse` [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: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-session` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "c89868a8de95e9cdb9d979302d0d3c8589ef63b02caa7231bb07e445e79a3baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89868a8de95e9cdb9d979302d0d3c8589ef63b02caa7231bb07e445e79a3baf", kill_on_drop: false }` [INFO] [stdout] c89868a8de95e9cdb9d979302d0d3c8589ef63b02caa7231bb07e445e79a3baf