[INFO] cloning repository https://github.com/victorgiuliano2162/rust-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/victorgiuliano2162/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorgiuliano2162%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorgiuliano2162%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfbdbf8abe09c0a9f013d39cb5aa2f86795dad32 [INFO] checking victorgiuliano2162/rust-http-server against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictorgiuliano2162%2Frust-http-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/victorgiuliano2162/rust-http-server on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/victorgiuliano2162/rust-http-server [INFO] finished tweaking git repo https://github.com/victorgiuliano2162/rust-http-server [INFO] tweaked toml for git repo https://github.com/victorgiuliano2162/rust-http-server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/victorgiuliano2162/rust-http-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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5f0715565bc38b7208c179408575d08ad9030d5667bb6feaeab9f59e439178c [INFO] running `Command { std: "docker" "start" "-a" "e5f0715565bc38b7208c179408575d08ad9030d5667bb6feaeab9f59e439178c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5f0715565bc38b7208c179408575d08ad9030d5667bb6feaeab9f59e439178c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f0715565bc38b7208c179408575d08ad9030d5667bb6feaeab9f59e439178c", kill_on_drop: false }` [INFO] [stdout] e5f0715565bc38b7208c179408575d08ad9030d5667bb6feaeab9f59e439178c [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51908827a06d45601237e1799dbb80c4ce6b4dd33fd5408d7ce29ff1054e2b9c [INFO] running `Command { std: "docker" "start" "-a" "51908827a06d45601237e1799dbb80c4ce6b4dd33fd5408d7ce29ff1054e2b9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking http v0.1.0 (/opt/rustwide/workdir/http) [INFO] [stderr] Checking scenario1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tcpserver v0.1.0 (/opt/rustwide/workdir/tcpserver) [INFO] [stderr] Checking tcpclient v0.1.0 (/opt/rustwide/workdir/tcpclient) [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | version: "HTTP/1.1".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | status_code: "200".into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | status_text: "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | response.status_code = status_code.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | "200" => "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | "400" => "Bad Request".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | "404" => "Not Found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | "500" => "Internal Server Error".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | _ => "Not Found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | version: "HTTP/1.1".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | status_code: "200".into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | status_text: "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | response.status_code = status_code.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | "200" => "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | "400" => "Bad Request".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | "404" => "Not Found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | "500" => "Internal Server Error".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> http/src/httpresponse.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | _ => "Not Found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `http` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "51908827a06d45601237e1799dbb80c4ce6b4dd33fd5408d7ce29ff1054e2b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51908827a06d45601237e1799dbb80c4ce6b4dd33fd5408d7ce29ff1054e2b9c", kill_on_drop: false }` [INFO] [stdout] 51908827a06d45601237e1799dbb80c4ce6b4dd33fd5408d7ce29ff1054e2b9c