[INFO] cloning repository https://github.com/Az107/hteacup
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Az107/hteacup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAz107%2Fhteacup", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAz107%2Fhteacup'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c24450379c696fdababe1eba8ff0af4dffaa84e7
[INFO] checking Az107/hteacup against master#a26e97be8826d408309fffbd8168362365719f50 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAz107%2Fhteacup" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Az107/hteacup on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Az107/hteacup
[INFO] finished tweaking git repo https://github.com/Az107/hteacup
[INFO] tweaked toml for git repo https://github.com/Az107/hteacup written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Az107/hteacup 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" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 556bce27d9c06bcca897234e62d726618544181d18186db086eb57ec4e16a2fd
[INFO] running `Command { std: "docker" "start" "-a" "556bce27d9c06bcca897234e62d726618544181d18186db086eb57ec4e16a2fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "556bce27d9c06bcca897234e62d726618544181d18186db086eb57ec4e16a2fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "556bce27d9c06bcca897234e62d726618544181d18186db086eb57ec4e16a2fd", kill_on_drop: false }`
[INFO] [stdout] 556bce27d9c06bcca897234e62d726618544181d18186db086eb57ec4e16a2fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b168c0b4d418154abde161ce41ea71121ee9d0c09124fb8f3e7d8c777caa01e1
[INFO] running `Command { std: "docker" "start" "-a" "b168c0b4d418154abde161ce41ea71121ee9d0c09124fb8f3e7d8c777caa01e1", kill_on_drop: false }`
[INFO] [stderr]     Checking hteacup v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `VERSION` is never used
[INFO] [stdout]   --> src/hteacup/mod.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const VERSION: &str = env!("CARGO_PKG_VERSION");
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `arg`, `header`, `body`, `to_string`, and `brew` are never used
[INFO] [stdout]   --> src/hteacup/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl HttpRequest {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(method: HttpMethod, path: &str) -> HttpRequest {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn arg(&mut self, key: &str, value: &str) -> &mut HttpRequest {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn header(&mut self, key: &str, value: &str) -> &mut HttpRequest {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn body(&mut self, body: String) -> &mut HttpRequest {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn brew(self) -> Result<HttpResponse, &'static str> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `brew` is never used
[INFO] [stdout]   --> src/hteacup/mod.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn brew(request: HttpRequest) -> Result<HttpResponse, &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/hteacup/methods.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub enum HttpMethod {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 3  |     GET,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 4  |     POST,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 5  |     PUT,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 6  |     DELETE,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 7  |     PATCH,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 8  |     HEAD,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 9  |     OPTIONS,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     TRACE,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     CONNECT,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     Other(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_str` and `to_str` are never used
[INFO] [stdout]   --> src/hteacup/methods.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl HttpMethod {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn from_str(method: &str) -> HttpMethod {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn to_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/hteacup/request.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpResponse` is never constructed
[INFO] [stdout]  --> src/hteacup/response.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct HttpResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `new_raw`, `is_raw`, `psrse_raw`, and `to_bytes` are never used
[INFO] [stdout]   --> src/hteacup/response.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl HttpResponse {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new<B: AsRef<[u8]>>(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn new_raw(raw: Vec<u8>) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn is_raw(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn psrse_raw(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpStatus` is never used
[INFO] [stdout]  --> src/hteacup/status.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum HttpStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HttpStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_u16` and `to_string` are never used
[INFO] [stdout]   --> src/hteacup/status.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl HttpStatus {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn from_u16(status: u16) -> HttpStatus {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn to_string(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERSION` is never used
[INFO] [stdout]   --> src/hteacup/mod.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const VERSION: &str = env!("CARGO_PKG_VERSION");
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `brew` is never used
[INFO] [stdout]   --> src/hteacup/mod.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl HttpRequest {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn brew(self) -> Result<HttpResponse, &'static str> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `brew` is never used
[INFO] [stdout]   --> src/hteacup/mod.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn brew(request: HttpRequest) -> Result<HttpResponse, &'static str> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/hteacup/methods.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub enum HttpMethod {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 5  |     PUT,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 6  |     DELETE,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 7  |     PATCH,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 8  |     HEAD,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 9  |     OPTIONS,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     TRACE,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     CONNECT,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     Other(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/hteacup/methods.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl HttpMethod {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn from_str(method: &str) -> HttpMethod {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpResponse` is never constructed
[INFO] [stdout]  --> src/hteacup/response.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct HttpResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `new_raw`, `is_raw`, `psrse_raw`, and `to_bytes` are never used
[INFO] [stdout]   --> src/hteacup/response.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl HttpResponse {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new<B: AsRef<[u8]>>(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn new_raw(raw: Vec<u8>) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn is_raw(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn psrse_raw(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpStatus` is never used
[INFO] [stdout]  --> src/hteacup/status.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum HttpStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HttpStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_u16` and `to_string` are never used
[INFO] [stdout]   --> src/hteacup/status.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl HttpStatus {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn from_u16(status: u16) -> HttpStatus {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn to_string(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "b168c0b4d418154abde161ce41ea71121ee9d0c09124fb8f3e7d8c777caa01e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b168c0b4d418154abde161ce41ea71121ee9d0c09124fb8f3e7d8c777caa01e1", kill_on_drop: false }`
[INFO] [stdout] b168c0b4d418154abde161ce41ea71121ee9d0c09124fb8f3e7d8c777caa01e1
