[INFO] cloning repository https://github.com/Szune/http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Szune/http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzune%2Fhttp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzune%2Fhttp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1638dae5a7983f505d3d7b44de1f58503479826 [INFO] checking Szune/http against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzune%2Fhttp" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Szune/http on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Szune/http [INFO] finished tweaking git repo https://github.com/Szune/http [INFO] tweaked toml for git repo https://github.com/Szune/http written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/Szune/http already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c90b2b6c0b52c337ee5aa2ae65f8f50424de0fd0bc78372b66762a2c3f6a12f [INFO] running `Command { std: "docker" "start" "-a" "0c90b2b6c0b52c337ee5aa2ae65f8f50424de0fd0bc78372b66762a2c3f6a12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c90b2b6c0b52c337ee5aa2ae65f8f50424de0fd0bc78372b66762a2c3f6a12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c90b2b6c0b52c337ee5aa2ae65f8f50424de0fd0bc78372b66762a2c3f6a12f", kill_on_drop: false }` [INFO] [stdout] 0c90b2b6c0b52c337ee5aa2ae65f8f50424de0fd0bc78372b66762a2c3f6a12f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45f5a6ba0829076d639b756b811d4abe8935b1578b5a104c66ad3c7ca2a0a5f4 [INFO] running `Command { std: "docker" "start" "-a" "45f5a6ba0829076d639b756b811d4abe8935b1578b5a104c66ad3c7ca2a0a5f4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking httpserver v0.1.0 (/opt/rustwide/workdir/httpserver) [INFO] [stderr] Checking httpclient v0.1.0 (/opt/rustwide/workdir/httpclient) [INFO] [stderr] Checking clientcli v0.1.0 (/opt/rustwide/workdir/clientcli) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> httpclient/src/request.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> httpclient/src/client.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> httpclient/src/client.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Result}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::ToSocketAddrs` [INFO] [stdout] --> httpclient/src/client.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::net::ToSocketAddrs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffered` [INFO] [stdout] --> httpserver/src/url.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::buffer::Buffered; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffered` [INFO] [stdout] --> httpserver/src/url.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::buffer::Buffered; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> httpclient/src/request.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> httpclient/src/client.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> httpclient/src/client.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, Read, Result}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::ToSocketAddrs` [INFO] [stdout] --> httpclient/src/client.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::net::ToSocketAddrs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> httpclient/src/client.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let hostname = Self::hostname_from_url(url.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `U256` [INFO] [stdout] --> httpclient/src/sha256.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct U256(u32, u32, u32, u32, u32, u32, u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HASH_CONSTANTS` [INFO] [stdout] --> httpclient/src/sha256.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const HASH_CONSTANTS: [u32; 64] = [INFO] [stdout] 4 | | [0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, [INFO] [stdout] 5 | | 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, [INFO] [stdout] 6 | | 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, [INFO] [stdout] ... | [INFO] [stdout] 10 | | 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, [INFO] [stdout] 11 | | 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2]; [INFO] [stdout] | |________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send` [INFO] [stdout] --> httpclient/src/request.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn send(socket: &mut TcpStream, response: Vec) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> httpclient/src/client.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn get(&mut self, url: String) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> httpclient/src/client.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let hostname = Self::hostname_from_url(url.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> httpclient/src/client.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let hostname = crate::client::HttpClient::hostname_from_url(url); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> httpclient/src/client.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let hostname = crate::client::HttpClient::hostname_from_url(url); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> httpclient/src/client.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let hostname = crate::client::HttpClient::hostname_from_url(url); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> httpclient/src/client.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let hostname = crate::client::HttpClient::hostname_from_url(url); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hostname` [INFO] [stdout] --> httpclient/src/client.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let hostname = crate::client::HttpClient::hostname_from_url(url); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `U256` [INFO] [stdout] --> httpclient/src/sha256.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct U256(u32, u32, u32, u32, u32, u32, u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HASH_CONSTANTS` [INFO] [stdout] --> httpclient/src/sha256.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const HASH_CONSTANTS: [u32; 64] = [INFO] [stdout] 4 | | [0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, [INFO] [stdout] 5 | | 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, [INFO] [stdout] 6 | | 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, [INFO] [stdout] ... | [INFO] [stdout] 10 | | 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, [INFO] [stdout] 11 | | 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2]; [INFO] [stdout] | |________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send` [INFO] [stdout] --> httpclient/src/request.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn send(socket: &mut TcpStream, response: Vec) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> httpclient/src/client.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn get(&mut self, url: String) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> httpserver/src/url.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 15 | / Url { [INFO] [stdout] 16 | | fragments: Vec::new(), [INFO] [stdout] 17 | | query: Vec::new(), [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> httpserver/src/url.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(s: &str) -> Url { [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: unreachable expression [INFO] [stdout] --> httpserver/src/url.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 15 | / Url { [INFO] [stdout] 16 | | fragments: Vec::new(), [INFO] [stdout] 17 | | query: Vec::new(), [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> httpserver/src/url.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(s: &str) -> Url { [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `QueryPart` [INFO] [stdout] --> httpserver/src/url.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct QueryPart { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Url` [INFO] [stdout] --> httpserver/src/url.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Url { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> httpserver/src/url.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(s: &str) -> Url { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `QueryPart` [INFO] [stdout] --> httpserver/src/url.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct QueryPart { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Url` [INFO] [stdout] --> httpserver/src/url.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Url { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> httpserver/src/url.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(s: &str) -> Url { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking servercli v0.1.0 (/opt/rustwide/workdir/servercli) [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.26s [INFO] running `Command { std: "docker" "inspect" "45f5a6ba0829076d639b756b811d4abe8935b1578b5a104c66ad3c7ca2a0a5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f5a6ba0829076d639b756b811d4abe8935b1578b5a104c66ad3c7ca2a0a5f4", kill_on_drop: false }` [INFO] [stdout] 45f5a6ba0829076d639b756b811d4abe8935b1578b5a104c66ad3c7ca2a0a5f4