[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] 6fa5d800ca917f923abf38fd44d3b5785b2bb5fa [INFO] checking LMA9/anon_chat against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMA9%2Fanon_chat" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LMA9/anon_chat on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0d67950cb5e43ec8013a35920868e014497ea6a701becb576b34337a5a4b7a5 [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" "b0d67950cb5e43ec8013a35920868e014497ea6a701becb576b34337a5a4b7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0d67950cb5e43ec8013a35920868e014497ea6a701becb576b34337a5a4b7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d67950cb5e43ec8013a35920868e014497ea6a701becb576b34337a5a4b7a5", kill_on_drop: false }` [INFO] [stdout] b0d67950cb5e43ec8013a35920868e014497ea6a701becb576b34337a5a4b7a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30aa41e01bf22870433a18819acab403cb486fe25552a52fce39738a85cce997 [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" "30aa41e01bf22870433a18819acab403cb486fe25552a52fce39738a85cce997", 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] Checking time v0.1.44 [INFO] [stderr] Checking num-integer 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 import: `std::time::Duration` [INFO] [stdout] --> src/chat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `RecvError` [INFO] [stdout] --> src/chat.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::mpsc::{channel, Receiver, RecvError}; [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/chat.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 116 | fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 119 | let stream = &self.connection.stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ...is captured here... [INFO] [stdout] 120 | let (tx, rx) = channel(); [INFO] [stdout] 121 | 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:121:28 [INFO] [stdout] | [INFO] [stdout] 116 | fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 121 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 122 | | loop { [INFO] [stdout] 123 | | match Chat::check_new_message(self.id, stream) { [INFO] [stdout] 124 | | Some(message) => { [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | }); [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:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/chat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `RecvError` [INFO] [stdout] --> src/chat.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::mpsc::{channel, Receiver, RecvError}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anon_chats` [INFO] [stdout] For more information about this error, try `rustc --explain E0759`. [INFO] [stdout] [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/chat.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 116 | fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 119 | let stream = &self.connection.stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ...is captured here... [INFO] [stdout] 120 | let (tx, rx) = channel(); [INFO] [stdout] 121 | 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:121:28 [INFO] [stdout] | [INFO] [stdout] 116 | fn start(&mut self) { [INFO] [stdout] | --------- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 121 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 122 | | loop { [INFO] [stdout] 123 | | match Chat::check_new_message(self.id, stream) { [INFO] [stdout] 124 | | Some(message) => { [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | }); [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:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings 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" "30aa41e01bf22870433a18819acab403cb486fe25552a52fce39738a85cce997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30aa41e01bf22870433a18819acab403cb486fe25552a52fce39738a85cce997", kill_on_drop: false }` [INFO] [stdout] 30aa41e01bf22870433a18819acab403cb486fe25552a52fce39738a85cce997