[INFO] cloning repository https://github.com/warriorsfly/authorization-microservice [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/warriorsfly/authorization-microservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarriorsfly%2Fauthorization-microservice"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarriorsfly%2Fauthorization-microservice'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7e0d5cc0539008cecab0806f3b1ce13f81805204 [INFO] checking warriorsfly/authorization-microservice against master#4007d4ef26eab44bdabc2b7574d032152264d3ad for pr-66919 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwarriorsfly%2Fauthorization-microservice" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/warriorsfly/authorization-microservice on toolchain 4007d4ef26eab44bdabc2b7574d032152264d3ad [INFO] running `"/workspace/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/warriorsfly/authorization-microservice [INFO] finished tweaking git repo https://github.com/warriorsfly/authorization-microservice [INFO] tweaked toml for git repo https://github.com/warriorsfly/authorization-microservice written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/warriorsfly/authorization-microservice already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4eefb9296e5b4a519f097382b29c404ef96ace84a759d9480bd68de6c86fb222 [INFO] running `"docker" "start" "-a" "4eefb9296e5b4a519f097382b29c404ef96ace84a759d9480bd68de6c86fb222"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Checking signal-hook-registry v1.1.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling async-trait v0.1.18 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking tracing v0.1.10 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking blowfish v0.4.0 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.6 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking bcrypt v0.6.1 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Checking actix-threadpool v0.2.0 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking scheduled-thread-pool v0.2.2 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Checking actix-codec v0.2.0-alpha.1 [INFO] [stderr] Checking h2 v0.2.0-alpha.3 [INFO] [stderr] Checking r2d2 v0.8.6 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling curl-sys v0.4.24 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking tokio-net v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking const-random v0.1.6 [INFO] [stderr] Checking actix-utils v0.5.0-alpha1 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking hashbrown v0.6.3 [INFO] [stderr] Checking tokio v0.2.0-alpha.6 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.1 [INFO] [stderr] Checking actix-server-config v0.3.0-alpha.1 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Checking actix-rt v1.0.0-alpha.1 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking oauth2 v2.0.0 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking actix-server v0.8.0-alpha.1 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.1 [INFO] [stderr] Checking actix-testing v0.3.0-alpha.1 [INFO] [stderr] Checking sparkpost v0.5.3 [INFO] [stderr] Checking actix-connect v1.0.0-alpha.1 [INFO] [stderr] Checking actix-http v0.3.0-alpha.1 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking awc v0.3.0-alpha.1 [INFO] [stderr] Checking actix-web v2.0.0-alpha.1 (https://github.com/actix/actix-web#525c22de) [INFO] [stderr] Checking authorization-microservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `App`, `HttpServer`, `middleware`, `web` [INFO] [stderr] --> src/main.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::{middleware, web, App, HttpServer}; [INFO] [stderr] | ^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `Error`, `HttpResponse`, `HttpServer`, `get`, `middleware` [INFO] [stderr] --> src/register_handler.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, middleware, post, web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `HttpServer`, `middleware`, `web` [INFO] [stderr] --> src/main.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::{middleware, web, App, HttpServer}; [INFO] [stderr] | ^^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `Error`, `HttpResponse`, `HttpServer`, `get`, `middleware` [INFO] [stderr] --> src/register_handler.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, middleware, post, web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `fn(actix_web::request::HttpRequest, actix_web::data::Data>>) -> impl std::future::Future {::register::register_user}: actix_web::handler::Factory<_, _, _>` is not satisfied [INFO] [stderr] --> src/register_handler.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | pub async fn register_user( [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `actix_web::handler::Factory<_, _, _>` is not implemented for `fn(actix_web::request::HttpRequest, actix_web::data::Data>>) -> impl std::future::Future {::register::register_user}` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `fn(actix_web::request::HttpRequest, actix_web::data::Data>>) -> impl std::future::Future {::register::register_user}: actix_web::handler::Factory<_, _, _>` is not satisfied [INFO] [stderr] --> src/register_handler.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | pub async fn register_user( [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `actix_web::handler::Factory<_, _, _>` is not implemented for `fn(actix_web::request::HttpRequest, actix_web::data::Data>>) -> impl std::future::Future {::register::register_user}` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `authorization-microservice`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `authorization-microservice`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4eefb9296e5b4a519f097382b29c404ef96ace84a759d9480bd68de6c86fb222"` [INFO] running `"docker" "rm" "-f" "4eefb9296e5b4a519f097382b29c404ef96ace84a759d9480bd68de6c86fb222"` [INFO] [stdout] 4eefb9296e5b4a519f097382b29c404ef96ace84a759d9480bd68de6c86fb222