[INFO] cloning repository https://github.com/jimmychu0807/heartbeat-stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimmychu0807/heartbeat-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmychu0807%2Fheartbeat-stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmychu0807%2Fheartbeat-stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 373697d0a4ee5f0a900ceade6c1a6dda0cda0c09 [INFO] checking jimmychu0807/heartbeat-stream against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmychu0807%2Fheartbeat-stream" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimmychu0807/heartbeat-stream on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jimmychu0807/heartbeat-stream [INFO] finished tweaking git repo https://github.com/jimmychu0807/heartbeat-stream [INFO] tweaked toml for git repo https://github.com/jimmychu0807/heartbeat-stream written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/jimmychu0807/heartbeat-stream already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9fa72c7d225d4835fcbcd804c61ab5fba2db76b4c6f62b55e2497f0143841aa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9fa72c7d225d4835fcbcd804c61ab5fba2db76b4c6f62b55e2497f0143841aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9fa72c7d225d4835fcbcd804c61ab5fba2db76b4c6f62b55e2497f0143841aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fa72c7d225d4835fcbcd804c61ab5fba2db76b4c6f62b55e2497f0143841aa", kill_on_drop: false }` [INFO] [stdout] e9fa72c7d225d4835fcbcd804c61ab5fba2db76b4c6f62b55e2497f0143841aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbb36713c074f6d9b81fa78f125acd5a3733e35d86360c3ce30dbae90cf35c82 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cbb36713c074f6d9b81fa78f125acd5a3733e35d86360c3ce30dbae90cf35c82", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.46 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking mio v0.7.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling tokio-macros v0.3.0 [INFO] [stderr] Checking tokio v0.3.1 [INFO] [stderr] Checking heartbeat-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `heartbeat::HeartbeatStream` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use heartbeat::HeartbeatStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heartbeat::HeartbeatStream` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use heartbeat::HeartbeatStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/heartbeat.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 52 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | -------------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 59 | match &mut self.next_heartbeat { [INFO] [stdout] | ^^^^ ...is captured here... [INFO] [stdout] ... [INFO] [stdout] 62 | tokio::spawn(async move { [INFO] [stdout] | ------------ ...and is required to live as long as `'static` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/heartbeat.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | -------------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 62 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 63 | | tokio::select! { [INFO] [stdout] 64 | | Some(char) = stream1.next(), if self.cooldown.map_or(true, |cd| since_last_signal > cd) => { [INFO] [stdout] 65 | | self.reset_last_signal_next_heartbeat(); [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | }); [INFO] [stdout] | |_________________^ ...is captured here... [INFO] [stdout] | [INFO] [stdout] note: ...and is required to live as long as `'static` here [INFO] [stdout] --> src/heartbeat.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/heartbeat.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | -------------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 81 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 82 | | tokio::select! { [INFO] [stdout] 83 | | Some(char) = stream1.next(), if self.cooldown.map_or(true, |cd| since_last_signal > cd) => { [INFO] [stdout] 84 | | self.reset_last_signal_next_heartbeat(); [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }); [INFO] [stdout] | |_________________^ ...is captured here... [INFO] [stdout] | [INFO] [stdout] note: ...and is required to live as long as `'static` here [INFO] [stdout] --> src/heartbeat.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0759`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heartbeat-sim` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/heartbeat.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 52 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | -------------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 59 | match &mut self.next_heartbeat { [INFO] [stdout] | ^^^^ ...is captured here... [INFO] [stdout] ... [INFO] [stdout] 62 | tokio::spawn(async move { [INFO] [stdout] | ------------ ...and is required to live as long as `'static` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/heartbeat.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | -------------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 62 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 63 | | tokio::select! { [INFO] [stdout] 64 | | Some(char) = stream1.next(), if self.cooldown.map_or(true, |cd| since_last_signal > cd) => { [INFO] [stdout] 65 | | self.reset_last_signal_next_heartbeat(); [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | }); [INFO] [stdout] | |_________________^ ...is captured here... [INFO] [stdout] | [INFO] [stdout] note: ...and is required to live as long as `'static` here [INFO] [stdout] --> src/heartbeat.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/heartbeat.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | -------------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 81 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 82 | | tokio::select! { [INFO] [stdout] 83 | | Some(char) = stream1.next(), if self.cooldown.map_or(true, |cd| since_last_signal > cd) => { [INFO] [stdout] 84 | | self.reset_last_signal_next_heartbeat(); [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }); [INFO] [stdout] | |_________________^ ...is captured here... [INFO] [stdout] | [INFO] [stdout] note: ...and is required to live as long as `'static` here [INFO] [stdout] --> src/heartbeat.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0759`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cbb36713c074f6d9b81fa78f125acd5a3733e35d86360c3ce30dbae90cf35c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb36713c074f6d9b81fa78f125acd5a3733e35d86360c3ce30dbae90cf35c82", kill_on_drop: false }` [INFO] [stdout] cbb36713c074f6d9b81fa78f125acd5a3733e35d86360c3ce30dbae90cf35c82