[INFO] cloning repository https://github.com/xD8A/mirror-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xD8A/mirror-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxD8A%2Fmirror-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxD8A%2Fmirror-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 151c3ac811f3b9163f83f6e169a8ffa98a87a905 [INFO] checking xD8A/mirror-proxy against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxD8A%2Fmirror-proxy" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xD8A/mirror-proxy 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 git repo https://github.com/xD8A/mirror-proxy [INFO] finished tweaking git repo https://github.com/xD8A/mirror-proxy [INFO] tweaked toml for git repo https://github.com/xD8A/mirror-proxy written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/xD8A/mirror-proxy 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 8da6296e2296b5a16a71b9f9b632c20428ecf1e6455883596c8b1620448c2baf [INFO] running `Command { std: "docker" "start" "-a" "8da6296e2296b5a16a71b9f9b632c20428ecf1e6455883596c8b1620448c2baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8da6296e2296b5a16a71b9f9b632c20428ecf1e6455883596c8b1620448c2baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8da6296e2296b5a16a71b9f9b632c20428ecf1e6455883596c8b1620448c2baf", kill_on_drop: false }` [INFO] [stdout] 8da6296e2296b5a16a71b9f9b632c20428ecf1e6455883596c8b1620448c2baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 5c5228e10c77319649ae8d18e5387267eed029a9e1d7b229d425dbf8b06ca9fe [INFO] running `Command { std: "docker" "start" "-a" "5c5228e10c77319649ae8d18e5387267eed029a9e1d7b229d425dbf8b06ca9fe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking mirror-proxy v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:145:38 [INFO] [stdout] | [INFO] [stdout] 145 | let server = Server::bind(&addr).serve(make_service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:142:20: 142:100]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [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 `mirror-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 `main` [INFO] [stdout] --> src/main.rs:145:38 [INFO] [stdout] | [INFO] [stdout] 145 | let server = Server::bind(&addr).serve(make_service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:142:20: 142:100]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#1}::{closure#0}`... [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | async move { Ok::<_, Infallible>(service_fn(move |req| proxy(client.clone(), req, peer))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [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 `mirror-proxy` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5c5228e10c77319649ae8d18e5387267eed029a9e1d7b229d425dbf8b06ca9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c5228e10c77319649ae8d18e5387267eed029a9e1d7b229d425dbf8b06ca9fe", kill_on_drop: false }` [INFO] [stdout] 5c5228e10c77319649ae8d18e5387267eed029a9e1d7b229d425dbf8b06ca9fe