[INFO] updating cached repository https://github.com/Zabalkanskiy/product_store_back_end [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1574d679e90a06a5f16667d540b7675d6d3cb6f0 [INFO] testing Zabalkanskiy/product_store_back_end against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FZabalkanskiy%2Fproduct_store_back_end" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zabalkanskiy/product_store_back_end on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-7/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] b0c1ccc909a9ce01d1a3721717f88bb5dde5e335af41f7f8354bdca7e1eb859f [INFO] running `"docker" "start" "-a" "b0c1ccc909a9ce01d1a3721717f88bb5dde5e335af41f7f8354bdca7e1eb859f"` [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling hyper v0.12.28 [INFO] [stderr] Compiling 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: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" "b0c1ccc909a9ce01d1a3721717f88bb5dde5e335af41f7f8354bdca7e1eb859f"` [INFO] running `"docker" "rm" "-f" "b0c1ccc909a9ce01d1a3721717f88bb5dde5e335af41f7f8354bdca7e1eb859f"` [INFO] [stdout] b0c1ccc909a9ce01d1a3721717f88bb5dde5e335af41f7f8354bdca7e1eb859f