[INFO] cloning repository https://github.com/17ms/http-filehost-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/17ms/http-filehost-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F17ms%2Fhttp-filehost-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F17ms%2Fhttp-filehost-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bd68735b086d59c6a07a221d5084e5ff4e015ce [INFO] checking 17ms/http-filehost-demo against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F17ms%2Fhttp-filehost-demo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/17ms/http-filehost-demo on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/17ms/http-filehost-demo [INFO] finished tweaking git repo https://github.com/17ms/http-filehost-demo [INFO] tweaked toml for git repo https://github.com/17ms/http-filehost-demo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/17ms/http-filehost-demo 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" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.142 [INFO] [stderr] Downloaded clap v3.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f47f418a99a2ec64c5b98e4b34d5f859e4748773b129590cbc32e673729cbcff [INFO] running `Command { std: "docker" "start" "-a" "f47f418a99a2ec64c5b98e4b34d5f859e4748773b129590cbc32e673729cbcff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f47f418a99a2ec64c5b98e4b34d5f859e4748773b129590cbc32e673729cbcff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f47f418a99a2ec64c5b98e4b34d5f859e4748773b129590cbc32e673729cbcff", kill_on_drop: false }` [INFO] [stdout] f47f418a99a2ec64c5b98e4b34d5f859e4748773b129590cbc32e673729cbcff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d30c096004e0766f47c168e126204e7d7018ead6976b714ef77b608fcd3518f [INFO] running `Command { std: "docker" "start" "-a" "8d30c096004e0766f47c168e126204e7d7018ead6976b714ef77b608fcd3518f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking clap v3.2.7 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking http-filehost-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.00s [INFO] running `Command { std: "docker" "inspect" "8d30c096004e0766f47c168e126204e7d7018ead6976b714ef77b608fcd3518f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d30c096004e0766f47c168e126204e7d7018ead6976b714ef77b608fcd3518f", kill_on_drop: false }` [INFO] [stdout] 8d30c096004e0766f47c168e126204e7d7018ead6976b714ef77b608fcd3518f [INFO] checking 17ms/http-filehost-demo against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F17ms%2Fhttp-filehost-demo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/17ms/http-filehost-demo on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/17ms/http-filehost-demo [INFO] finished tweaking git repo https://github.com/17ms/http-filehost-demo [INFO] tweaked toml for git repo https://github.com/17ms/http-filehost-demo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/17ms/http-filehost-demo 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" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0829d36d42f4d14f94fa67e25217b0b393ffddb5ea6120cbc282a6583db7d8e [INFO] running `Command { std: "docker" "start" "-a" "d0829d36d42f4d14f94fa67e25217b0b393ffddb5ea6120cbc282a6583db7d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0829d36d42f4d14f94fa67e25217b0b393ffddb5ea6120cbc282a6583db7d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0829d36d42f4d14f94fa67e25217b0b393ffddb5ea6120cbc282a6583db7d8e", kill_on_drop: false }` [INFO] [stdout] d0829d36d42f4d14f94fa67e25217b0b393ffddb5ea6120cbc282a6583db7d8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16fc80f043b87c04fcb014503e430abb05a3e94200d67270549d4e5ddbdeb164 [INFO] running `Command { std: "docker" "start" "-a" "16fc80f043b87c04fcb014503e430abb05a3e94200d67270549d4e5ddbdeb164", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking clap v3.2.7 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking http-filehost-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: async closure does not implement `FnMut` because it captures state from its environment [INFO] [stdout] --> src/server.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let make_svc = make_service_fn(|_conn| async move { Ok::<_, Infallible>(service) }); [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `make_service_fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.19/src/service/make.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn make_service_fn(f: F) -> MakeServiceFn [INFO] [stdout] | --------------- required by a bound in this function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `make_service_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: async closure does not implement `FnMut` because it captures state from its environment [INFO] [stdout] --> src/server.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let make_svc = make_service_fn(|_conn| async move { Ok::<_, Infallible>(service) }); [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `make_service_fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.19/src/service/make.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn make_service_fn(f: F) -> MakeServiceFn [INFO] [stdout] | --------------- required by a bound in this function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `make_service_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: async closure does not implement `FnMut` because it captures state from its environment [INFO] [stdout] --> src/server.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let make_svc = make_service_fn(|_conn| async move { Ok::<_, Infallible>(service) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `for<'a> Service<&'a AddrStream>` [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `hyper::service::make::MakeServiceRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: async closure does not implement `FnMut` because it captures state from its environment [INFO] [stdout] --> src/server.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let make_svc = make_service_fn(|_conn| async move { Ok::<_, Infallible>(service) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `for<'a> Service<&'a AddrStream>` [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `hyper::service::make::MakeServiceRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: async closure does not implement `FnMut` because it captures state from its environment [INFO] [stdout] --> src/server.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let make_svc = make_service_fn(|_conn| async move { Ok::<_, Infallible>(service) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `for<'a> Service<&'a AddrStream>` [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `hyper::service::make::MakeServiceRef` [INFO] [stdout] = note: required for `Server>` to implement `Future` [INFO] [stdout] = note: required for `Server>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: async closure does not implement `FnMut` because it captures state from its environment [INFO] [stdout] --> src/server.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let make_svc = make_service_fn(|_conn| async move { Ok::<_, Infallible>(service) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `for<'a> Service<&'a AddrStream>` [INFO] [stdout] = note: required for `hyper::service::make::MakeServiceFn<{async closure@src/server.rs:31:36: 31:43}>` to implement `hyper::service::make::MakeServiceRef` [INFO] [stdout] = note: required for `Server>` to implement `Future` [INFO] [stdout] = note: required for `Server>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-filehost-demo` (bin "http-filehost-demo") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `http-filehost-demo` (bin "http-filehost-demo" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "16fc80f043b87c04fcb014503e430abb05a3e94200d67270549d4e5ddbdeb164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16fc80f043b87c04fcb014503e430abb05a3e94200d67270549d4e5ddbdeb164", kill_on_drop: false }` [INFO] [stdout] 16fc80f043b87c04fcb014503e430abb05a3e94200d67270549d4e5ddbdeb164