[INFO] cloning repository https://github.com/justisGipson/rust_microservices [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justisGipson/rust_microservices" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjustisGipson%2Frust_microservices", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjustisGipson%2Frust_microservices'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92b3e21ed967bbfe5cb231e83a41024f101c0c1f [INFO] checking justisGipson/rust_microservices against try#c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjustisGipson%2Frust_microservices" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/justisGipson/rust_microservices [INFO] finished tweaking git repo https://github.com/justisGipson/rust_microservices [INFO] tweaked toml for git repo https://github.com/justisGipson/rust_microservices written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/justisGipson/rust_microservices on toolchain c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/justisGipson/rust_microservices already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea74adda2833a92c309df52742722f4b2fdc8f439c0e495b96f1aa078c50f131 [INFO] running `Command { std: "docker" "start" "-a" "ea74adda2833a92c309df52742722f4b2fdc8f439c0e495b96f1aa078c50f131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea74adda2833a92c309df52742722f4b2fdc8f439c0e495b96f1aa078c50f131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea74adda2833a92c309df52742722f4b2fdc8f439c0e495b96f1aa078c50f131", kill_on_drop: false }` [INFO] [stdout] ea74adda2833a92c309df52742722f4b2fdc8f439c0e495b96f1aa078c50f131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3d2af070aaeaf26644b71688e9cd17934f9cc1b5b1867a2649f98af7e1d5bd7 [INFO] running `Command { std: "docker" "start" "-a" "f3d2af070aaeaf26644b71688e9cd17934f9cc1b5b1867a2649f98af7e1d5bd7", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rust_microservices v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::Server` [INFO] [stdout] --> src/main.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::{Body, Error, Method, Request, Response, Server, StatusCode}; [INFO] [stdout] | ^^^^^^ no `Server` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.12/src/lib.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 112 | #![all(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] ... [INFO] [stdout] 117 | pub use crate::server::Server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rt` in `hyper` [INFO] [stdout] --> src/main.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | hyper::rt::run(server); [INFO] [stdout] | ^^ could not find `rt` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.12/src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(any(feature = "http1", feature = "http2",))] [INFO] [stdout] | --------------------------------------- the item is gated here [INFO] [stdout] 90 | pub mod rt; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl futures::Future, Error = hyper::Error>` is not a future [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | service_fn(move |req| user_handler(req, &user_db)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl futures::Future, Error = hyper::Error>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `impl futures::Future, Error = hyper::Error>` [INFO] [stdout] note: required by a bound in `service_fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.12/src/service/util.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn service_fn(f: F) -> ServiceFn [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 30 | S: Future, [INFO] [stdout] | ^^^^^^ required by this bound in `service_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::Server` [INFO] [stdout] --> src/main.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::{Body, Error, Method, Request, Response, Server, StatusCode}; [INFO] [stdout] | ^^^^^^ no `Server` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.12/src/lib.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 112 | #![all(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] ... [INFO] [stdout] 117 | pub use crate::server::Server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_microservices` (bin "rust_microservices" test) due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `rt` in `hyper` [INFO] [stdout] --> src/main.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | hyper::rt::run(server); [INFO] [stdout] | ^^ could not find `rt` in `hyper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.12/src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(any(feature = "http1", feature = "http2",))] [INFO] [stdout] | --------------------------------------- the item is gated here [INFO] [stdout] 90 | pub mod rt; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `impl futures::Future, Error = hyper::Error>` is not a future [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | service_fn(move |req| user_handler(req, &user_db)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl futures::Future, Error = hyper::Error>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `impl futures::Future, Error = hyper::Error>` [INFO] [stdout] note: required by a bound in `service_fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.12/src/service/util.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn service_fn(f: F) -> ServiceFn [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 30 | S: Future, [INFO] [stdout] | ^^^^^^ required by this bound in `service_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_microservices` (bin "rust_microservices") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f3d2af070aaeaf26644b71688e9cd17934f9cc1b5b1867a2649f98af7e1d5bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3d2af070aaeaf26644b71688e9cd17934f9cc1b5b1867a2649f98af7e1d5bd7", kill_on_drop: false }` [INFO] [stdout] f3d2af070aaeaf26644b71688e9cd17934f9cc1b5b1867a2649f98af7e1d5bd7