[INFO] cloning repository https://github.com/EricLemieux/Rust-Web-Server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EricLemieux/Rust-Web-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68aeb415c057a4b2b7f97dd10eeef90d71f84c3c [INFO] testing EricLemieux/Rust-Web-Server against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EricLemieux/Rust-Web-Server on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EricLemieux/Rust-Web-Server [INFO] finished tweaking git repo https://github.com/EricLemieux/Rust-Web-Server [INFO] tweaked toml for git repo https://github.com/EricLemieux/Rust-Web-Server written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/EricLemieux/Rust-Web-Server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 387d4cc43e83143f6d742141a0507995bda77b9477dd9d1324996055560175c6 [INFO] running `Command { std: "docker" "start" "-a" "387d4cc43e83143f6d742141a0507995bda77b9477dd9d1324996055560175c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "387d4cc43e83143f6d742141a0507995bda77b9477dd9d1324996055560175c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "387d4cc43e83143f6d742141a0507995bda77b9477dd9d1324996055560175c6", kill_on_drop: false }` [INFO] [stdout] 387d4cc43e83143f6d742141a0507995bda77b9477dd9d1324996055560175c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9545c1289b1d17055156f8156a16039dbd040bf69989e8f49b92d1d1ea047eba [INFO] running `Command { std: "docker" "start" "-a" "9545c1289b1d17055156f8156a16039dbd040bf69989e8f49b92d1d1ea047eba", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling rust-web-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headers` [INFO] [stdout] --> src/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: `headers` [INFO] [stdout] --> src/http.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headers` [INFO] [stdout] --> src/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: `headers` [INFO] [stdout] --> src/http.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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: `new` [INFO] [stdout] --> src/http.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/http.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn status(&mut self, status: HttpStatus) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `body` [INFO] [stdout] --> src/http.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn body(&mut self, body: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `OK` [INFO] [stdout] --> src/http/http_status.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / pub const OK: HttpStatus = HttpStatus { [INFO] [stdout] 17 | | code: 200, [INFO] [stdout] 18 | | reason_phrase: "OK", [INFO] [stdout] 19 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `CREATED` [INFO] [stdout] --> src/http/http_status.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / pub const CREATED: HttpStatus = HttpStatus { [INFO] [stdout] 21 | | code: 201, [INFO] [stdout] 22 | | reason_phrase: "Created", [INFO] [stdout] 23 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ACCEPTED` [INFO] [stdout] --> src/http/http_status.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / pub const ACCEPTED: HttpStatus = HttpStatus { [INFO] [stdout] 25 | | code: 202, [INFO] [stdout] 26 | | reason_phrase: "Accepted", [INFO] [stdout] 27 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `BAD_REQUEST` [INFO] [stdout] --> src/http/http_status.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / pub const BAD_REQUEST: HttpStatus = HttpStatus { [INFO] [stdout] 33 | | code: 400, [INFO] [stdout] 34 | | reason_phrase: "Bad Request", [INFO] [stdout] 35 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `AVAILABLE` [INFO] [stdout] --> src/http/http_status.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / const AVAILABLE: [&'static HttpStatus; 4] = [ [INFO] [stdout] 41 | | &HttpStatus::OK, [INFO] [stdout] 42 | | &HttpStatus::CREATED, [INFO] [stdout] 43 | | &HttpStatus::ACCEPTED, [INFO] [stdout] 44 | | &HttpStatus::BAD_REQUEST, [INFO] [stdout] 45 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/http/http_status.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn from(code: u16) -> Result<&'static Self, String> { [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 11.24s [INFO] running `Command { std: "docker" "inspect" "9545c1289b1d17055156f8156a16039dbd040bf69989e8f49b92d1d1ea047eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9545c1289b1d17055156f8156a16039dbd040bf69989e8f49b92d1d1ea047eba", kill_on_drop: false }` [INFO] [stdout] 9545c1289b1d17055156f8156a16039dbd040bf69989e8f49b92d1d1ea047eba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f19840217999f27e5eb4226216c1614596035909d89795877423a78901144acd [INFO] running `Command { std: "docker" "start" "-a" "f19840217999f27e5eb4226216c1614596035909d89795877423a78901144acd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-web-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headers` [INFO] [stdout] --> src/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: `headers` [INFO] [stdout] --> src/http.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headers` [INFO] [stdout] --> src/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: `headers` [INFO] [stdout] --> src/http.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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: `headers` [INFO] [stdout] --> src/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: `headers` [INFO] [stdout] --> src/http.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[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: `new` [INFO] [stdout] --> src/http.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/http.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn status(&mut self, status: HttpStatus) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `body` [INFO] [stdout] --> src/http.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn body(&mut self, body: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_web_server-0417668cf5209a94) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_web_server-6a7c794d690fb98b) [INFO] running `Command { std: "docker" "inspect" "f19840217999f27e5eb4226216c1614596035909d89795877423a78901144acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19840217999f27e5eb4226216c1614596035909d89795877423a78901144acd", kill_on_drop: false }` [INFO] [stdout] f19840217999f27e5eb4226216c1614596035909d89795877423a78901144acd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57082d773cb545629386bfeedfbe6ed5971ce1853bbc4389fbd3c31daf606951 [INFO] running `Command { std: "docker" "start" "-a" "57082d773cb545629386bfeedfbe6ed5971ce1853bbc4389fbd3c31daf606951", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/http.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `headers` [INFO] [stderr] --> src/http.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | headers: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[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: `headers` [INFO] [stderr] --> src/http.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | headers: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | #[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: `rust-web-server` (lib) generated 3 warnings [INFO] [stderr] warning: `rust-web-server` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/http.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `status` [INFO] [stderr] --> src/http.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn status(&mut self, status: HttpStatus) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `body` [INFO] [stderr] --> src/http.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn body(&mut self, body: String) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-web-server` (bin "rust-web-server" test) generated 6 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_web_server-0417668cf5209a94) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test http::http_status::tests::status_from_code ... ok [INFO] [stdout] test http::http_status::tests::status_from_code_that_does_not_exist ... ok [INFO] [stdout] test http::http_status::tests::status_to_string ... ok [INFO] [stdout] test http::tests::request_to_string ... ok [INFO] [stdout] test http::tests::response_to_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_web_server-6a7c794d690fb98b) [INFO] [stdout] [INFO] [stderr] Doc-tests rust-web-server [INFO] [stdout] running 5 tests [INFO] [stdout] test http::http_status::tests::status_from_code ... ok [INFO] [stdout] test http::http_status::tests::status_from_code_that_does_not_exist ... ok [INFO] [stdout] test http::http_status::tests::status_to_string ... ok [INFO] [stdout] test http::tests::request_to_string ... ok [INFO] [stdout] test http::tests::response_to_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "57082d773cb545629386bfeedfbe6ed5971ce1853bbc4389fbd3c31daf606951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57082d773cb545629386bfeedfbe6ed5971ce1853bbc4389fbd3c31daf606951", kill_on_drop: false }` [INFO] [stdout] 57082d773cb545629386bfeedfbe6ed5971ce1853bbc4389fbd3c31daf606951