[INFO] updating cached repository Zabalkanskiy/product_store_back_end [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Zabalkanskiy/product_store_back_end [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Zabalkanskiy/product_store_back_end" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Zabalkanskiy/product_store_back_end"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Zabalkanskiy/product_store_back_end'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Zabalkanskiy/product_store_back_end" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Zabalkanskiy/product_store_back_end"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Zabalkanskiy/product_store_back_end'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1574d679e90a06a5f16667d540b7675d6d3cb6f0 [INFO] sha for GitHub repo Zabalkanskiy/product_store_back_end: 1574d679e90a06a5f16667d540b7675d6d3cb6f0 [INFO] validating manifest of Zabalkanskiy/product_store_back_end on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Zabalkanskiy/product_store_back_end on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Zabalkanskiy/product_store_back_end [INFO] finished frobbing Zabalkanskiy/product_store_back_end [INFO] frobbed toml for Zabalkanskiy/product_store_back_end written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Zabalkanskiy/product_store_back_end/Cargo.toml [INFO] started frobbing Zabalkanskiy/product_store_back_end [INFO] finished frobbing Zabalkanskiy/product_store_back_end [INFO] frobbed toml for Zabalkanskiy/product_store_back_end written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Zabalkanskiy/product_store_back_end/Cargo.toml [INFO] crate Zabalkanskiy/product_store_back_end already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Zabalkanskiy/product_store_back_end against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-4/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Zabalkanskiy/product_store_back_end:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6732bfd5eb50bc488d57ebd4fdb331c8b4b2a8368b8ec1047141a8c7701322ca [INFO] running `"docker" "start" "-a" "6732bfd5eb50bc488d57ebd4fdb331c8b4b2a8368b8ec1047141a8c7701322ca"` [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking futures-cpupool v0.1.8 [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 tokio-reactor v0.1.9 [INFO] [stderr] Checking h2 v0.1.18 [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/crater/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] 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[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[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:44 [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] = help: the trait `std::ops::FnMut<(http::request::Request<_>,)>` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `hyper::service::service::service_fn_ok` [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] | ^^^^^^^ [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] error[E0277]: expected a `std::ops::FnMut<(http::request::Request<_>,)>` closure, found `impl futures::future::Future` [INFO] [stderr] --> src/main.rs:63:44 [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] = help: the trait `std::ops::FnMut<(http::request::Request<_>,)>` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `hyper::service::service::service_fn_ok` [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] | ^^^^^^^ [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" "6732bfd5eb50bc488d57ebd4fdb331c8b4b2a8368b8ec1047141a8c7701322ca"` [INFO] running `"docker" "rm" "-f" "6732bfd5eb50bc488d57ebd4fdb331c8b4b2a8368b8ec1047141a8c7701322ca"` [INFO] [stdout] 6732bfd5eb50bc488d57ebd4fdb331c8b4b2a8368b8ec1047141a8c7701322ca