[INFO] cloning repository https://github.com/edwardoit/RustBoot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edwardoit/RustBoot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardoit%2FRustBoot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardoit%2FRustBoot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cd014c93bcb516f7cdb37e9edffcefda93b36fb [INFO] checking edwardoit/RustBoot against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardoit%2FRustBoot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/edwardoit/RustBoot [INFO] finished tweaking git repo https://github.com/edwardoit/RustBoot [INFO] tweaked toml for git repo https://github.com/edwardoit/RustBoot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/edwardoit/RustBoot on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/edwardoit/RustBoot 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5510acf5056f4ece3dee7a1ed7cfd6d9582c7fa696ab53275876e99d8dd75cf8 [INFO] running `Command { std: "docker" "start" "-a" "5510acf5056f4ece3dee7a1ed7cfd6d9582c7fa696ab53275876e99d8dd75cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5510acf5056f4ece3dee7a1ed7cfd6d9582c7fa696ab53275876e99d8dd75cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5510acf5056f4ece3dee7a1ed7cfd6d9582c7fa696ab53275876e99d8dd75cf8", kill_on_drop: false }` [INFO] [stdout] 5510acf5056f4ece3dee7a1ed7cfd6d9582c7fa696ab53275876e99d8dd75cf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1a2c3172d241e6b13bc5b0bada281109e709d5ab98494d11f51a63c098586ad [INFO] running `Command { std: "docker" "start" "-a" "e1a2c3172d241e6b13bc5b0bada281109e709d5ab98494d11f51a63c098586ad", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking RustBoot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `HttpMethod` is never used [INFO] [stdout] --> src/utils/http.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum HttpMethod { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HTTP10` and `HTTP11` are never constructed [INFO] [stdout] --> src/utils/http.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum HttpVersion { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 18 | HTTP10, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | HTTP11, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpVersion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_header` is never used [INFO] [stdout] --> src/utils/http.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl HttpHeaders { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_header(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text`, `Binary`, and `Empty` are never constructed [INFO] [stdout] --> src/utils/http.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum HttpBody { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 51 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | Json(String), [INFO] [stdout] 53 | Binary(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | Empty, // GET req [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpBody` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/utils/http.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/http.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl HttpRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 68 | pub fn new(method: HttpMethod, uri: &str, version: HttpVersion, headers: HttpHeaders, body: HttpBody) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpMethod` is never used [INFO] [stdout] --> src/utils/http.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum HttpMethod { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HTTP10` and `HTTP11` are never constructed [INFO] [stdout] --> src/utils/http.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum HttpVersion { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 18 | HTTP10, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | HTTP11, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpVersion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_header` is never used [INFO] [stdout] --> src/utils/http.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl HttpHeaders { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_header(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text`, `Binary`, and `Empty` are never constructed [INFO] [stdout] --> src/utils/http.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum HttpBody { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 51 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | Json(String), [INFO] [stdout] 53 | Binary(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | Empty, // GET req [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpBody` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/utils/http.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/http.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl HttpRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 68 | pub fn new(method: HttpMethod, uri: &str, version: HttpVersion, headers: HttpHeaders, body: HttpBody) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.52s [INFO] running `Command { std: "docker" "inspect" "e1a2c3172d241e6b13bc5b0bada281109e709d5ab98494d11f51a63c098586ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a2c3172d241e6b13bc5b0bada281109e709d5ab98494d11f51a63c098586ad", kill_on_drop: false }` [INFO] [stdout] e1a2c3172d241e6b13bc5b0bada281109e709d5ab98494d11f51a63c098586ad