[INFO] cloning repository https://github.com/gchp/tcp-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gchp/tcp-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgchp%2Ftcp-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgchp%2Ftcp-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e612576dede748e0778ad1acdd9b7be46c0e3cdb [INFO] checking gchp/tcp-test against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgchp%2Ftcp-test" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gchp/tcp-test on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gchp/tcp-test [INFO] finished tweaking git repo https://github.com/gchp/tcp-test [INFO] tweaked toml for git repo https://github.com/gchp/tcp-test written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/gchp/tcp-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ca44ceaf181d66e4893b5ef0e3ea1c03bb27b0d373cf1bf3a9522096614e21a [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" "1ca44ceaf181d66e4893b5ef0e3ea1c03bb27b0d373cf1bf3a9522096614e21a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ca44ceaf181d66e4893b5ef0e3ea1c03bb27b0d373cf1bf3a9522096614e21a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca44ceaf181d66e4893b5ef0e3ea1c03bb27b0d373cf1bf3a9522096614e21a", kill_on_drop: false }` [INFO] [stdout] 1ca44ceaf181d66e4893b5ef0e3ea1c03bb27b0d373cf1bf3a9522096614e21a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a297f683000aafcf1b84878bd5491e562bda9ef21baf7d2ce24ae96cce0e2aa [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" "1a297f683000aafcf1b84878bd5491e562bda9ef21baf7d2ce24ae96cce0e2aa", kill_on_drop: false }` [INFO] [stderr] Checking tcp-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/bin/server.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{TcpListener, TcpStream, Shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/bin/server.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{TcpListener, TcpStream, Shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/bin/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/bin/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bin/client.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let data = stream.read_to_string(&mut response); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/bin/server.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | return_data.push_all(&*raw); [INFO] [stdout] | ^^^^^^^^ method not found in `std::vec::Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/bin/server.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | return_data.push_all(&*data); [INFO] [stdout] | ^^^^^^^^ method not found in `std::vec::Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/client.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut d =args().last().unwrap(); [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] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/bin/server.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | return_data.push_all(&*raw); [INFO] [stdout] | ^^^^^^^^ method not found in `std::vec::Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | stream.shutdown(Shutdown::Write); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/bin/server.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | return_data.push_all(&*data); [INFO] [stdout] | ^^^^^^^^ method not found in `std::vec::Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | stream.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bin/client.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let data = stream.read_to_string(&mut response); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/client.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut d =args().last().unwrap(); [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] [stderr] error: could not compile `tcp-test`. [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | stream.shutdown(Shutdown::Write); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | stream.shutdown(Shutdown::Both); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a297f683000aafcf1b84878bd5491e562bda9ef21baf7d2ce24ae96cce0e2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a297f683000aafcf1b84878bd5491e562bda9ef21baf7d2ce24ae96cce0e2aa", kill_on_drop: false }` [INFO] [stdout] 1a297f683000aafcf1b84878bd5491e562bda9ef21baf7d2ce24ae96cce0e2aa