[INFO] fetching crate es-public-proxy 0.2.6... [INFO] checking es-public-proxy-0.2.6 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate es-public-proxy 0.2.6 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate es-public-proxy 0.2.6 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate es-public-proxy 0.2.6 [INFO] finished tweaking crates.io crate es-public-proxy 0.2.6 [INFO] tweaked toml for crates.io crate es-public-proxy 0.2.6 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate es-public-proxy 0.2.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f5590852c2b9f29ba01eeb24dc0dd1404a3a440384e86a22122f3a2c1f73e81 [INFO] running `Command { std: "docker" "start" "-a" "8f5590852c2b9f29ba01eeb24dc0dd1404a3a440384e86a22122f3a2c1f73e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f5590852c2b9f29ba01eeb24dc0dd1404a3a440384e86a22122f3a2c1f73e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5590852c2b9f29ba01eeb24dc0dd1404a3a440384e86a22122f3a2c1f73e81", kill_on_drop: false }` [INFO] [stdout] 8f5590852c2b9f29ba01eeb24dc0dd1404a3a440384e86a22122f3a2c1f73e81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed6ab0dcd4c082928868f3c893e1d4b644b2db6bac5615c5c9f34a84bc5ad4f [INFO] running `Command { std: "docker" "start" "-a" "bed6ab0dcd4c082928868f3c893e1d4b644b2db6bac5615c5c9f34a84bc5ad4f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking es-public-proxy v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `run_server` [INFO] [stdout] --> src/main.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | let serve_future = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:81:20: 81:102]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `run_server`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `run_server` [INFO] [stdout] --> src/main.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | async fn run_server(config: ProxyConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `es-public-proxy` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `run_server` [INFO] [stdout] --> src/main.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | let serve_future = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:81:20: 81:102]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `run_server::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, hyper::Error>(service_fn(move |req| upstream_req(req, inner.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `run_server`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `run_server` [INFO] [stdout] --> src/main.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | async fn run_server(config: ProxyConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `es-public-proxy` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bed6ab0dcd4c082928868f3c893e1d4b644b2db6bac5615c5c9f34a84bc5ad4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed6ab0dcd4c082928868f3c893e1d4b644b2db6bac5615c5c9f34a84bc5ad4f", kill_on_drop: false }` [INFO] [stdout] bed6ab0dcd4c082928868f3c893e1d4b644b2db6bac5615c5c9f34a84bc5ad4f