[INFO] cloning repository https://github.com/prajwalprabhu/chatbot-rs-recv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prajwalprabhu/chatbot-rs-recv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajwalprabhu%2Fchatbot-rs-recv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajwalprabhu%2Fchatbot-rs-recv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b59d9c479b553f61be5a071b9c4a58a992a45c1 [INFO] checking prajwalprabhu/chatbot-rs-recv against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajwalprabhu%2Fchatbot-rs-recv" "/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/prajwalprabhu/chatbot-rs-recv on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prajwalprabhu/chatbot-rs-recv [INFO] finished tweaking git repo https://github.com/prajwalprabhu/chatbot-rs-recv [INFO] tweaked toml for git repo https://github.com/prajwalprabhu/chatbot-rs-recv written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/prajwalprabhu/chatbot-rs-recv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6b999164c2bc57f80fe41f466da832982eadce04f78bb65a730a38ac0f3d66a [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" "a6b999164c2bc57f80fe41f466da832982eadce04f78bb65a730a38ac0f3d66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6b999164c2bc57f80fe41f466da832982eadce04f78bb65a730a38ac0f3d66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b999164c2bc57f80fe41f466da832982eadce04f78bb65a730a38ac0f3d66a", kill_on_drop: false }` [INFO] [stdout] a6b999164c2bc57f80fe41f466da832982eadce04f78bb65a730a38ac0f3d66a [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" "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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3193c2fdb1e74506a76d6e0941dd540b6c0ebf6d26fe1f5f07f1d4751caab5cb [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" "3193c2fdb1e74506a76d6e0941dd540b6c0ebf6d26fe1f5f07f1d4751caab5cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking chtabot-rs-recv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{ Arc,Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/gui/backend_gui.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/gui/ui.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{ Arc,Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{ Arc,Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/gui/backend_gui.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{stdin, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/gui/ui.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{ Arc,Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 69 | / loop{ [INFO] [stdout] 70 | | // let rx = new_rx.lock().expect("Failed to lock"); [INFO] [stdout] 71 | | let message = rx.recv().expect("Failed recv "); [INFO] [stdout] 72 | | // let ls = new_ls.lock().expect("Failed to lock "); [INFO] [stdout] 73 | | ls.add(>k::Label::new(Some(&format!("{:?} : {:?}",message.member,message.chat)))); [INFO] [stdout] 74 | | [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 76 | thread_handle.join().expect("Failed to join :"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/gui/backend_gui.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 54 | / loop { [INFO] [stdout] 55 | | let mut buff = [0; 1024]; [INFO] [stdout] 56 | | stream.read(&mut buff)?; [INFO] [stdout] 57 | | if buff[0] == 0 { [INFO] [stdout] ... | [INFO] [stdout] 71 | | channel.send(result).expect("Cannel : "); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 73 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_handle` [INFO] [stdout] --> src/main.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | let (thread_handle,rx) = gui::backend_gui::handle_client(&stream); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/gui/ui.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let (thread_handle,rx) = super::backend_gui::handle_client(&stream); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/gui/ui.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/gui/ui.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn test(rx:mpsc::Receiver,ls:gtk::ListBox){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn test(rx:mpsc::Receiver,ls:gtk::ListBox){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 69 | / loop{ [INFO] [stdout] 70 | | // let rx = new_rx.lock().expect("Failed to lock"); [INFO] [stdout] 71 | | let message = rx.recv().expect("Failed recv "); [INFO] [stdout] 72 | | // let ls = new_ls.lock().expect("Failed to lock "); [INFO] [stdout] 73 | | ls.add(>k::Label::new(Some(&format!("{:?} : {:?}",message.member,message.chat)))); [INFO] [stdout] 74 | | [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 76 | thread_handle.join().expect("Failed to join :"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/gui/backend_gui.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 54 | / loop { [INFO] [stdout] 55 | | let mut buff = [0; 1024]; [INFO] [stdout] 56 | | stream.read(&mut buff)?; [INFO] [stdout] 57 | | if buff[0] == 0 { [INFO] [stdout] ... | [INFO] [stdout] 71 | | channel.send(result).expect("Cannel : "); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 73 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_handle` [INFO] [stdout] --> src/main.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | let (thread_handle,rx) = gui::backend_gui::handle_client(&stream); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/gui/ui.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let (thread_handle,rx) = super::backend_gui::handle_client(&stream); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/gui/ui.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/gui/ui.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn test(rx:mpsc::Receiver,ls:gtk::ListBox){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn test(rx:mpsc::Receiver,ls:gtk::ListBox){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "3193c2fdb1e74506a76d6e0941dd540b6c0ebf6d26fe1f5f07f1d4751caab5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3193c2fdb1e74506a76d6e0941dd540b6c0ebf6d26fe1f5f07f1d4751caab5cb", kill_on_drop: false }` [INFO] [stdout] 3193c2fdb1e74506a76d6e0941dd540b6c0ebf6d26fe1f5f07f1d4751caab5cb