[INFO] cloning repository https://github.com/SmonkeyMonkey/rust_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SmonkeyMonkey/rust_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmonkeyMonkey%2Frust_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmonkeyMonkey%2Frust_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddd84fb175f5c84e4f07ebce51926f98cde4e3f6 [INFO] checking SmonkeyMonkey/rust_test against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmonkeyMonkey%2Frust_test" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SmonkeyMonkey/rust_test 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/SmonkeyMonkey/rust_test [INFO] finished tweaking git repo https://github.com/SmonkeyMonkey/rust_test [INFO] tweaked toml for git repo https://github.com/SmonkeyMonkey/rust_test written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/SmonkeyMonkey/rust_test 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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] daca7a21750851be11f3af059404926184c76bbdf4f5b04f47a34138314f2cd9 [INFO] running `Command { std: "docker" "start" "-a" "daca7a21750851be11f3af059404926184c76bbdf4f5b04f47a34138314f2cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daca7a21750851be11f3af059404926184c76bbdf4f5b04f47a34138314f2cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daca7a21750851be11f3af059404926184c76bbdf4f5b04f47a34138314f2cd9", kill_on_drop: false }` [INFO] [stdout] daca7a21750851be11f3af059404926184c76bbdf4f5b04f47a34138314f2cd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 31cf0e427809ac8cd94d499d0d0d9cdf6882fe572b7342bc9dc463d724c975cc [INFO] running `Command { std: "docker" "start" "-a" "31cf0e427809ac8cd94d499d0d0d9cdf6882fe572b7342bc9dc463d724c975cc", 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.54 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking socket2 v0.3.18 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking multer v1.2.2 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking rust_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `test::start_serve` [INFO] [stdout] --> src/main.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | let _server = Server::bind(&addr).serve(service).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:156:49: 156:99]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `test::start_serve::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `test::start_serve`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `test::start_serve` [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | async fn start_serve() { [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 `rust_test` 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:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:17:45: 17:95]: 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:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(upload_file)) }); [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_test` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "31cf0e427809ac8cd94d499d0d0d9cdf6882fe572b7342bc9dc463d724c975cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31cf0e427809ac8cd94d499d0d0d9cdf6882fe572b7342bc9dc463d724c975cc", kill_on_drop: false }` [INFO] [stdout] 31cf0e427809ac8cd94d499d0d0d9cdf6882fe572b7342bc9dc463d724c975cc