[INFO] cloning repository https://github.com/marcelbuesing/async-std-main-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcelbuesing/async-std-main-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelbuesing%2Fasync-std-main-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelbuesing%2Fasync-std-main-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e4b65f0a049fbb34fa9e2f99058c6484cfeeae5 [INFO] checking marcelbuesing/async-std-main-demo against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelbuesing%2Fasync-std-main-demo" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcelbuesing/async-std-main-demo 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/marcelbuesing/async-std-main-demo [INFO] finished tweaking git repo https://github.com/marcelbuesing/async-std-main-demo [INFO] tweaked toml for git repo https://github.com/marcelbuesing/async-std-main-demo written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/marcelbuesing/async-std-main-demo 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 0c316cc4ec05c8d0cb3784de025000d40612a566bffdef6cdce42018698232d2 [INFO] running `Command { std: "docker" "start" "-a" "0c316cc4ec05c8d0cb3784de025000d40612a566bffdef6cdce42018698232d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c316cc4ec05c8d0cb3784de025000d40612a566bffdef6cdce42018698232d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c316cc4ec05c8d0cb3784de025000d40612a566bffdef6cdce42018698232d2", kill_on_drop: false }` [INFO] [stdout] 0c316cc4ec05c8d0cb3784de025000d40612a566bffdef6cdce42018698232d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] f54bf56890fa731de966ed898039eb3296e9e85d97d76f45de04d2c0ae96c807 [INFO] running `Command { std: "docker" "start" "-a" "f54bf56890fa731de966ed898039eb3296e9e85d97d76f45de04d2c0ae96c807", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking async-macros v1.0.0 [INFO] [stderr] Checking futures-timer v1.0.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking async-std v1.0.1 [INFO] [stdout] error[E0391]: cycle detected when type-checking `task::builder::::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / pub fn spawn(self, future: F) -> io::Result> [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | F: Future + Send + 'static, [INFO] [stdout] 34 | | T: Send + 'static, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `task::builder::::spawn::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/async-std-1.0.1/src/task/builder.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let future = async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 48 | | // Drop task-locals on exit. [INFO] [stdout] 49 | | defer! { [INFO] [stdout] 50 | | Task::get_current(|t| unsafe { t.drop_locals() }); [INFO] [stdout] ... | [INFO] [stdout] 64 | | future.await [INFO] [stdout] 65 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `task::builder::::spawn`, 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 `async-std` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f54bf56890fa731de966ed898039eb3296e9e85d97d76f45de04d2c0ae96c807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54bf56890fa731de966ed898039eb3296e9e85d97d76f45de04d2c0ae96c807", kill_on_drop: false }` [INFO] [stdout] f54bf56890fa731de966ed898039eb3296e9e85d97d76f45de04d2c0ae96c807