[INFO] fetching crate actix-redis 0.10.0-beta.6... [INFO] testing actix-redis-0.10.0-beta.6 against 1.59.0 for beta-1.60-1 [INFO] extracting crate actix-redis 0.10.0-beta.6 into /workspace/builds/worker-106/source [INFO] validating manifest of crates.io crate actix-redis 0.10.0-beta.6 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 crates.io crate actix-redis 0.10.0-beta.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate actix-redis 0.10.0-beta.6 [INFO] tweaked toml for crates.io crate actix-redis 0.10.0-beta.6 written to /workspace/builds/worker-106/source/Cargo.toml [INFO] crate crates.io crate actix-redis 0.10.0-beta.6 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] e4741952f317ac7e9ff9bc75565690801929c07b955c712c3e42c9142383f8aa [INFO] running `Command { std: "docker" "start" "-a" "e4741952f317ac7e9ff9bc75565690801929c07b955c712c3e42c9142383f8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4741952f317ac7e9ff9bc75565690801929c07b955c712c3e42c9142383f8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4741952f317ac7e9ff9bc75565690801929c07b955c712c3e42c9142383f8aa", kill_on_drop: false }` [INFO] [stdout] e4741952f317ac7e9ff9bc75565690801929c07b955c712c3e42c9142383f8aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] 028c1297fb5b6c5e5314f5c1d0f4d74c5e59916a0a39b21871894b1c9ca7ec0b [INFO] running `Command { std: "docker" "start" "-a" "028c1297fb5b6c5e5314f5c1d0f4d74c5e59916a0a39b21871894b1c9ca7ec0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [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 unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling block-buffer v0.10.1 [INFO] [stderr] Compiling crypto-common v0.1.1 [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 signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling hkdf v0.12.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling backoff v0.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.0-rc.3 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling actix-codec v0.4.2 [INFO] [stderr] Compiling combine v4.6.3 [INFO] [stderr] Compiling actix-tls v3.0.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling redis v0.19.0 [INFO] [stderr] Compiling actix v0.12.0 [INFO] [stderr] Compiling redis-async v0.8.1 [INFO] [stderr] Compiling actix-http v3.0.0-rc.1 [INFO] [stderr] Compiling actix-web v4.0.0-rc.2 [INFO] [stderr] Compiling actix-session v0.5.0-beta.8 [INFO] [stderr] Compiling actix-redis v0.10.0-beta.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.07s [INFO] running `Command { std: "docker" "inspect" "028c1297fb5b6c5e5314f5c1d0f4d74c5e59916a0a39b21871894b1c9ca7ec0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028c1297fb5b6c5e5314f5c1d0f4d74c5e59916a0a39b21871894b1c9ca7ec0b", kill_on_drop: false }` [INFO] [stdout] 028c1297fb5b6c5e5314f5c1d0f4d74c5e59916a0a39b21871894b1c9ca7ec0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] 6615629de7842c9c6fb33951c5538a69728042199a729311b36a703e67532216 [INFO] running `Command { std: "docker" "start" "-a" "6615629de7842c9c6fb33951c5538a69728042199a729311b36a703e67532216", kill_on_drop: false }` [INFO] [stderr] Compiling actix-redis v0.10.0-beta.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/session.rs:450:18 [INFO] [stdout] | [INFO] [stdout] 450 | #[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] --> src/session.rs:656:18 [INFO] [stdout] | [INFO] [stdout] 656 | #[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/test_redis.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | #[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/test_redis.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/session.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | #[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/session.rs:386:30 [INFO] [stdout] | [INFO] [stdout] 386 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/session.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 389 | #[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/session.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/session.rs:416:14 [INFO] [stdout] | [INFO] [stdout] 416 | #[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/session.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | 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/session.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | let srv = actix_test::start(|| { [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] 483 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/basic.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/authentication.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> tests/test_redis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/authentication.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[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/authentication.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> examples/authentication.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[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/authentication.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/authentication.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> src/session.rs:661:19 [INFO] [stdout] | [INFO] [stdout] 661 | let srv = actix_test::start(|| { [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] 661 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/basic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/basic.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | 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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Credentials: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> examples/authentication.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | .route("/login", web::post().to(login)) [INFO] [stdout] | ^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `Credentials` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `Credentials` [INFO] [stdout] = note: required because of the requirements on the impl of `FromRequest` for `Json` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `FromRequest` for `(Json, actix_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.0-rc.2/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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/authentication.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | 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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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-redis` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `IndexResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/session.rs:402:36 [INFO] [stdout] | [INFO] [stdout] 402 | 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.0-rc.2/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/session.rs:413:36 [INFO] [stdout] | [INFO] [stdout] 413 | 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.0-rc.2/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/session.rs:431:36 [INFO] [stdout] | [INFO] [stdout] 431 | Ok(HttpResponse::Ok().json(&IndexResponse { [INFO] [stdout] | _______________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 432 | | user_id: Some(id), [INFO] [stdout] 433 | | counter, [INFO] [stdout] 434 | | })) [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.0-rc.2/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 `for<'de> session::test::Identity: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/session.rs:489:58 [INFO] [stdout] | [INFO] [stdout] 489 | .service(resource("/login").route(post().to(login))) [INFO] [stdout] | ^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `session::test::Identity` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `session::test::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, actix_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.0-rc.2/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] [stderr] error: build failed [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6615629de7842c9c6fb33951c5538a69728042199a729311b36a703e67532216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6615629de7842c9c6fb33951c5538a69728042199a729311b36a703e67532216", kill_on_drop: false }` [INFO] [stdout] 6615629de7842c9c6fb33951c5538a69728042199a729311b36a703e67532216