[INFO] cloning repository https://github.com/Zabalkanskiy/product_store_back_end [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zabalkanskiy/product_store_back_end" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZabalkanskiy%2Fproduct_store_back_end"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZabalkanskiy%2Fproduct_store_back_end'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1574d679e90a06a5f16667d540b7675d6d3cb6f0 [INFO] checking Zabalkanskiy/product_store_back_end against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZabalkanskiy%2Fproduct_store_back_end" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zabalkanskiy/product_store_back_end on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Zabalkanskiy/product_store_back_end [INFO] finished tweaking git repo https://github.com/Zabalkanskiy/product_store_back_end [INFO] tweaked toml for git repo https://github.com/Zabalkanskiy/product_store_back_end written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Zabalkanskiy/product_store_back_end already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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] b873aafae1e4340af46b5cff410d520b193f45e0acb16ad70a18f3c1e61ee77e [INFO] running `"docker" "start" "-a" "b873aafae1e4340af46b5cff410d520b193f45e0acb16ad70a18f3c1e61ee77e"` [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking h2 v0.1.18 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking hyper v0.12.28 [INFO] [stderr] Checking product_store_back v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `future` [INFO] [stderr] --> src/main.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{future, Future}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0616]: field `body` of struct `http::request::Request` is private [INFO] [stderr] --> src/main.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^---- [INFO] [stderr] | | [INFO] [stderr] | help: a method `body` also exists, call it with parentheses: `body()` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `name` on type `hyper::body::body::Body` [INFO] [stderr] --> src/main.rs:32:28 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0616]: field `body` of struct `http::request::Request` is private [INFO] [stderr] --> src/main.rs:32:48 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^---- [INFO] [stderr] | | [INFO] [stderr] | help: a method `body` also exists, call it with parentheses: `body()` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `password` on type `hyper::body::body::Body` [INFO] [stderr] --> src/main.rs:32:57 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnMut<(http::request::Request<_>,)>` closure, found `impl futures::future::Future` [INFO] [stderr] --> src/main.rs:63:59 [INFO] [stderr] | [INFO] [stderr] 63 | let server = builder.serve(move | req| service_fn_ok( microservice_handler(req))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnMut<(http::request::Request<_>,)>` closure, found `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.28/src/service/service.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | F: FnMut(Request) -> Response, [INFO] [stderr] | -------------------------------- required by this bound in `hyper::service::service::service_fn_ok` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnMut<(http::request::Request<_>,)>` is not implemented for `impl futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0593]: closure is expected to take 0 arguments, but it takes 1 argument [INFO] [stderr] --> src/main.rs:63:26 [INFO] [stderr] | [INFO] [stderr] 63 | let server = builder.serve(move | req| service_fn_ok( microservice_handler(req))); [INFO] [stderr] | ^^^^^ ----------- takes 1 argument [INFO] [stderr] | | [INFO] [stderr] | expected closure that takes 0 arguments [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::service::new_service::NewService` for `[closure@src/main.rs:63:32: 63:85]` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::service::make_service::MakeServiceRef` for `[closure@src/main.rs:63:32: 63:85]` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for type `hyper::server::Server` in the current scope [INFO] [stderr] --> src/main.rs:64:25 [INFO] [stderr] | [INFO] [stderr] 64 | let server = server.map_err(drop); [INFO] [stderr] | ^^^^^^^ method not found in `hyper::server::Server` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut hyper::server::Server : futures::future::Future` [INFO] [stderr] `hyper::server::Server : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0593, E0599, E0609, E0616. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `product_store_back`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `future` [INFO] [stderr] --> src/main.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::{future, Future}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0616]: field `body` of struct `http::request::Request` is private [INFO] [stderr] --> src/main.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^---- [INFO] [stderr] | | [INFO] [stderr] | help: a method `body` also exists, call it with parentheses: `body()` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `name` on type `hyper::body::body::Body` [INFO] [stderr] --> src/main.rs:32:28 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0616]: field `body` of struct `http::request::Request` is private [INFO] [stderr] --> src/main.rs:32:48 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^---- [INFO] [stderr] | | [INFO] [stderr] | help: a method `body` also exists, call it with parentheses: `body()` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `password` on type `hyper::body::body::Body` [INFO] [stderr] --> src/main.rs:32:57 [INFO] [stderr] | [INFO] [stderr] 32 | if req.body.name == USERNAME && req.body.password == PASSWORD { [INFO] [stderr] | ^^^^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnMut<(http::request::Request<_>,)>` closure, found `impl futures::future::Future` [INFO] [stderr] --> src/main.rs:63:59 [INFO] [stderr] | [INFO] [stderr] 63 | let server = builder.serve(move | req| service_fn_ok( microservice_handler(req))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnMut<(http::request::Request<_>,)>` closure, found `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.28/src/service/service.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | F: FnMut(Request) -> Response, [INFO] [stderr] | -------------------------------- required by this bound in `hyper::service::service::service_fn_ok` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnMut<(http::request::Request<_>,)>` is not implemented for `impl futures::future::Future` [INFO] [stderr] [INFO] [stderr] error[E0593]: closure is expected to take 0 arguments, but it takes 1 argument [INFO] [stderr] --> src/main.rs:63:26 [INFO] [stderr] | [INFO] [stderr] 63 | let server = builder.serve(move | req| service_fn_ok( microservice_handler(req))); [INFO] [stderr] | ^^^^^ ----------- takes 1 argument [INFO] [stderr] | | [INFO] [stderr] | expected closure that takes 0 arguments [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::service::new_service::NewService` for `[closure@src/main.rs:63:32: 63:85]` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::service::make_service::MakeServiceRef` for `[closure@src/main.rs:63:32: 63:85]` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for type `hyper::server::Server` in the current scope [INFO] [stderr] --> src/main.rs:64:25 [INFO] [stderr] | [INFO] [stderr] 64 | let server = server.map_err(drop); [INFO] [stderr] | ^^^^^^^ method not found in `hyper::server::Server` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut hyper::server::Server : futures::future::Future` [INFO] [stderr] `hyper::server::Server : futures::future::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0593, E0599, E0609, E0616. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `product_store_back`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b873aafae1e4340af46b5cff410d520b193f45e0acb16ad70a18f3c1e61ee77e"` [INFO] running `"docker" "rm" "-f" "b873aafae1e4340af46b5cff410d520b193f45e0acb16ad70a18f3c1e61ee77e"` [INFO] [stdout] b873aafae1e4340af46b5cff410d520b193f45e0acb16ad70a18f3c1e61ee77e