[INFO] cloning repository https://github.com/walfie/rust-musl-docker-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/walfie/rust-musl-docker-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalfie%2Frust-musl-docker-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalfie%2Frust-musl-docker-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6f52aa1d6b45fd67eb3bc9e6b4f479dc268954c [INFO] checking walfie/rust-musl-docker-example against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwalfie%2Frust-musl-docker-example" "/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/walfie/rust-musl-docker-example 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/walfie/rust-musl-docker-example [INFO] finished tweaking git repo https://github.com/walfie/rust-musl-docker-example [INFO] tweaked toml for git repo https://github.com/walfie/rust-musl-docker-example written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/walfie/rust-musl-docker-example 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] [stderr] Blocking waiting for file lock on package cache [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] 049cd79b411984bcb16a3f5974d6bb923b275fa5b1ba11cd02aa5d9311e893f0 [INFO] running `Command { std: "docker" "start" "-a" "049cd79b411984bcb16a3f5974d6bb923b275fa5b1ba11cd02aa5d9311e893f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "049cd79b411984bcb16a3f5974d6bb923b275fa5b1ba11cd02aa5d9311e893f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049cd79b411984bcb16a3f5974d6bb923b275fa5b1ba11cd02aa5d9311e893f0", kill_on_drop: false }` [INFO] [stdout] 049cd79b411984bcb16a3f5974d6bb923b275fa5b1ba11cd02aa5d9311e893f0 [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] cab019c959214e1b57aa5b65fe0eb48e2a7e3f2a9e561cac75645a1e7a8e1c4c [INFO] running `Command { std: "docker" "start" "-a" "cab019c959214e1b57aa5b65fe0eb48e2a7e3f2a9e561cac75645a1e7a8e1c4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking httparse v1.2.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking hyper v0.13.1 [INFO] [stderr] Checking hyper-tls v0.4.0 [INFO] [stderr] Checking rust-musl-docker-example v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:17:15: 30:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [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 `rust-musl-docker-example` 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:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:17:15: 30:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 18 | | Ok::<_, Infallible>(service_fn(move |incoming: Request| { [INFO] [stdout] 19 | | let uri = format!("https://httpbin.org{}", incoming.uri().path()) [INFO] [stdout] 20 | | .parse() [INFO] [stdout] ... | [INFO] [stdout] 29 | | })) [INFO] [stdout] 30 | | } [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 `rust-musl-docker-example` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cab019c959214e1b57aa5b65fe0eb48e2a7e3f2a9e561cac75645a1e7a8e1c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab019c959214e1b57aa5b65fe0eb48e2a7e3f2a9e561cac75645a1e7a8e1c4c", kill_on_drop: false }` [INFO] [stdout] cab019c959214e1b57aa5b65fe0eb48e2a7e3f2a9e561cac75645a1e7a8e1c4c