[INFO] cloning repository https://github.com/prajwalprabhu/chatbot-rs [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" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajwalprabhu%2Fchatbot-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajwalprabhu%2Fchatbot-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 721708c3711ddc26972ceb824ce0ca4d47eed2ef [INFO] testing prajwalprabhu/chatbot-rs against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprajwalprabhu%2Fchatbot-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/prajwalprabhu/chatbot-rs [INFO] finished tweaking git repo https://github.com/prajwalprabhu/chatbot-rs [INFO] tweaked toml for git repo https://github.com/prajwalprabhu/chatbot-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/prajwalprabhu/chatbot-rs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/prajwalprabhu/chatbot-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c286e4ae56620424ace90835db502093aabb7bd2ab42f8e9c30850698715b55e [INFO] running `Command { std: "docker" "start" "-a" "c286e4ae56620424ace90835db502093aabb7bd2ab42f8e9c30850698715b55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c286e4ae56620424ace90835db502093aabb7bd2ab42f8e9c30850698715b55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c286e4ae56620424ace90835db502093aabb7bd2ab42f8e9c30850698715b55e", kill_on_drop: false }` [INFO] [stdout] c286e4ae56620424ace90835db502093aabb7bd2ab42f8e9c30850698715b55e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c465e685c64fbe53b0dd4f0d088a88a43709f1125edb8fa5a42f9042eebf94b5 [INFO] running `Command { std: "docker" "start" "-a" "c465e685c64fbe53b0dd4f0d088a88a43709f1125edb8fa5a42f9042eebf94b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling chatbot-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0635]: unknown feature `mutex_unlock` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(mutex_unlock)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/main.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | Mutex::unlock(stream_vec); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/main.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | Mutex::unlock(members_vec); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/main.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | Mutex::unlock(members); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unlock` found for struct `Mutex` in the current scope [INFO] [stdout] --> src/main.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | Mutex::unlock(stream); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mutex<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mutex<_>`, consider using `Mutex::::new` which returns `Mutex<_>` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:298:5 [INFO] [stdout] help: there is a method `lock` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sync/poison/mutex.rs:435:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 126 | / loop { [INFO] [stdout] 127 | | let result: Message = channel.recv().unwrap(); [INFO] [stdout] 128 | | let mut members = members.lock().unwrap(); [INFO] [stdout] 129 | | let mut stream = stream.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 150 | | Mutex::unlock(stream); [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chatbot-rs` (bin "chatbot-rs") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c465e685c64fbe53b0dd4f0d088a88a43709f1125edb8fa5a42f9042eebf94b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c465e685c64fbe53b0dd4f0d088a88a43709f1125edb8fa5a42f9042eebf94b5", kill_on_drop: false }` [INFO] [stdout] c465e685c64fbe53b0dd4f0d088a88a43709f1125edb8fa5a42f9042eebf94b5