[INFO] cloning repository https://github.com/0x5A4159/Zimple-Server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x5A4159/Zimple-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x5A4159%2FZimple-Server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x5A4159%2FZimple-Server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] debcbeb78e375e36580e22c93d7bd1017a83e536
[INFO] checking 0x5A4159/Zimple-Server against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x5A4159%2FZimple-Server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0x5A4159/Zimple-Server
[INFO] finished tweaking git repo https://github.com/0x5A4159/Zimple-Server
[INFO] tweaked toml for git repo https://github.com/0x5A4159/Zimple-Server written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0x5A4159/Zimple-Server on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0x5A4159/Zimple-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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.58
[INFO] [stderr]   Downloaded quote v1.0.27
[INFO] [stderr]   Downloaded serde_derive v1.0.163
[INFO] [stderr]   Downloaded serde v1.0.163
[INFO] [stderr]   Downloaded serde_json v1.0.96
[INFO] [stderr]   Downloaded syn v2.0.16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8e06f8928ef30b0a777dcf0b9f730e19349a3d9c91de8ae9df0552a2114fd73
[INFO] running `Command { std: "docker" "start" "-a" "a8e06f8928ef30b0a777dcf0b9f730e19349a3d9c91de8ae9df0552a2114fd73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8e06f8928ef30b0a777dcf0b9f730e19349a3d9c91de8ae9df0552a2114fd73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8e06f8928ef30b0a777dcf0b9f730e19349a3d9c91de8ae9df0552a2114fd73", kill_on_drop: false }`
[INFO] [stdout] a8e06f8928ef30b0a777dcf0b9f730e19349a3d9c91de8ae9df0552a2114fd73
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60549fe700f00fdabe3801f7be83b47eca6a41705c594581773cf82bb2ba2478
[INFO] running `Command { std: "docker" "start" "-a" "60549fe700f00fdabe3801f7be83b47eca6a41705c594581773cf82bb2ba2478", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.58
[INFO] [stderr]    Compiling quote v1.0.27
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling serde v1.0.163
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]    Compiling syn v2.0.16
[INFO] [stderr]    Compiling serde_derive v1.0.163
[INFO] [stderr]     Checking rustserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/net_server/page_counter.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/net_server/page_counter.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize,Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Result`
[INFO] [stdout]  --> src/net_server/page_counter.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/net_server/page_counter.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/net_server/page_counter.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize,Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Result`
[INFO] [stdout]  --> src/net_server/page_counter.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]  --> src/net_server/page_counter.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn incr_count(url: &String) {
[INFO] [stdout]   |                   ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]  --> src/net_server/page_counter.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn incr_count(url: &String) {
[INFO] [stdout]   |                   ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net_server.rs:182:21
[INFO] [stdout]     |
[INFO] [stdout] 182 | ...   let mut final_response = "".to_string(); // this can be dictated by accept type and data fed to it, be it json or txt or what...
[INFO] [stdout]     |           ----^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accept_type`
[INFO] [stdout]    --> src/net_server.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let accept_type = simple_find(&resource,"accept:"); // can do simple matching based on something like
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body_content`
[INFO] [stdout]    --> src/net_server.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 let body_content = match body_content.get(1){
[INFO] [stdout]     |                     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/net_server.rs:164:21
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 let context = match content_type.replace("\n","").as_str() {
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MovedPermanently`, `Unauthorized`, and `Forbidden` are never constructed
[INFO] [stdout]    --> src/net_server.rs:225:5
[INFO] [stdout]     |
[INFO] [stdout] 223 | enum ResCode {
[INFO] [stdout]     |      ------- variants in this enum
[INFO] [stdout] 224 |     Ok,
[INFO] [stdout] 225 |     MovedPermanently,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 226 |     Unauthorized,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 227 |     Forbidden,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ResCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STAT_PATH` is never used
[INFO] [stdout]  --> src/net_server/page_counter.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const STAT_PATH: &str = "./server/stats.json";
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net_server.rs:182:21
[INFO] [stdout]     |
[INFO] [stdout] 182 | ...   let mut final_response = "".to_string(); // this can be dictated by accept type and data fed to it, be it json or txt or what...
[INFO] [stdout]     |           ----^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accept_type`
[INFO] [stdout]    --> src/net_server.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let accept_type = simple_find(&resource,"accept:"); // can do simple matching based on something like
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body_content`
[INFO] [stdout]    --> src/net_server.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 let body_content = match body_content.get(1){
[INFO] [stdout]     |                     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/net_server.rs:164:21
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 let context = match content_type.replace("\n","").as_str() {
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MovedPermanently`, `Unauthorized`, and `Forbidden` are never constructed
[INFO] [stdout]    --> src/net_server.rs:225:5
[INFO] [stdout]     |
[INFO] [stdout] 223 | enum ResCode {
[INFO] [stdout]     |      ------- variants in this enum
[INFO] [stdout] 224 |     Ok,
[INFO] [stdout] 225 |     MovedPermanently,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 226 |     Unauthorized,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 227 |     Forbidden,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ResCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STAT_PATH` is never used
[INFO] [stdout]  --> src/net_server/page_counter.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const STAT_PATH: &str = "./server/stats.json";
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.99s
[INFO] running `Command { std: "docker" "inspect" "60549fe700f00fdabe3801f7be83b47eca6a41705c594581773cf82bb2ba2478", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60549fe700f00fdabe3801f7be83b47eca6a41705c594581773cf82bb2ba2478", kill_on_drop: false }`
[INFO] [stdout] 60549fe700f00fdabe3801f7be83b47eca6a41705c594581773cf82bb2ba2478
