[INFO] cloning repository https://github.com/kbluescode/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/kbluescode/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbluescode%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbluescode%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90489d37919f8308d56648b165901109af49125b [INFO] checking kbluescode/rust-http-server against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbluescode%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] validating manifest of git repo https://github.com/kbluescode/rust-http-server on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kbluescode/rust-http-server [INFO] finished tweaking git repo https://github.com/kbluescode/rust-http-server [INFO] tweaked toml for git repo https://github.com/kbluescode/rust-http-server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kbluescode/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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa13769a536deea797e13d0be526209f3c7177e2bf5032050fcd31e7e28c524d [INFO] running `Command { std: "docker" "start" "-a" "fa13769a536deea797e13d0be526209f3c7177e2bf5032050fcd31e7e28c524d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa13769a536deea797e13d0be526209f3c7177e2bf5032050fcd31e7e28c524d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa13769a536deea797e13d0be526209f3c7177e2bf5032050fcd31e7e28c524d", kill_on_drop: false }` [INFO] [stdout] fa13769a536deea797e13d0be526209f3c7177e2bf5032050fcd31e7e28c524d [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ff1f78e85b6f4ea1a92a92e90c234cce9b1d58c1f56cf93f40ecf00966db93b [INFO] running `Command { std: "docker" "start" "-a" "0ff1f78e85b6f4ea1a92a92e90c234cce9b1d58c1f56cf93f40ecf00966db93b", kill_on_drop: false }` [INFO] [stderr] Checking http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `listener` does not live long enough [INFO] [stdout] --> src/main.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 36 | let (listener, shutdown_sender, tcp_receiver) = create_listener(tcp_listener); [INFO] [stdout] | -------- binding `listener` declared here [INFO] [stdout] 37 | let (listen_handler, worker_shutdown_receiver) = listener.handler(); [INFO] [stdout] | ^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `listener` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] | - `listener` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `listener` does not live long enough [INFO] [stdout] --> src/main.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 36 | let (listener, shutdown_sender, tcp_receiver) = create_listener(tcp_listener); [INFO] [stdout] | -------- binding `listener` declared here [INFO] [stdout] 37 | let (listen_handler, worker_shutdown_receiver) = listener.handler(); [INFO] [stdout] | ^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `listener` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] | - `listener` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tcp_receiver` does not live long enough [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 39 | let tcp_receiver = Arc::new(Mutex::new(tcp_receiver)); [INFO] [stdout] | ------------ binding `tcp_receiver` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | let worker = Worker::new(&tcp_receiver, &worker_shutdown_receiver, i); [INFO] [stdout] | ------------^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `tcp_receiver` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] | - `tcp_receiver` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `worker_shutdown_receiver` does not live long enough [INFO] [stdout] --> src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 40 | let worker_shutdown_receiver = Arc::new(Mutex::new(worker_shutdown_receiver)); [INFO] [stdout] | ------------------------ binding `worker_shutdown_receiver` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | let worker = Worker::new(&tcp_receiver, &worker_shutdown_receiver, i); [INFO] [stdout] | ---------------------------^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `worker_shutdown_receiver` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] | - `worker_shutdown_receiver` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `worker` does not live long enough [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 43 | let worker = Worker::new(&tcp_receiver, &worker_shutdown_receiver, i); [INFO] [stdout] | ------ binding `worker` declared here [INFO] [stdout] 44 | handlers.push(spawn(worker.handler())); [INFO] [stdout] | ^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `worker` is borrowed for `'static` [INFO] [stdout] 45 | } [INFO] [stdout] | - `worker` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error[E0597]: `tcp_receiver` does not live long enough [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 39 | let tcp_receiver = Arc::new(Mutex::new(tcp_receiver)); [INFO] [stdout] | ------------ binding `tcp_receiver` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | let worker = Worker::new(&tcp_receiver, &worker_shutdown_receiver, i); [INFO] [stdout] | ------------^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `tcp_receiver` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] | - `tcp_receiver` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `worker_shutdown_receiver` does not live long enough [INFO] [stdout] --> src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 40 | let worker_shutdown_receiver = Arc::new(Mutex::new(worker_shutdown_receiver)); [INFO] [stdout] | ------------------------ binding `worker_shutdown_receiver` declared here [INFO] [stdout] ... [INFO] [stdout] 43 | let worker = Worker::new(&tcp_receiver, &worker_shutdown_receiver, i); [INFO] [stdout] | ---------------------------^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `worker_shutdown_receiver` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] | - `worker_shutdown_receiver` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `worker` does not live long enough [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 43 | let worker = Worker::new(&tcp_receiver, &worker_shutdown_receiver, i); [INFO] [stdout] | ------ binding `worker` declared here [INFO] [stdout] 44 | handlers.push(spawn(worker.handler())); [INFO] [stdout] | ^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `worker` is borrowed for `'static` [INFO] [stdout] 45 | } [INFO] [stdout] | - `worker` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server` (bin "http-server" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `http-server` (bin "http-server") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0ff1f78e85b6f4ea1a92a92e90c234cce9b1d58c1f56cf93f40ecf00966db93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff1f78e85b6f4ea1a92a92e90c234cce9b1d58c1f56cf93f40ecf00966db93b", kill_on_drop: false }` [INFO] [stdout] 0ff1f78e85b6f4ea1a92a92e90c234cce9b1d58c1f56cf93f40ecf00966db93b