[INFO] cloning repository https://github.com/Andersonfrfilho/rust-backend-actix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Andersonfrfilho/rust-backend-actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndersonfrfilho%2Frust-backend-actix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndersonfrfilho%2Frust-backend-actix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 488ea7dd9366f955b32d1e54ce08d0888bb39b3e
[INFO] building Andersonfrfilho/rust-backend-actix against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndersonfrfilho%2Frust-backend-actix" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Andersonfrfilho/rust-backend-actix on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Andersonfrfilho/rust-backend-actix
[INFO] finished tweaking git repo https://github.com/Andersonfrfilho/rust-backend-actix
[INFO] tweaked toml for git repo https://github.com/Andersonfrfilho/rust-backend-actix written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Andersonfrfilho/rust-backend-actix already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jsonwebtoken v7.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.70
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.70
[INFO] [stderr]   Downloaded simple_asn1 v0.4.1
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.70
[INFO] [stderr]   Downloaded actix-files v0.5.0
[INFO] [stderr]   Downloaded v_htmlescape v0.12.0
[INFO] [stderr]   Downloaded buf-min v0.4.0
[INFO] [stderr]   Downloaded actix-cors v0.5.4
[INFO] [stderr]   Downloaded miniz_oxide v0.4.3
[INFO] [stderr]   Downloaded backtrace v0.3.56
[INFO] [stderr]   Downloaded flate2 v1.0.19
[INFO] [stderr]   Downloaded js-sys v0.3.47
[INFO] [stderr]   Downloaded bumpalo v3.5.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.70
[INFO] [stderr]   Downloaded actix-http v2.2.0
[INFO] [stderr]   Downloaded trust-dns-resolver v0.19.6
[INFO] [stderr]   Downloaded trust-dns-proto v0.19.6
[INFO] [stderr]   Downloaded object v0.23.0
[INFO] [stderr]   Downloaded time v0.2.25
[INFO] [stderr]   Downloaded regex v1.4.3
[INFO] [stderr]   Downloaded indexmap v1.6.1
[INFO] [stderr]   Downloaded regex-syntax v0.6.22
[INFO] [stderr]   Downloaded derive_more v0.99.11
[INFO] [stderr]   Downloaded v_escape_derive v0.8.4
[INFO] [stderr]   Downloaded v_escape v0.15.0
[INFO] [stderr]   Downloaded actix-router v0.2.6
[INFO] [stderr]   Downloaded actix-web-httpauth v0.5.0
[INFO] [stderr]   Downloaded tokio v0.2.24
[INFO] [stderr]   Downloaded addr2line v0.14.1
[INFO] [stderr]   Downloaded cookie v0.14.3
[INFO] [stderr]   Downloaded blowfish v0.7.0
[INFO] [stderr]   Downloaded bcrypt v0.9.0
[INFO] [stderr]   Downloaded env_logger v0.8.2
[INFO] [stderr]   Downloaded actix-session v0.4.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.18
[INFO] [stderr]   Downloaded thiserror-impl v1.0.23
[INFO] [stderr]   Downloaded thiserror v1.0.23
[INFO] [stderr]   Downloaded tracing-futures v0.2.4
[INFO] [stderr]   Downloaded sha-1 v0.9.2
[INFO] [stderr]   Downloaded pin-project-lite v0.1.11
[INFO] [stderr]   Downloaded web-sys v0.3.47
[INFO] [stderr]   Downloaded pem v0.8.2
[INFO] [stderr]   Downloaded gimli v0.23.0
[INFO] [stderr]   Downloaded adler v0.2.3
[INFO] [stderr]   Downloaded thread_local v1.1.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.70
[INFO] [stderr]   Downloaded encoding_rs v0.8.26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ddf86fb28837e3b0eb06830bf685cdbedc294bfd034b584790a88440a87b1c37
[INFO] running `Command { std: "docker" "start" "-a" "ddf86fb28837e3b0eb06830bf685cdbedc294bfd034b584790a88440a87b1c37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ddf86fb28837e3b0eb06830bf685cdbedc294bfd034b584790a88440a87b1c37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddf86fb28837e3b0eb06830bf685cdbedc294bfd034b584790a88440a87b1c37", kill_on_drop: false }`
[INFO] [stdout] ddf86fb28837e3b0eb06830bf685cdbedc294bfd034b584790a88440a87b1c37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b305ef28ad8cead91a19332154bc08c9256b28d98914d989d385b8294f211be
[INFO] running `Command { std: "docker" "start" "-a" "3b305ef28ad8cead91a19332154bc08c9256b28d98914d989d385b8294f211be", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-core v0.3.12
[INFO] [stderr]    Compiling futures-sink v0.3.12
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-io v0.3.12
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling futures-channel v0.3.12
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling futures-task v0.3.12
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling standback v0.2.14
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling tinyvec v1.1.0
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling form_urlencoded v1.0.0
[INFO] [stderr]    Compiling thread_local v1.1.2
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.16
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling cpuid-bool v0.2.0
[INFO] [stderr]    Compiling object v0.23.0
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling polyval v0.4.5
[INFO] [stderr]    Compiling tokio v0.2.24
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling http v0.2.3
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling time v0.2.25
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling tracing v0.1.22
[INFO] [stderr]    Compiling ghash v0.3.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling cookie v0.14.3
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling encoding_rs v0.8.26
[INFO] [stderr]    Compiling aes-gcm v0.8.0
[INFO] [stderr]    Compiling hkdf v0.10.0
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling flate2 v1.0.19
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling sha-1 v0.9.2
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling v_escape v0.15.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling buf-min v0.4.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling v_htmlescape v0.12.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling pem v0.8.2
[INFO] [stderr]    Compiling blowfish v0.7.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling bcrypt v0.9.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling backtrace v0.3.56
[INFO] [stderr]    Compiling env_logger v0.8.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling futures-macro v0.3.12
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.42
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling pin-project-internal v1.0.4
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling v_escape_derive v0.8.4
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.12
[INFO] [stderr]    Compiling pin-project v1.0.4
[INFO] [stderr]    Compiling thiserror v1.0.23
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling tracing-futures v0.2.4
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.12
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling futures v0.3.12
[INFO] [stderr]    Compiling trust-dns-proto v0.19.6
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.6
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling actix-router v0.2.6
[INFO] [stderr]    Compiling actix-http v2.2.0
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling actix-web v3.3.2
[INFO] [stderr]    Compiling actix-cors v0.5.4
[INFO] [stderr]    Compiling actix-web-httpauth v0.5.0
[INFO] [stderr]    Compiling actix-session v0.4.0
[INFO] [stderr]    Compiling actix-files v0.5.0
[INFO] [stderr]    Compiling actixtest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `App` and `get`
[INFO] [stdout]  --> src/errors/custom.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 |     dev::HttpResponseBuilder, error, get, http::header, http::StatusCode, App, HttpResponse,
[INFO] [stdout]   |                                      ^^^                                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `Error`, `HttpResponse`, `dev::HttpResponseBuilder`, `error`, `get`, `http::StatusCode`, and `http::header`
[INFO] [stdout]  --> src/middlewares/auth.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     dev::HttpResponseBuilder, dev::ServiceRequest, error, get, http::header, http::StatusCode, App,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^                       ^^^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^
[INFO] [stdout] 3 |     Error, HttpResponse,
[INFO] [stdout]   |     ^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web_httpauth::extractors::AuthenticationError`
[INFO] [stdout]  --> src/middlewares/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web_httpauth::extractors::AuthenticationError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Error`
[INFO] [stdout]  --> src/middlewares/auth.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use derive_more::{Display, Error};
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jsonwebtoken::errors::ErrorKind`
[INFO] [stdout]  --> src/middlewares/auth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use jsonwebtoken::errors::ErrorKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `error`
[INFO] [stdout]  --> src/routes/session.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web,http,error,Result, Responder,HttpRequest, HttpResponse};
[INFO] [stdout]   |                          ^^^^^ ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Error`
[INFO] [stdout]  --> src/routes/session.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use derive_more::{Display, Error};
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]  --> src/routes/session.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_session::{Session};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::debug`
[INFO] [stdout]  --> src/routes/session.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::debug;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_files as fs`
[INFO] [stdout]  --> src/routes/session.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use actix_files as fs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ContentDisposition` and `DispositionType`
[INFO] [stdout]   --> src/routes/session.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | use actix_web::http::header::{ContentDisposition, DispositionType};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/middlewares/auth.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let config = req
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/routes/session.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 |   let mut header = Header::new(Algorithm::HS512);
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `validation`
[INFO] [stdout]   --> src/routes/session.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |   let validation = Validation { sub: Some("b@b.com".to_string()), ..Validation::default() };
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/routes/session.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 |   let mut header = Header::new(Algorithm::HS512);
[INFO] [stdout]    |       ----^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `impl Future<Output = Result<ServiceRequest, MyError>>` to be a future that resolves to `Result<ServiceRequest, Error>`, but it resolves to `Result<ServiceRequest, MyError>`
[INFO] [stdout]    --> src/main.rs:40:27
[INFO] [stdout]     |
[INFO] [stdout] 40  |                     .wrap(HttpAuthentication::bearer(middlewares::auth::validator)),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<ServiceRequest, Error>`, found `Result<ServiceRequest, MyError>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<_, actix_web::Error>`
[INFO] [stdout]                found enum `Result<_, custom::MyError>`
[INFO] [stdout] note: required by a bound in `HttpAuthentication::<BearerAuth, F>::bearer`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-httpauth-0.5.0/src/middleware.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout] 92  |     O: Future<Output = Result<ServiceRequest, Error>>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `HttpAuthentication::<BearerAuth, F>::bearer`
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn bearer(process_fn: F) -> Self {
[INFO] [stdout]     |            ------ required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `impl Future<Output = Result<ServiceRequest, MyError>>` to be a future that resolves to `Result<ServiceRequest, Error>`, but it resolves to `Result<ServiceRequest, MyError>`
[INFO] [stdout]    --> src/main.rs:24:9
[INFO] [stdout]     |
[INFO] [stdout] 24  | /         App::new()
[INFO] [stdout] 25  | |             .wrap(middleware::Logger::default())
[INFO] [stdout] 26  | |             .wrap(middleware::Logger::new("%a %{User-Agent}i"))
[INFO] [stdout] 27  | |             .wrap_fn(|req, srv| {
[INFO] [stdout] ...   |
[INFO] [stdout] 40  | |                     .wrap(HttpAuthentication::bearer(middlewares::auth::validator)),
[INFO] [stdout] 41  | |             )
[INFO] [stdout]     | |_____________^ expected `Result<ServiceRequest, Error>`, found `Result<ServiceRequest, MyError>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<_, actix_web::Error>`
[INFO] [stdout]                found enum `Result<_, custom::MyError>`
[INFO] [stdout]     = note: required for `HttpAuthentication<BearerAuth, fn(..., ...) -> ... {validator}>` to implement `Transform<actix_web::scope::ScopeService>`
[INFO] [stdout] note: required by a bound in `actix_web::Scope::<T>::wrap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-3.3.2/src/scope.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 316 |       pub fn wrap<M>(
[INFO] [stdout]     |              ---- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 329 |           M: Transform<
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 330 | |             T::Service,
[INFO] [stdout] 331 | |             Request = ServiceRequest,
[INFO] [stdout] 332 | |             Response = ServiceResponse,
[INFO] [stdout] 333 | |             Error = Error,
[INFO] [stdout] 334 | |             InitError = (),
[INFO] [stdout] 335 | |         >,
[INFO] [stdout]     | |_________^ required by this bound in `Scope::<T>::wrap`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/actixtest-eca42543cb30d280.long-type-14728526923117097798.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actixtest` (bin "actixtest") due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3b305ef28ad8cead91a19332154bc08c9256b28d98914d989d385b8294f211be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b305ef28ad8cead91a19332154bc08c9256b28d98914d989d385b8294f211be", kill_on_drop: false }`
[INFO] [stdout] 3b305ef28ad8cead91a19332154bc08c9256b28d98914d989d385b8294f211be
