[INFO] cloning repository https://github.com/solomonope/rusthttpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solomonope/rusthttpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolomonope%2Frusthttpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolomonope%2Frusthttpserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6003c6ee6f408b1f3cd86c96f236d0a82cb1a2e6 [INFO] checking solomonope/rusthttpserver against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolomonope%2Frusthttpserver" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/solomonope/rusthttpserver on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solomonope/rusthttpserver [INFO] finished tweaking git repo https://github.com/solomonope/rusthttpserver [INFO] tweaked toml for git repo https://github.com/solomonope/rusthttpserver written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/solomonope/rusthttpserver 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cc3625334cc4b32309f8c2a7e4723b604d25ba66a5cad6c6ddf059dd4da599d [INFO] running `Command { std: "docker" "start" "-a" "0cc3625334cc4b32309f8c2a7e4723b604d25ba66a5cad6c6ddf059dd4da599d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cc3625334cc4b32309f8c2a7e4723b604d25ba66a5cad6c6ddf059dd4da599d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc3625334cc4b32309f8c2a7e4723b604d25ba66a5cad6c6ddf059dd4da599d", kill_on_drop: false }` [INFO] [stdout] 0cc3625334cc4b32309f8c2a7e4723b604d25ba66a5cad6c6ddf059dd4da599d [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9f001046fffde3f0a663d6c928e36db6e0d600192bda8d4a8bd9f4237d6171c [INFO] running `Command { std: "docker" "start" "-a" "a9f001046fffde3f0a663d6c928e36db6e0d600192bda8d4a8bd9f4237d6171c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking http v0.1.0 (/opt/rustwide/workdir/http) [INFO] [stderr] Checking tcpserver v0.1.0 (/opt/rustwide/workdir/tcpserver) [INFO] [stderr] Checking tcpclient v0.1.0 (/opt/rustwide/workdir/tcpclient) [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking httpserver v0.1.0 (/opt/rustwide/workdir/httpserver) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> httpserver/src/server.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | stream.read((&mut read_buffer)).unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - stream.read((&mut read_buffer)).unwrap(); [INFO] [stdout] 23 + stream.read(&mut read_buffer).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> httpserver/src/server.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | stream.read((&mut read_buffer)).unwrap(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - stream.read((&mut read_buffer)).unwrap(); [INFO] [stdout] 23 + stream.read(&mut read_buffer).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> httpserver/src/handler.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | fn handle(req: &HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> httpserver/src/handler.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | fn handle(req: &HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.44s [INFO] running `Command { std: "docker" "inspect" "a9f001046fffde3f0a663d6c928e36db6e0d600192bda8d4a8bd9f4237d6171c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9f001046fffde3f0a663d6c928e36db6e0d600192bda8d4a8bd9f4237d6171c", kill_on_drop: false }` [INFO] [stdout] a9f001046fffde3f0a663d6c928e36db6e0d600192bda8d4a8bd9f4237d6171c