[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzune%2Fhttp" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Szune/http on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-13/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 678d2297c508cbd1682e68d9bda9d3d1b6de5d849a80ddf48a83b08b284dea6c [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" "678d2297c508cbd1682e68d9bda9d3d1b6de5d849a80ddf48a83b08b284dea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "678d2297c508cbd1682e68d9bda9d3d1b6de5d849a80ddf48a83b08b284dea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678d2297c508cbd1682e68d9bda9d3d1b6de5d849a80ddf48a83b08b284dea6c", kill_on_drop: false }` [INFO] [stdout] 678d2297c508cbd1682e68d9bda9d3d1b6de5d849a80ddf48a83b08b284dea6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c6e24f45211492245b3eb5ed17cc0295fcf9183805d92540c511c76ce6050f3 [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" "0c6e24f45211492245b3eb5ed17cc0295fcf9183805d92540c511c76ce6050f3", kill_on_drop: false }` [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: `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: `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: `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: `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: `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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking servercli v0.1.0 (/opt/rustwide/workdir/servercli) [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: 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] Finished dev [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "0c6e24f45211492245b3eb5ed17cc0295fcf9183805d92540c511c76ce6050f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c6e24f45211492245b3eb5ed17cc0295fcf9183805d92540c511c76ce6050f3", kill_on_drop: false }` [INFO] [stdout] 0c6e24f45211492245b3eb5ed17cc0295fcf9183805d92540c511c76ce6050f3