[INFO] cloning repository https://github.com/subaquatic-pierre/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/subaquatic-pierre/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d77c918a2ff54dc660e9f6e4776cacc1b019374 [INFO] checking subaquatic-pierre/rust-http-server against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Frust-http-server" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/subaquatic-pierre/rust-http-server on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/subaquatic-pierre/rust-http-server [INFO] finished tweaking git repo https://github.com/subaquatic-pierre/rust-http-server [INFO] tweaked toml for git repo https://github.com/subaquatic-pierre/rust-http-server written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/subaquatic-pierre/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cecbeb2e46c9a8b366e2d854803e56d64353878bbe1357857e6c5215ebdcfec [INFO] running `Command { std: "docker" "start" "-a" "6cecbeb2e46c9a8b366e2d854803e56d64353878bbe1357857e6c5215ebdcfec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cecbeb2e46c9a8b366e2d854803e56d64353878bbe1357857e6c5215ebdcfec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cecbeb2e46c9a8b366e2d854803e56d64353878bbe1357857e6c5215ebdcfec", kill_on_drop: false }` [INFO] [stdout] 6cecbeb2e46c9a8b366e2d854803e56d64353878bbe1357857e6c5215ebdcfec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feb16daba1deac1c9b6cf5fd07f0fd3fa597dea9dc6a3238664c058850cf4670 [INFO] running `Command { std: "docker" "start" "-a" "feb16daba1deac1c9b6cf5fd07f0fd3fa597dea9dc6a3238664c058850cf4670", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/request.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stream_clone = stream.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TcpStream` does not implement `Clone`, so calling `clone` on `&TcpStream` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 36 - let mut stream_clone = stream.clone(); [INFO] [stdout] 36 + let mut stream_clone = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/request.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stream_clone = stream.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TcpStream` does not implement `Clone`, so calling `clone` on `&TcpStream` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 36 - let mut stream_clone = stream.clone(); [INFO] [stdout] 36 + let mut stream_clone = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http_server` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_server; [INFO] [stdout] | ^^^^^^^^^^^ the item `http_server` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http_server` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_server; [INFO] [stdout] | ^^^^^^^^^^^ the item `http_server` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "feb16daba1deac1c9b6cf5fd07f0fd3fa597dea9dc6a3238664c058850cf4670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb16daba1deac1c9b6cf5fd07f0fd3fa597dea9dc6a3238664c058850cf4670", kill_on_drop: false }` [INFO] [stdout] feb16daba1deac1c9b6cf5fd07f0fd3fa597dea9dc6a3238664c058850cf4670 [INFO] checking subaquatic-pierre/rust-http-server against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubaquatic-pierre%2Frust-http-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/subaquatic-pierre/rust-http-server on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/subaquatic-pierre/rust-http-server [INFO] finished tweaking git repo https://github.com/subaquatic-pierre/rust-http-server [INFO] tweaked toml for git repo https://github.com/subaquatic-pierre/rust-http-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/subaquatic-pierre/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2c4e3dd59a9bcc0eab1f68ddaee565e8cf6c63a700fcb09714584e01bad83e3 [INFO] running `Command { std: "docker" "start" "-a" "d2c4e3dd59a9bcc0eab1f68ddaee565e8cf6c63a700fcb09714584e01bad83e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2c4e3dd59a9bcc0eab1f68ddaee565e8cf6c63a700fcb09714584e01bad83e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2c4e3dd59a9bcc0eab1f68ddaee565e8cf6c63a700fcb09714584e01bad83e3", kill_on_drop: false }` [INFO] [stdout] d2c4e3dd59a9bcc0eab1f68ddaee565e8cf6c63a700fcb09714584e01bad83e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0dbbe5762aebe42a5e59e5842f38462ecc4911f1e7a4a750925dc08e60806f6 [INFO] running `Command { std: "docker" "start" "-a" "d0dbbe5762aebe42a5e59e5842f38462ecc4911f1e7a4a750925dc08e60806f6", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/request.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stream_clone = stream.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TcpStream` does not implement `Clone`, so calling `clone` on `&TcpStream` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 36 - let mut stream_clone = stream.clone(); [INFO] [stdout] 36 + let mut stream_clone = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/request.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let mut stream_clone = stream.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TcpStream` does not implement `Clone`, so calling `clone` on `&TcpStream` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 36 - let mut stream_clone = stream.clone(); [INFO] [stdout] 36 + let mut stream_clone = stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http_server` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_server; [INFO] [stdout] | ^^^^^^^^^^^ the item `http_server` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http_server` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_server; [INFO] [stdout] | ^^^^^^^^^^^ the item `http_server` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "d0dbbe5762aebe42a5e59e5842f38462ecc4911f1e7a4a750925dc08e60806f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0dbbe5762aebe42a5e59e5842f38462ecc4911f1e7a4a750925dc08e60806f6", kill_on_drop: false }` [INFO] [stdout] d0dbbe5762aebe42a5e59e5842f38462ecc4911f1e7a4a750925dc08e60806f6