[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EricLemieux/Rust-Web-Server on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-117/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-02-22" "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-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af40db24c217dd263d43bdf6defdaa6fd37a828fb0b0e7410902a5635542d816 [INFO] running `Command { std: "docker" "start" "-a" "af40db24c217dd263d43bdf6defdaa6fd37a828fb0b0e7410902a5635542d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af40db24c217dd263d43bdf6defdaa6fd37a828fb0b0e7410902a5635542d816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af40db24c217dd263d43bdf6defdaa6fd37a828fb0b0e7410902a5635542d816", kill_on_drop: false }` [INFO] [stdout] af40db24c217dd263d43bdf6defdaa6fd37a828fb0b0e7410902a5635542d816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cceb3f637965b9066c28456bafe8e4c9b45b33c1b5ec7de495985350ba5632c3 [INFO] running `Command { std: "docker" "start" "-a" "cceb3f637965b9066c28456bafe8e4c9b45b33c1b5ec7de495985350ba5632c3", 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 heck v0.3.3 [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 9.40s [INFO] running `Command { std: "docker" "inspect" "cceb3f637965b9066c28456bafe8e4c9b45b33c1b5ec7de495985350ba5632c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cceb3f637965b9066c28456bafe8e4c9b45b33c1b5ec7de495985350ba5632c3", kill_on_drop: false }` [INFO] [stdout] cceb3f637965b9066c28456bafe8e4c9b45b33c1b5ec7de495985350ba5632c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d78952548e2685227771faa9d33ff5b0dcb67e9ec0137867cbd8ac9ef9cbd986 [INFO] running `Command { std: "docker" "start" "-a" "d78952548e2685227771faa9d33ff5b0dcb67e9ec0137867cbd8ac9ef9cbd986", 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: 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: 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: 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 1.59s [INFO] running `Command { std: "docker" "inspect" "d78952548e2685227771faa9d33ff5b0dcb67e9ec0137867cbd8ac9ef9cbd986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78952548e2685227771faa9d33ff5b0dcb67e9ec0137867cbd8ac9ef9cbd986", kill_on_drop: false }` [INFO] [stdout] d78952548e2685227771faa9d33ff5b0dcb67e9ec0137867cbd8ac9ef9cbd986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8d3bf9727e689754d8badf1aba81373a55c37a7aadae7aded27e9ee8dcb7f72 [INFO] running `Command { std: "docker" "start" "-a" "b8d3bf9727e689754d8badf1aba81373a55c37a7aadae7aded27e9ee8dcb7f72", 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.06s [INFO] [stderr] Running unittests (/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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_web_server-6a7c794d690fb98b) [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 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::tests::request_to_string ... ok [INFO] [stdout] test http::http_status::tests::status_to_string ... ok [INFO] [stderr] Doc-tests rust-web-server [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.01s [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" "b8d3bf9727e689754d8badf1aba81373a55c37a7aadae7aded27e9ee8dcb7f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d3bf9727e689754d8badf1aba81373a55c37a7aadae7aded27e9ee8dcb7f72", kill_on_drop: false }` [INFO] [stdout] b8d3bf9727e689754d8badf1aba81373a55c37a7aadae7aded27e9ee8dcb7f72