[INFO] cloning repository https://github.com/evokelektrique/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/evokelektrique/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevokelektrique%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevokelektrique%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40e747098d6f18ce14a5c7d13d997a8351263787 [INFO] checking evokelektrique/rust-http-server against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevokelektrique%2Frust-http-server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/evokelektrique/rust-http-server [INFO] finished tweaking git repo https://github.com/evokelektrique/rust-http-server [INFO] tweaked toml for git repo https://github.com/evokelektrique/rust-http-server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/evokelektrique/rust-http-server on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/evokelektrique/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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6091cba557f1df7a3613434a14a7402d0f5f3e0378ff28c158b36532adf8c1b [INFO] running `Command { std: "docker" "start" "-a" "b6091cba557f1df7a3613434a14a7402d0f5f3e0378ff28c158b36532adf8c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6091cba557f1df7a3613434a14a7402d0f5f3e0378ff28c158b36532adf8c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6091cba557f1df7a3613434a14a7402d0f5f3e0378ff28c158b36532adf8c1b", kill_on_drop: false }` [INFO] [stdout] b6091cba557f1df7a3613434a14a7402d0f5f3e0378ff28c158b36532adf8c1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5636f2156a1397c15b7371fafccb5099aedd6361f684fb090cf831cd396802dd [INFO] running `Command { std: "docker" "start" "-a" "5636f2156a1397c15b7371fafccb5099aedd6361f684fb090cf831cd396802dd", kill_on_drop: false }` [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking simple-http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `buffer` [INFO] [stdout] --> src/connection/handler.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 64 | let _res = req.parse(&buffer).unwrap(); [INFO] [stdout] | ------- `buffer` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 68 | / ConnectionResponse { [INFO] [stdout] 69 | | status: "", [INFO] [stdout] 70 | | headers: headers, [INFO] [stdout] 71 | | body: "", [INFO] [stdout] 72 | | method: Method::Unimplemented, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `buffer` [INFO] [stdout] --> src/connection/handler.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 64 | let _res = req.parse(&buffer).unwrap(); [INFO] [stdout] | ------- `buffer` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 68 | / ConnectionResponse { [INFO] [stdout] 69 | | status: "", [INFO] [stdout] 70 | | headers: headers, [INFO] [stdout] 71 | | body: "", [INFO] [stdout] 72 | | method: Method::Unimplemented, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-http` (bin "simple-http" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple-http` (bin "simple-http") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "5636f2156a1397c15b7371fafccb5099aedd6361f684fb090cf831cd396802dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5636f2156a1397c15b7371fafccb5099aedd6361f684fb090cf831cd396802dd", kill_on_drop: false }` [INFO] [stdout] 5636f2156a1397c15b7371fafccb5099aedd6361f684fb090cf831cd396802dd