[INFO] cloning repository https://github.com/dandelion-blanc/practice15_asynchronous [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dandelion-blanc/practice15_asynchronous" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice15_asynchronous", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice15_asynchronous'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e770e3b496e208856dd9605fa3bc88aff9f66bd0 [INFO] checking dandelion-blanc/practice15_asynchronous against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdandelion-blanc%2Fpractice15_asynchronous" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dandelion-blanc/practice15_asynchronous 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/dandelion-blanc/practice15_asynchronous [INFO] finished tweaking git repo https://github.com/dandelion-blanc/practice15_asynchronous [INFO] tweaked toml for git repo https://github.com/dandelion-blanc/practice15_asynchronous written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/dandelion-blanc/practice15_asynchronous 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] b7e74ca0b0b2505be0221abb6dd72daeca4e501e2b96a3a7372cd4cb33fa3675 [INFO] running `Command { std: "docker" "start" "-a" "b7e74ca0b0b2505be0221abb6dd72daeca4e501e2b96a3a7372cd4cb33fa3675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7e74ca0b0b2505be0221abb6dd72daeca4e501e2b96a3a7372cd4cb33fa3675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e74ca0b0b2505be0221abb6dd72daeca4e501e2b96a3a7372cd4cb33fa3675", kill_on_drop: false }` [INFO] [stdout] b7e74ca0b0b2505be0221abb6dd72daeca4e501e2b96a3a7372cd4cb33fa3675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 0969b87048f99f961c583b35e31f713d810b69d6c31c6cbdec819d7c86932dd4 [INFO] running `Command { std: "docker" "start" "-a" "0969b87048f99f961c583b35e31f713d810b69d6c31c6cbdec819d7c86932dd4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking practice15_asynchronous v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread::sleep` [INFO] [stdout] --> examples/rayon_tokio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime` [INFO] [stdout] --> examples/short_asynchronous.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/rayon_tokio.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::sleep` [INFO] [stdout] --> examples/rayon_iter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/rayon_iter.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> examples/tokio_channel.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{mpsc, oneshot}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> examples/tokio_channel.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sphere` is never used [INFO] [stdout] --> examples/small_multi_task.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn sphere(x :&[f64]) -> f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_once` is never used [INFO] [stdout] --> examples/short_rayon.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn spawn_once() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_parallel` is never used [INFO] [stdout] --> examples/short_rayon.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn spawn_parallel() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> examples/tokio_channel.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | tokio::spawn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/tokio_channel.rs:19:20: 36:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tokio_channel.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | let delay_time = 50; [INFO] [stdout] 21 | | let sleep = sleep(Duration::from_millis(delay_time)); [INFO] [stdout] 22 | | tokio::pin!(sleep); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `par_iter` is never used [INFO] [stdout] --> examples/short_rayon.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn par_iter() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_palallel_once` is never used [INFO] [stdout] --> examples/short_asynchronous.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn some_palallel_once() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_palallel` is never used [INFO] [stdout] --> examples/short_asynchronous.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn some_palallel() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `practice15_asynchronous` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0969b87048f99f961c583b35e31f713d810b69d6c31c6cbdec819d7c86932dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0969b87048f99f961c583b35e31f713d810b69d6c31c6cbdec819d7c86932dd4", kill_on_drop: false }` [INFO] [stdout] 0969b87048f99f961c583b35e31f713d810b69d6c31c6cbdec819d7c86932dd4