[INFO] cloning repository https://github.com/LMA9/anon_chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LMA9/anon_chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMA9%2Fanon_chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMA9%2Fanon_chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d451b10eaed1b042093398a359da96d0a3b7494 [INFO] checking LMA9/anon_chat against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMA9%2Fanon_chat" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LMA9/anon_chat on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LMA9/anon_chat [INFO] finished tweaking git repo https://github.com/LMA9/anon_chat [INFO] tweaked toml for git repo https://github.com/LMA9/anon_chat written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/LMA9/anon_chat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 804d021b258e0c999c48121a8f4c2d9e548cf0c81d95cfadc29a93506f5fe6cc [INFO] running `Command { std: "docker" "start" "-a" "804d021b258e0c999c48121a8f4c2d9e548cf0c81d95cfadc29a93506f5fe6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "804d021b258e0c999c48121a8f4c2d9e548cf0c81d95cfadc29a93506f5fe6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804d021b258e0c999c48121a8f4c2d9e548cf0c81d95cfadc29a93506f5fe6cc", kill_on_drop: false }` [INFO] [stdout] 804d021b258e0c999c48121a8f4c2d9e548cf0c81d95cfadc29a93506f5fe6cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dee2851e3bd09282f8069bd0e6c1968eb2dc525f701337fc480de00ec326781 [INFO] running `Command { std: "docker" "start" "-a" "3dee2851e3bd09282f8069bd0e6c1968eb2dc525f701337fc480de00ec326781", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking anon_chats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Receiver`, `RecvError` [INFO] [stdout] --> src/chat.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::{channel, Receiver, RecvError}; [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/chat.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 74 | let stream = &self.connection.stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ...is captured here... [INFO] [stdout] 75 | let (tx, rx) = channel(); [INFO] [stdout] 76 | std::thread::spawn(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/chat.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 76 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | match Chat::check_new_message(self.id, stream) { [INFO] [stdout] 79 | | Some(message) => { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | }); [INFO] [stdout] | |_________^ ...is captured here... [INFO] [stdout] | [INFO] [stdout] note: ...and is required to live as long as `'static` here [INFO] [stdout] --> src/chat.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `RecvError` [INFO] [stdout] --> src/chat.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::{channel, Receiver, RecvError}; [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/chat.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 74 | let stream = &self.connection.stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ...is captured here... [INFO] [stdout] 75 | let (tx, rx) = channel(); [INFO] [stdout] 76 | std::thread::spawn(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/chat.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 76 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | match Chat::check_new_message(self.id, stream) { [INFO] [stdout] 79 | | Some(message) => { [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | }); [INFO] [stdout] | |_________^ ...is captured here... [INFO] [stdout] | [INFO] [stdout] note: ...and is required to live as long as `'static` here [INFO] [stdout] --> src/chat.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `anon_chats` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 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" "3dee2851e3bd09282f8069bd0e6c1968eb2dc525f701337fc480de00ec326781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dee2851e3bd09282f8069bd0e6c1968eb2dc525f701337fc480de00ec326781", kill_on_drop: false }` [INFO] [stdout] 3dee2851e3bd09282f8069bd0e6c1968eb2dc525f701337fc480de00ec326781