[INFO] cloning repository https://github.com/danielcasler/learning-rust-async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielcasler/learning-rust-async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielcasler%2Flearning-rust-async", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielcasler%2Flearning-rust-async'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e09517baa90e1aa4b8f6e27610848e08ccf0a59 [INFO] building danielcasler/learning-rust-async against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielcasler%2Flearning-rust-async" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielcasler/learning-rust-async on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielcasler/learning-rust-async [INFO] finished tweaking git repo https://github.com/danielcasler/learning-rust-async [INFO] tweaked toml for git repo https://github.com/danielcasler/learning-rust-async written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/danielcasler/learning-rust-async already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.2 [INFO] [stderr] Downloaded clap v3.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fdf2fa250b394c374af880dc2b955bf9402476358e24f3a168cd1c5ff22dcdf [INFO] running `Command { std: "docker" "start" "-a" "0fdf2fa250b394c374af880dc2b955bf9402476358e24f3a168cd1c5ff22dcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fdf2fa250b394c374af880dc2b955bf9402476358e24f3a168cd1c5ff22dcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fdf2fa250b394c374af880dc2b955bf9402476358e24f3a168cd1c5ff22dcdf", kill_on_drop: false }` [INFO] [stdout] 0fdf2fa250b394c374af880dc2b955bf9402476358e24f3a168cd1c5ff22dcdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e13d1177ea9e2eea40d5f4e152c157de8c3140053a67e59a4e486b0df8fb57aa [INFO] running `Command { std: "docker" "start" "-a" "e13d1177ea9e2eea40d5f4e152c157de8c3140053a67e59a4e486b0df8fb57aa", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-subscriber v0.3.5 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling tracing-appender v0.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.0.2 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling clap v3.0.4 [INFO] [stderr] Compiling wickedspeech v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MockActor` [INFO] [stdout] --> src/supervisor.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{MockActor, Shutdown}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/supervisor.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `broadcast` [INFO] [stdout] --> src/supervisor.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{broadcast, mpsc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/supervisor.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 31 | | let _ = self.shutdown_complete_tx.clone(); [INFO] [stdout] 32 | | let run = actor.start().await; [INFO] [stdout] 33 | | }); [INFO] [stdout] | |_________^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/supervisor.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | let run = actor.start().await; [INFO] [stdout] | ----- ^^^^^^ await occurs here, with `actor` maybe used later [INFO] [stdout] | | [INFO] [stdout] | has type `&T` which is not `Send` [INFO] [stdout] note: `actor` is later dropped here [INFO] [stdout] --> src/supervisor.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | let run = actor.start().await; [INFO] [stdout] | ^ [INFO] [stdout] help: consider moving this into a `let` binding to create a shorter lived borrow [INFO] [stdout] --> src/supervisor.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let run = actor.start().await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.15.0/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn launch(mut self, actor: T) { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wickedspeech` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e13d1177ea9e2eea40d5f4e152c157de8c3140053a67e59a4e486b0df8fb57aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13d1177ea9e2eea40d5f4e152c157de8c3140053a67e59a4e486b0df8fb57aa", kill_on_drop: false }` [INFO] [stdout] e13d1177ea9e2eea40d5f4e152c157de8c3140053a67e59a4e486b0df8fb57aa