[INFO] cloning repository https://github.com/sh0derun/bloginrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sh0derun/bloginrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh0derun%2Fbloginrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh0derun%2Fbloginrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 318b6786e85808bf5bce9e095f628ea17753b3e1 [INFO] checking sh0derun/bloginrust against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsh0derun%2Fbloginrust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sh0derun/bloginrust [INFO] finished tweaking git repo https://github.com/sh0derun/bloginrust [INFO] tweaked toml for git repo https://github.com/sh0derun/bloginrust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sh0derun/bloginrust on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sh0derun/bloginrust 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af2eae8c23de4db995fc3e9fee9178d8e9e090265961d10250558157272d4e75 [INFO] running `Command { std: "docker" "start" "-a" "af2eae8c23de4db995fc3e9fee9178d8e9e090265961d10250558157272d4e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2eae8c23de4db995fc3e9fee9178d8e9e090265961d10250558157272d4e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2eae8c23de4db995fc3e9fee9178d8e9e090265961d10250558157272d4e75", kill_on_drop: false }` [INFO] [stdout] af2eae8c23de4db995fc3e9fee9178d8e9e090265961d10250558157272d4e75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0005d1d70efef1bf519fe8e925511acc2f49f9c70dcef88186bebee2753b2bca [INFO] running `Command { std: "docker" "start" "-a" "0005d1d70efef1bf519fe8e925511acc2f49f9c70dcef88186bebee2753b2bca", kill_on_drop: false }` [INFO] [stderr] Checking bloginrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MBYTE` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MBYTE: u32 = KBYTE as u32*1000; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `NOT_FOUND`, `NOT_ALLOWED`, and `INTERNAL_SERVER_ERROR` are never used [INFO] [stdout] --> src/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 22 | impl Status{ [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 23 | const OK: (u16, &'static str) = (200, "OK"); [INFO] [stdout] 24 | const NOT_FOUND: (u16, &'static str) = (404, "Not Found"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | const NOT_ALLOWED: (u16, &'static str) = (405, "Method Not Allowed"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | const INTERNAL_SERVER_ERROR: (u16, &'static str) = (500, "Internal Server Error"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `JPEG`, `PNG`, and `json` are never used [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 31 | impl ContentType{ [INFO] [stdout] | ---------------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | const JPEG: &'static str = "image/jpeg"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | const PNG: &'static str = "image/png"; [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | const json: &'static str = "application/json"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MBYTE` is never used [INFO] [stdout] --> src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MBYTE: u32 = KBYTE as u32*1000; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `http_version` are never read [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 41 | method: String, [INFO] [stdout] 42 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | http_version: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` 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 `new` is never used [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Request { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 47 | fn new() -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl Response{ [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 98 | fn new() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `json` should have an upper case name [INFO] [stdout] --> src/main.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | const json: &'static str = "application/json"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `JSON` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `NOT_FOUND`, `NOT_ALLOWED`, and `INTERNAL_SERVER_ERROR` are never used [INFO] [stdout] --> src/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 22 | impl Status{ [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 23 | const OK: (u16, &'static str) = (200, "OK"); [INFO] [stdout] 24 | const NOT_FOUND: (u16, &'static str) = (404, "Not Found"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | const NOT_ALLOWED: (u16, &'static str) = (405, "Method Not Allowed"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | const INTERNAL_SERVER_ERROR: (u16, &'static str) = (500, "Internal Server Error"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `JPEG`, `PNG`, and `json` are never used [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 31 | impl ContentType{ [INFO] [stdout] | ---------------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | const JPEG: &'static str = "image/jpeg"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | const PNG: &'static str = "image/png"; [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | const json: &'static str = "application/json"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `http_version` are never read [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 41 | method: String, [INFO] [stdout] 42 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | http_version: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` 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 `new` is never used [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Request { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 47 | fn new() -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl Response{ [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 98 | fn new() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `json` should have an upper case name [INFO] [stdout] --> src/main.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | const json: &'static str = "application/json"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `JSON` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "0005d1d70efef1bf519fe8e925511acc2f49f9c70dcef88186bebee2753b2bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0005d1d70efef1bf519fe8e925511acc2f49f9c70dcef88186bebee2753b2bca", kill_on_drop: false }` [INFO] [stdout] 0005d1d70efef1bf519fe8e925511acc2f49f9c70dcef88186bebee2753b2bca