[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] testing LMA9/anon_chat against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLMA9%2Fanon_chat" "/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/LMA9/anon_chat on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-1/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b780609e851eb0ad355db25d3436d6ae6c7120a61429d188bd342e00727a65df [INFO] running `Command { std: "docker" "start" "-a" "b780609e851eb0ad355db25d3436d6ae6c7120a61429d188bd342e00727a65df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b780609e851eb0ad355db25d3436d6ae6c7120a61429d188bd342e00727a65df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b780609e851eb0ad355db25d3436d6ae6c7120a61429d188bd342e00727a65df", kill_on_drop: false }` [INFO] [stdout] b780609e851eb0ad355db25d3436d6ae6c7120a61429d188bd342e00727a65df [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" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 660602ee65f7e541bcf9e978c1557df99d8acad75bc90253fa83fe6dee9f09f6 [INFO] running `Command { std: "docker" "start" "-a" "660602ee65f7e541bcf9e978c1557df99d8acad75bc90253fa83fe6dee9f09f6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [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] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling 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] 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: could not compile `anon_chats` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "660602ee65f7e541bcf9e978c1557df99d8acad75bc90253fa83fe6dee9f09f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660602ee65f7e541bcf9e978c1557df99d8acad75bc90253fa83fe6dee9f09f6", kill_on_drop: false }` [INFO] [stdout] 660602ee65f7e541bcf9e978c1557df99d8acad75bc90253fa83fe6dee9f09f6