[INFO] cloning repository https://github.com/gluaxspeed/r2wc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gluaxspeed/r2wc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluaxspeed%2Fr2wc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluaxspeed%2Fr2wc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdc59383aab43b4c6439f6b4eae38cd2208c082f [INFO] checking gluaxspeed/r2wc against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluaxspeed%2Fr2wc" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gluaxspeed/r2wc on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gluaxspeed/r2wc [INFO] finished tweaking git repo https://github.com/gluaxspeed/r2wc [INFO] tweaked toml for git repo https://github.com/gluaxspeed/r2wc written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/gluaxspeed/r2wc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.94.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0209124cb51ce9d2c1b8d1e2901c136966088f59234d9dc443ec0f9592f78906 [INFO] running `Command { std: "docker" "start" "-a" "0209124cb51ce9d2c1b8d1e2901c136966088f59234d9dc443ec0f9592f78906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0209124cb51ce9d2c1b8d1e2901c136966088f59234d9dc443ec0f9592f78906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0209124cb51ce9d2c1b8d1e2901c136966088f59234d9dc443ec0f9592f78906", kill_on_drop: false }` [INFO] [stdout] 0209124cb51ce9d2c1b8d1e2901c136966088f59234d9dc443ec0f9592f78906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eea628fb33612ab8298c17f482442f7402de24aa0a59041d3df388c4a89595f [INFO] running `Command { std: "docker" "start" "-a" "9eea628fb33612ab8298c17f482442f7402de24aa0a59041d3df388c4a89595f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling ncurses v5.94.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Checking r2wc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `set_port` is never used [INFO] [stdout] --> src/connection.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn set_port() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_server` is never used [INFO] [stdout] --> src/connection.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn create_server() -> TcpListener { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_peer` is never used [INFO] [stdout] --> src/connection.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_peer(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_connection` is never used [INFO] [stdout] --> src/connection.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new_connection(msg_size: usize, taken: Option) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_server_connection` is never used [INFO] [stdout] --> src/connection.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new_server_connection(msg_size: usize) -> (Connection, TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `await_client` is never used [INFO] [stdout] --> src/connection.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn await_client(&mut self, server: &TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `await_client_timeout` is never used [INFO] [stdout] --> src/connection.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn await_client_timeout(&mut self, server: &TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reject_other_clients` is never used [INFO] [stdout] --> src/connection.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn reject_other_clients(&self, server: &TcpListener) -> (bool, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_client` is never used [INFO] [stdout] --> src/connection/peer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_client(server: &TcpListener) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_port` is never used [INFO] [stdout] --> src/connection.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn set_port() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_server` is never used [INFO] [stdout] --> src/connection.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn create_server() -> TcpListener { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_peer` is never used [INFO] [stdout] --> src/connection.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_peer(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_connection` is never used [INFO] [stdout] --> src/connection.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new_connection(msg_size: usize, taken: Option) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_server_connection` is never used [INFO] [stdout] --> src/connection.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new_server_connection(msg_size: usize) -> (Connection, TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `await_client` is never used [INFO] [stdout] --> src/connection.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn await_client(&mut self, server: &TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `await_client_timeout` is never used [INFO] [stdout] --> src/connection.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn await_client_timeout(&mut self, server: &TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reject_other_clients` is never used [INFO] [stdout] --> src/connection.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn reject_other_clients(&self, server: &TcpListener) -> (bool, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_client` is never used [INFO] [stdout] --> src/connection/peer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_client(server: &TcpListener) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_server_port` is never used [INFO] [stdout] --> src/connection.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_server_port() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_server` is never used [INFO] [stdout] --> src/connection.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn connect_server() -> TcpStream { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_connection` is never used [INFO] [stdout] --> src/connection.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new_connection(msg_size: usize, taken: Option) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_client_connection` is never used [INFO] [stdout] --> src/connection.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new_client_connection(msg_size: usize) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `await_client` is never used [INFO] [stdout] --> src/connection.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn await_client(&mut self, server: &TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection/peer.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(stream: TcpStream, who: String) -> Peer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | &line.pop(); [INFO] [stdout] | ^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = &line.pop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | &line.push(char::from_u32(c as u32).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = &line.push(char::from_u32(c as u32).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_server_port` is never used [INFO] [stdout] --> src/connection.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_server_port() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_server` is never used [INFO] [stdout] --> src/connection.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn connect_server() -> TcpStream { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_connection` is never used [INFO] [stdout] --> src/connection.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new_connection(msg_size: usize, taken: Option) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_client_connection` is never used [INFO] [stdout] --> src/connection.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn new_client_connection(msg_size: usize) -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `await_client` is never used [INFO] [stdout] --> src/connection.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn await_client(&mut self, server: &TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection/peer.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(stream: TcpStream, who: String) -> Peer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | &line.pop(); [INFO] [stdout] | ^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = &line.pop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | &line.push(char::from_u32(c as u32).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = &line.push(char::from_u32(c as u32).unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "9eea628fb33612ab8298c17f482442f7402de24aa0a59041d3df388c4a89595f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eea628fb33612ab8298c17f482442f7402de24aa0a59041d3df388c4a89595f", kill_on_drop: false }` [INFO] [stdout] 9eea628fb33612ab8298c17f482442f7402de24aa0a59041d3df388c4a89595f