[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/beta-1.38-1/sources/1.37.0/gh/Zabalkanskiy/product_store_back_end"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Zabalkanskiy/product_store_back_end'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Zabalkanskiy/product_store_back_end" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Zabalkanskiy/product_store_back_end"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Zabalkanskiy/product_store_back_end on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "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 `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Zabalkanskiy/product_store_back_end against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 4ed1d46e3bfc63e067712945cf053de580c92a95ee69e03dcd380566d5d1516b [INFO] running `"docker" "start" "-a" "4ed1d46e3bfc63e067712945cf053de580c92a95ee69e03dcd380566d5d1516b"` [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling hyper v0.12.28 [INFO] [stderr] Compiling 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] 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: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" "4ed1d46e3bfc63e067712945cf053de580c92a95ee69e03dcd380566d5d1516b"` [INFO] running `"docker" "rm" "-f" "4ed1d46e3bfc63e067712945cf053de580c92a95ee69e03dcd380566d5d1516b"` [INFO] [stdout] 4ed1d46e3bfc63e067712945cf053de580c92a95ee69e03dcd380566d5d1516b