[INFO] cloning repository https://github.com/silago/tcp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/silago/tcp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilago%2Ftcp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilago%2Ftcp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6310f52043790a9b53b2601502e0446fc8d0127 [INFO] checking silago/tcp-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilago%2Ftcp-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/silago/tcp-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/silago/tcp-rs [INFO] finished tweaking git repo https://github.com/silago/tcp-rs [INFO] tweaked toml for git repo https://github.com/silago/tcp-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/silago/tcp-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3f7b4e91071355d0c5f27c428d5162d022c66c15ea3e2816db0f958d4a8ba06 [INFO] running `Command { std: "docker" "start" "-a" "d3f7b4e91071355d0c5f27c428d5162d022c66c15ea3e2816db0f958d4a8ba06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f7b4e91071355d0c5f27c428d5162d022c66c15ea3e2816db0f958d4a8ba06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f7b4e91071355d0c5f27c428d5162d022c66c15ea3e2816db0f958d4a8ba06", kill_on_drop: false }` [INFO] [stdout] d3f7b4e91071355d0c5f27c428d5162d022c66c15ea3e2816db0f958d4a8ba06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30c06f23db60c2dcac8b1a819f06ffcfeed28a53daeb3e32d46fde1339c226c7 [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" "30c06f23db60c2dcac8b1a819f06ffcfeed28a53daeb3e32d46fde1339c226c7", kill_on_drop: false }` [INFO] [stderr] Checking tcp-socker-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> main.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | match(x) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> main.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | match(x) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | ... if (val!=msg.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | if (terminate) { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connections` [INFO] [stdout] --> main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut connections: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | Ok((mut s , addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan` [INFO] [stdout] --> main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let chan:Chan = Chan::fromTuple( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> main.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | Some(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> main.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | match(x) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> main.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | match(x) { [INFO] [stdout] | ^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | ... if (val!=msg.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | if (terminate) { [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut connections: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Ok((mut s , addr)) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let mut part = &String::from_utf8(buffer).unwrap().to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tx` [INFO] [stdout] --> main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | tx: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | rx: Receiver [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromTuple` should have a snake case name [INFO] [stdout] --> main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn fromTuple( input: ( Sender, Receiver) ) -> Chan { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `from_tuple` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connections` [INFO] [stdout] --> main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut connections: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | Ok((mut s , addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan` [INFO] [stdout] --> main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let chan:Chan = Chan::fromTuple( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> main.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | Some(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut connections: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Ok((mut s , addr)) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let mut part = &String::from_utf8(buffer).unwrap().to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tx` [INFO] [stdout] --> main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | tx: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | rx: Receiver [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromTuple` should have a snake case name [INFO] [stdout] --> main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn fromTuple( input: ( Sender, Receiver) ) -> Chan { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `from_tuple` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "30c06f23db60c2dcac8b1a819f06ffcfeed28a53daeb3e32d46fde1339c226c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30c06f23db60c2dcac8b1a819f06ffcfeed28a53daeb3e32d46fde1339c226c7", kill_on_drop: false }` [INFO] [stdout] 30c06f23db60c2dcac8b1a819f06ffcfeed28a53daeb3e32d46fde1339c226c7