[INFO] updating cached repository https://github.com/dat2/tokio-hyper-playground [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] d1768ba5c442190ed68d179a1b50d2c63e790bca [INFO] testing dat2/tokio-hyper-playground against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdat2%2Ftokio-hyper-playground" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dat2/tokio-hyper-playground on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dat2/tokio-hyper-playground [INFO] finished tweaking git repo https://github.com/dat2/tokio-hyper-playground [INFO] tweaked toml for git repo https://github.com/dat2/tokio-hyper-playground written to work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/dat2/tokio-hyper-playground already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/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" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] d80a383cfcfaca34dc727448054a1c762751c71875a3cdf6d0834b88585328a4 [INFO] running `"docker" "start" "-a" "d80a383cfcfaca34dc727448054a1c762751c71875a3cdf6d0834b88585328a4"` [INFO] [stderr] Compiling serde v0.9.7 [INFO] [stderr] Compiling fallible-iterator v0.1.3 [INFO] [stderr] Compiling quote v0.3.13 [INFO] [stderr] Compiling unicode-normalization v0.1.4 [INFO] [stderr] Compiling bufstream v0.1.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling futures v0.1.10 [INFO] [stderr] Compiling net2 v0.2.26 [INFO] [stderr] Compiling synom v0.11.0 [INFO] [stderr] Compiling unicode-bidi v0.2.5 [INFO] [stderr] Compiling base64 v0.4.0 [INFO] [stderr] Compiling r2d2 v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.6.2 [INFO] [stderr] Compiling hyper v0.11.0-a.0 (https://github.com/hyperium/hyper#592c1e21) [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling mio v0.6.4 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling syn v0.11.6 [INFO] [stderr] Compiling postgres-protocol v0.2.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling idna v0.1.0 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-core v0.1.4 [INFO] [stderr] Compiling futures-cpupool v0.1.3 [INFO] [stderr] Compiling relay v0.1.0 [INFO] [stderr] Compiling url v1.4.0 [INFO] [stderr] Compiling env_logger v0.4.0 [INFO] [stderr] Compiling serde_codegen_internals v0.13.0 [INFO] [stderr] Compiling dotenv v0.8.0 [INFO] [stderr] Compiling tokio-proto v0.1.0 [INFO] [stderr] Compiling serde_derive v0.9.7 [INFO] [stderr] Compiling serde_json v0.9.7 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling postgres-shared v0.1.1 [INFO] [stderr] Compiling postgres v0.13.6 [INFO] [stderr] Compiling r2d2_postgres v0.11.1 [INFO] [stderr] Compiling tokio-hyper-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Map` [INFO] [stderr] --> src/main.rs:28:34 [INFO] [stderr] | [INFO] [stderr] 28 | use futures::{Future, BoxFuture, Map}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 62 | fn call(&self, request: Self::Request) -> Self::Future { [INFO] [stderr] | ------------ expected `::Future` because of return type [INFO] [stderr] ... [INFO] [stderr] 67 | / self.upstream.call(request) [INFO] [stderr] 68 | | .map(|response| { [INFO] [stderr] 69 | | let after = Local::now(); [INFO] [stderr] 70 | | info!("[{}] - {} {} {} μs", [INFO] [stderr] ... | [INFO] [stderr] 76 | | response [INFO] [stderr] 77 | | }) [INFO] [stderr] | |________^ expected associated type, found struct `futures::Map` [INFO] [stderr] | [INFO] [stderr] = note: expected type `::Future` [INFO] [stderr] found type `futures::Map<::Future, [closure@src/main.rs:68:12: 77:8 method:_, uri:_, before:_]>` [INFO] [stderr] = note: consider constraining the associated type `::Future` to `futures::Map<::Future, [closure@src/main.rs:68:12: 77:8 method:_, uri:_, before:_]>` or calling a method that returns `::Future` [INFO] [stderr] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `tokio-hyper-playground`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d80a383cfcfaca34dc727448054a1c762751c71875a3cdf6d0834b88585328a4"` [INFO] running `"docker" "rm" "-f" "d80a383cfcfaca34dc727448054a1c762751c71875a3cdf6d0834b88585328a4"` [INFO] [stdout] d80a383cfcfaca34dc727448054a1c762751c71875a3cdf6d0834b88585328a4