[INFO] cloning repository https://github.com/xiaoyureed/rust_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaoyureed/rust_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoyureed%2Frust_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoyureed%2Frust_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03c54ef44f3d78eb7318c2e0604a2b421de99d3e [INFO] checking xiaoyureed/rust_tools against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoyureed%2Frust_tools" "/workspace/builds/worker-85/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-85/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiaoyureed/rust_tools on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiaoyureed/rust_tools [INFO] finished tweaking git repo https://github.com/xiaoyureed/rust_tools [INFO] tweaked toml for git repo https://github.com/xiaoyureed/rust_tools written to /workspace/builds/worker-85/source/Cargo.toml [INFO] crate git repo https://github.com/xiaoyureed/rust_tools already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8368224b9981fb6a0cac7c58c48538cab8b040affc49229b63cfcda658d3a781 [INFO] running `Command { std: "docker" "start" "-a" "8368224b9981fb6a0cac7c58c48538cab8b040affc49229b63cfcda658d3a781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8368224b9981fb6a0cac7c58c48538cab8b040affc49229b63cfcda658d3a781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8368224b9981fb6a0cac7c58c48538cab8b040affc49229b63cfcda658d3a781", kill_on_drop: false }` [INFO] [stdout] 8368224b9981fb6a0cac7c58c48538cab8b040affc49229b63cfcda658d3a781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d291d268fa02efa603e7981b1eff2fe27a7cda7cf65dc8898e7e2133ad812bf [INFO] running `Command { std: "docker" "start" "-a" "2d291d268fa02efa603e7981b1eff2fe27a7cda7cf65dc8898e7e2133ad812bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/chat_server.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 25 | / loop { [INFO] [stdout] 26 | | // 接收一个客户端的连接 [INFO] [stdout] 27 | | let (mut socket_client, addr_client) = listener.accept()?; [INFO] [stdout] 28 | | //or [INFO] [stdout] ... | [INFO] [stdout] 77 | | // } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 96 | / match r.try_recv() { [INFO] [stdout] 97 | | Ok(msg) => { [INFO] [stdout] 98 | | clients = clients [INFO] [stdout] 99 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 107 | | Err(_) => println!("error of try_recv"), [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/chat_server.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let (s, r) = channel::(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clients` is never read [INFO] [stdout] --> src/bin/chat_server.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | clients = clients [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ok(_)` and `Err(_)` not covered [INFO] [stdout] --> src/bin/chat_client.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match r.try_recv() {} [INFO] [stdout] | ^^^^^^^^^^^^ patterns `Ok(_)` and `Err(_)` not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/chat_client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | let (s, r) = channel::(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag` [INFO] [stdout] --> src/bin/port_sniffer.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | flag: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/chat_server.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 25 | / loop { [INFO] [stdout] 26 | | // 接收一个客户端的连接 [INFO] [stdout] 27 | | let (mut socket_client, addr_client) = listener.accept()?; [INFO] [stdout] 28 | | //or [INFO] [stdout] ... | [INFO] [stdout] 77 | | // } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 96 | / match r.try_recv() { [INFO] [stdout] 97 | | Ok(msg) => { [INFO] [stdout] 98 | | clients = clients [INFO] [stdout] 99 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 107 | | Err(_) => println!("error of try_recv"), [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_tools` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ok(_)` and `Err(_)` not covered [INFO] [stdout] --> src/bin/chat_client.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match r.try_recv() {} [INFO] [stdout] | ^^^^^^^^^^^^ patterns `Ok(_)` and `Err(_)` not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/chat_client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | let (s, r) = channel::(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/chat_server.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let (s, r) = channel::(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clients` is never read [INFO] [stdout] --> src/bin/chat_server.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | clients = clients [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag` [INFO] [stdout] --> src/bin/port_sniffer.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | flag: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2d291d268fa02efa603e7981b1eff2fe27a7cda7cf65dc8898e7e2133ad812bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d291d268fa02efa603e7981b1eff2fe27a7cda7cf65dc8898e7e2133ad812bf", kill_on_drop: false }` [INFO] [stdout] 2d291d268fa02efa603e7981b1eff2fe27a7cda7cf65dc8898e7e2133ad812bf