[INFO] fetching crate safehouse 0.1.0... [INFO] checking safehouse-0.1.0 against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] extracting crate safehouse 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate safehouse 0.1.0 on toolchain 899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate safehouse 0.1.0 [INFO] finished tweaking crates.io crate safehouse 0.1.0 [INFO] tweaked toml for crates.io crate safehouse 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate safehouse 0.1.0 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" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.5 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded want v0.3.0 [INFO] [stderr] Downloaded try-lock v0.2.2 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded futures-sink v0.3.4 [INFO] [stderr] Downloaded slab v0.4.2 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded pin-project-lite v0.1.4 [INFO] [stderr] Downloaded futures-task v0.3.4 [INFO] [stderr] Downloaded futures-core v0.3.4 [INFO] [stderr] Downloaded pin-project-internal v0.4.8 [INFO] [stderr] Downloaded pin-project v0.4.8 [INFO] [stderr] Downloaded futures-channel v0.3.4 [INFO] [stderr] Downloaded bytes v0.5.4 [INFO] [stderr] Downloaded indexmap v1.3.2 [INFO] [stderr] Downloaded tokio-util v0.2.0 [INFO] [stderr] Downloaded http v0.2.0 [INFO] [stderr] Downloaded futures-util v0.3.4 [INFO] [stderr] Downloaded h2 v0.2.2 [INFO] [stderr] Downloaded hyper v0.13.4 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded mio v0.6.21 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded tokio v0.2.13 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded iovec v0.1.4 [INFO] [stderr] Downloaded net2 v0.2.33 [INFO] [stderr] Downloaded proc-macro2 v1.0.9 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded httparse v1.3.4 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded http-body v0.3.1 [INFO] [stderr] Downloaded tower-service v0.3.0 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b259aaa7f0396f1a3292d625199bf2b8b4c93eef7d72e6880d964f623f1f3e2 [INFO] running `Command { std: "docker" "start" "-a" "0b259aaa7f0396f1a3292d625199bf2b8b4c93eef7d72e6880d964f623f1f3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b259aaa7f0396f1a3292d625199bf2b8b4c93eef7d72e6880d964f623f1f3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b259aaa7f0396f1a3292d625199bf2b8b4c93eef7d72e6880d964f623f1f3e2", kill_on_drop: false }` [INFO] [stdout] 0b259aaa7f0396f1a3292d625199bf2b8b4c93eef7d72e6880d964f623f1f3e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a3e9c4e42e1452222632442bd9dd5a4feaa8e58aebfc190402400edd175667e [INFO] running `Command { std: "docker" "start" "-a" "2a3e9c4e42e1452222632442bd9dd5a4feaa8e58aebfc190402400edd175667e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking safehouse v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.19s [INFO] running `Command { std: "docker" "inspect" "2a3e9c4e42e1452222632442bd9dd5a4feaa8e58aebfc190402400edd175667e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3e9c4e42e1452222632442bd9dd5a4feaa8e58aebfc190402400edd175667e", kill_on_drop: false }` [INFO] [stdout] 2a3e9c4e42e1452222632442bd9dd5a4feaa8e58aebfc190402400edd175667e [INFO] checking safehouse-0.1.0 against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] extracting crate safehouse 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate safehouse 0.1.0 on toolchain 71e0d7ccb3d54cfc766c826c50c8d523223fcc5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate safehouse 0.1.0 [INFO] finished tweaking crates.io crate safehouse 0.1.0 [INFO] tweaked toml for crates.io crate safehouse 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate safehouse 0.1.0 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" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc0c9a3f2c24719a684c7ee32a7d8eedb19901d7b5b4f9b9e7df36c2301bf1fa [INFO] running `Command { std: "docker" "start" "-a" "dc0c9a3f2c24719a684c7ee32a7d8eedb19901d7b5b4f9b9e7df36c2301bf1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc0c9a3f2c24719a684c7ee32a7d8eedb19901d7b5b4f9b9e7df36c2301bf1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0c9a3f2c24719a684c7ee32a7d8eedb19901d7b5b4f9b9e7df36c2301bf1fa", kill_on_drop: false }` [INFO] [stdout] dc0c9a3f2c24719a684c7ee32a7d8eedb19901d7b5b4f9b9e7df36c2301bf1fa [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab727615474ff25e020d70d8abd2e05e5fd5ca3f37a4c2eca1d2cedc2b289415 [INFO] running `Command { std: "docker" "start" "-a" "ab727615474ff25e020d70d8abd2e05e5fd5ca3f37a4c2eca1d2cedc2b289415", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking safehouse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:431:42 [INFO] [stdout] | [INFO] [stdout] 431 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 432 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:14:58: 14:61}` must implement `FnOnce<(&AddrStream,)>` [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'0 AddrStream,)>`, for some specific lifetime `'0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:435:12 [INFO] [stdout] | [INFO] [stdout] 435 | E: H2Exec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/service/make.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 20 | Ok(server.await?) [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safehouse` (bin "safehouse") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:431:42 [INFO] [stdout] | [INFO] [stdout] 431 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 432 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:14:58: 14:61}` must implement `FnOnce<(&AddrStream,)>` [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'0 AddrStream,)>`, for some specific lifetime `'0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/server/mod.rs:435:12 [INFO] [stdout] | [INFO] [stdout] 435 | E: H2Exec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 15 | | Ok::<_, hyper::Error>(service_fn(index)) [INFO] [stdout] 16 | | })); [INFO] [stdout] | |____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.13.4/src/service/make.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 14 | let server = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 20 | Ok(server.await?) [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:14:62: 14:67}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safehouse` (bin "safehouse" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "ab727615474ff25e020d70d8abd2e05e5fd5ca3f37a4c2eca1d2cedc2b289415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab727615474ff25e020d70d8abd2e05e5fd5ca3f37a4c2eca1d2cedc2b289415", kill_on_drop: false }` [INFO] [stdout] ab727615474ff25e020d70d8abd2e05e5fd5ca3f37a4c2eca1d2cedc2b289415