[INFO] cloning repository https://github.com/shqld/rust-http-etude
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shqld/rust-http-etude" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshqld%2Frust-http-etude", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshqld%2Frust-http-etude'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b634f402f253dad9bd2b6772b906a891a863684c
[INFO] testing shqld/rust-http-etude against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshqld%2Frust-http-etude" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shqld/rust-http-etude on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shqld/rust-http-etude
[INFO] finished tweaking git repo https://github.com/shqld/rust-http-etude
[INFO] tweaked toml for git repo https://github.com/shqld/rust-http-etude written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/shqld/rust-http-etude already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0acf64a37e121cdfc770c311bf0ec2f60957d5f2a272cb9784d7df1d60712c12
[INFO] running `Command { std: "docker" "start" "-a" "0acf64a37e121cdfc770c311bf0ec2f60957d5f2a272cb9784d7df1d60712c12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0acf64a37e121cdfc770c311bf0ec2f60957d5f2a272cb9784d7df1d60712c12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0acf64a37e121cdfc770c311bf0ec2f60957d5f2a272cb9784d7df1d60712c12", kill_on_drop: false }`
[INFO] [stdout] 0acf64a37e121cdfc770c311bf0ec2f60957d5f2a272cb9784d7df1d60712c12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9fd79c85c3598998791dd74596fd2ff0de04e1a9a928acd72a033e2638f8493c
[INFO] running `Command { std: "docker" "start" "-a" "9fd79c85c3598998791dd74596fd2ff0de04e1a9a928acd72a033e2638f8493c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.51
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling futures v0.1.26
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling tokio-trace-core v0.1.0
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.3
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.1
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling tokio-executor v0.1.7
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling tokio-sync v0.1.4
[INFO] [stderr]    Compiling tokio-timer v0.2.10
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling tokio-threadpool v0.1.13
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[INFO] [stderr]    Compiling tokio-fs v0.1.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-udp v0.1.3
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio v0.1.18
[INFO] [stderr]    Compiling rust-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Read`, `Take`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read, Take};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `HttpRequest`
[INFO] [stdout]  --> src/http/req.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct HttpRequest<'a, T> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/http/req.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |   pub fn new(uri: &'a str, method: HttpMethod, headers: HttpHeaderMap, body: T) -> HttpRequest<T> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `uri`
[INFO] [stdout]   --> src/http/req.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |   pub fn uri(&self) -> &str {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `method`
[INFO] [stdout]   --> src/http/req.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub fn method(&self) -> &HttpMethod {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `headers`
[INFO] [stdout]   --> src/http/req.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub fn headers(&self) -> &HttpHeaderMap {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `body`
[INFO] [stdout]   --> src/http/req.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |   pub fn body(&self) -> &T {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `body_mut`
[INFO] [stdout]   --> src/http/req.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |   pub fn body_mut(&mut self) -> &mut T {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `into_body`
[INFO] [stdout]   --> src/http/req.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub fn into_body(self) -> T {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `inner`
[INFO] [stdout]   --> src/message.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   inner: &'a TcpStream,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `IncomingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/message.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `path`
[INFO] [stdout]   --> src/message.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   path: String,
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `IncomingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/message.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `body`
[INFO] [stdout]   --> src/message.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |   pub fn body(&self) -> &Option<Take<BufReader<&'a TcpStream>>> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.66s
[INFO] running `Command { std: "docker" "inspect" "9fd79c85c3598998791dd74596fd2ff0de04e1a9a928acd72a033e2638f8493c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fd79c85c3598998791dd74596fd2ff0de04e1a9a928acd72a033e2638f8493c", kill_on_drop: false }`
[INFO] [stdout] 9fd79c85c3598998791dd74596fd2ff0de04e1a9a928acd72a033e2638f8493c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c6827e9548e13551f7d9da693caa0ae73eebda40490e3289b1e315c05b403a9
[INFO] running `Command { std: "docker" "start" "-a" "7c6827e9548e13551f7d9da693caa0ae73eebda40490e3289b1e315c05b403a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Read`, `Take`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read, Take};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `HttpRequest`
[INFO] [stdout]  --> src/http/req.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct HttpRequest<'a, T> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/http/req.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |   pub fn new(uri: &'a str, method: HttpMethod, headers: HttpHeaderMap, body: T) -> HttpRequest<T> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `uri`
[INFO] [stdout]   --> src/http/req.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |   pub fn uri(&self) -> &str {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `method`
[INFO] [stdout]   --> src/http/req.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub fn method(&self) -> &HttpMethod {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `headers`
[INFO] [stdout]   --> src/http/req.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub fn headers(&self) -> &HttpHeaderMap {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `body`
[INFO] [stdout]   --> src/http/req.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 |   pub fn body(&self) -> &T {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `body_mut`
[INFO] [stdout]   --> src/http/req.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |   pub fn body_mut(&mut self) -> &mut T {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `into_body`
[INFO] [stdout]   --> src/http/req.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |   pub fn into_body(self) -> T {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `inner`
[INFO] [stdout]   --> src/message.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   inner: &'a TcpStream,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `IncomingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/message.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `path`
[INFO] [stdout]   --> src/message.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   path: String,
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `IncomingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/message.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `body`
[INFO] [stdout]   --> src/message.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |   pub fn body(&self) -> &Option<Take<BufReader<&'a TcpStream>>> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.66s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_server-aa75b2af07854288)
[INFO] running `Command { std: "docker" "inspect" "7c6827e9548e13551f7d9da693caa0ae73eebda40490e3289b1e315c05b403a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c6827e9548e13551f7d9da693caa0ae73eebda40490e3289b1e315c05b403a9", kill_on_drop: false }`
[INFO] [stdout] 7c6827e9548e13551f7d9da693caa0ae73eebda40490e3289b1e315c05b403a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ec89b22d95d82f955d3089f70cf9ef20920a074a33c095385014d2c4b6991f4d
[INFO] running `Command { std: "docker" "start" "-a" "ec89b22d95d82f955d3089f70cf9ef20920a074a33c095385014d2c4b6991f4d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: unused imports: `BufRead`, `BufReader`, `Read`, `Take`
[INFO] [stderr]  --> src/main.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::{BufRead, BufReader, Read, Take};
[INFO] [stderr]   |               ^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `HttpRequest`
[INFO] [stderr]  --> src/http/req.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct HttpRequest<'a, T> {
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]   --> src/http/req.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 |   pub fn new(uri: &'a str, method: HttpMethod, headers: HttpHeaderMap, body: T) -> HttpRequest<T> {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `uri`
[INFO] [stderr]   --> src/http/req.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 |   pub fn uri(&self) -> &str {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `method`
[INFO] [stderr]   --> src/http/req.rs:26:10
[INFO] [stderr]    |
[INFO] [stderr] 26 |   pub fn method(&self) -> &HttpMethod {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `headers`
[INFO] [stderr]   --> src/http/req.rs:31:10
[INFO] [stderr]    |
[INFO] [stderr] 31 |   pub fn headers(&self) -> &HttpHeaderMap {
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `body`
[INFO] [stderr]   --> src/http/req.rs:36:10
[INFO] [stderr]    |
[INFO] [stderr] 36 |   pub fn body(&self) -> &T {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `body_mut`
[INFO] [stderr]   --> src/http/req.rs:41:10
[INFO] [stderr]    |
[INFO] [stderr] 41 |   pub fn body_mut(&mut self) -> &mut T {
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `into_body`
[INFO] [stderr]   --> src/http/req.rs:46:10
[INFO] [stderr]    |
[INFO] [stderr] 46 |   pub fn into_body(self) -> T {
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `inner`
[INFO] [stderr]   --> src/message.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 |   inner: &'a TcpStream,
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `IncomingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/message.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr] 9  | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `path`
[INFO] [stderr]   --> src/message.rs:13:3
[INFO] [stderr]    |
[INFO] [stderr] 13 |   path: String,
[INFO] [stderr]    |   ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `IncomingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/message.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr] 9  | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `body`
[INFO] [stderr]   --> src/message.rs:79:10
[INFO] [stderr]    |
[INFO] [stderr] 79 |   pub fn body(&self) -> &Option<Take<BufReader<&'a TcpStream>>> {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-server` (bin "rust-server" test) generated 12 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_server-aa75b2af07854288)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ec89b22d95d82f955d3089f70cf9ef20920a074a33c095385014d2c4b6991f4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec89b22d95d82f955d3089f70cf9ef20920a074a33c095385014d2c4b6991f4d", kill_on_drop: false }`
[INFO] [stdout] ec89b22d95d82f955d3089f70cf9ef20920a074a33c095385014d2c4b6991f4d
