[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] checking EricLemieux/Rust-Web-Server against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EricLemieux/Rust-Web-Server on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f357d2f478f0b51d2c24ab2a831462c6ab63572ec4b87ac30f0bf7bae1c0ee6a [INFO] running `Command { std: "docker" "start" "-a" "f357d2f478f0b51d2c24ab2a831462c6ab63572ec4b87ac30f0bf7bae1c0ee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f357d2f478f0b51d2c24ab2a831462c6ab63572ec4b87ac30f0bf7bae1c0ee6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f357d2f478f0b51d2c24ab2a831462c6ab63572ec4b87ac30f0bf7bae1c0ee6a", kill_on_drop: false }` [INFO] [stdout] f357d2f478f0b51d2c24ab2a831462c6ab63572ec4b87ac30f0bf7bae1c0ee6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b419d7a9e563512ca611c8c8fceaefa6baaa0f188ceee6541aca74620d8a995 [INFO] running `Command { std: "docker" "start" "-a" "9b419d7a9e563512ca611c8c8fceaefa6baaa0f188ceee6541aca74620d8a995", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking 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: 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 `headers` is never read [INFO] [stdout] --> src/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct HttpResponse { [INFO] [stdout] | ------------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct HttpResponse { [INFO] [stdout] | ------------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/http/http_status.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | return Result::Ok(i.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `HttpStatus` does not implement `Borrow`, so calling `borrow` on `&HttpStatus` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/http/http_status.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | return Result::Ok(i.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `http_status::HttpStatus` does not implement `Borrow`, so calling `borrow` on `&http_status::HttpStatus` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-web-server` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-web-server` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b419d7a9e563512ca611c8c8fceaefa6baaa0f188ceee6541aca74620d8a995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b419d7a9e563512ca611c8c8fceaefa6baaa0f188ceee6541aca74620d8a995", kill_on_drop: false }` [INFO] [stdout] 9b419d7a9e563512ca611c8c8fceaefa6baaa0f188ceee6541aca74620d8a995