[INFO] cloning repository https://github.com/mr-rodgers/asgi_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mr-rodgers/asgi_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmr-rodgers%2Fasgi_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmr-rodgers%2Fasgi_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 994a8c3763bdb3d118f4ff373311acbbba0ea06e [INFO] checking mr-rodgers/asgi_server against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmr-rodgers%2Fasgi_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mr-rodgers/asgi_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/mr-rodgers/asgi_server [INFO] finished tweaking git repo https://github.com/mr-rodgers/asgi_server [INFO] tweaked toml for git repo https://github.com/mr-rodgers/asgi_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mr-rodgers/asgi_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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 067362b46e591cca56df16e6d3f05db6516689725b762a7a7e3876497482b2fa [INFO] running `Command { std: "docker" "start" "-a" "067362b46e591cca56df16e6d3f05db6516689725b762a7a7e3876497482b2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "067362b46e591cca56df16e6d3f05db6516689725b762a7a7e3876497482b2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067362b46e591cca56df16e6d3f05db6516689725b762a7a7e3876497482b2fa", kill_on_drop: false }` [INFO] [stdout] 067362b46e591cca56df16e6d3f05db6516689725b762a7a7e3876497482b2fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b62740200b7d6ef425ab57395bcbd5a19363462e283d122d9da7c9258036b927 [INFO] running `Command { std: "docker" "start" "-a" "b62740200b7d6ef425ab57395bcbd5a19363462e283d122d9da7c9258036b927", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling pyo3 v0.13.2 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking arc-swap v1.3.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.13.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling pyo3-asyncio-macros v0.13.4 [INFO] [stderr] Compiling pyo3-macros v0.13.2 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking pyo3-log v0.3.1 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking pyo3-asyncio v0.13.4 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking asgi-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `scope_dict` [INFO] [stdout] --> src/http.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | asgi_driver.create_context(scope_dict.as_ref(py), messages_to_py, results_from_py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `scope_dict` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `scope_dict` [INFO] [stdout] --> src/http.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | asgi_driver.create_context(scope_dict.as_ref(py), messages_to_py, results_from_py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `scope_dict` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `asgi_driver` [INFO] [stdout] --> src/http.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | asgi_driver.create_context(scope_dict.as_ref(py), messages_to_py, results_from_py) [INFO] [stdout] | -----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `asgi_driver` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `asgi_driver` [INFO] [stdout] --> src/http.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | asgi_driver.create_context(scope_dict.as_ref(py), messages_to_py, results_from_py) [INFO] [stdout] | -----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `asgi_driver` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/http.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | Python::with_gil(|py| { [INFO] [stdout] | --- return type of closure `Either, PyErr>> + std::marker::Send, futures::future::Ready<()>, [closure@src/http.rs:104:35: 104:43]>, futures::future::Ready<()>>` contains a lifetime `'2` [INFO] [stdout] | | [INFO] [stdout] | has type `pyo3::Python<'1>` [INFO] [stdout] 98 | / scope_provider [INFO] [stdout] 99 | | .try_into_py_dict(py) [INFO] [stdout] 100 | | .and_then(move |scope_dict| { [INFO] [stdout] 101 | | asgi_driver.create_context(scope_dict.as_ref(py), messages_to_py, results_from_py) [INFO] [stdout] ... | [INFO] [stdout] 110 | | .or_else(|err| err.handle(future::Either::Right(future::ready(())))) [INFO] [stdout] 111 | | .unwrap() [INFO] [stdout] | |_____________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/http.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | Python::with_gil(|py| { [INFO] [stdout] | --- return type of closure `Either, PyErr>> + std::marker::Send, futures::future::Ready<()>, [closure@src/http.rs:104:35: 104:43]>, futures::future::Ready<()>>` contains a lifetime `'2` [INFO] [stdout] | | [INFO] [stdout] | has type `pyo3::Python<'1>` [INFO] [stdout] 98 | / scope_provider [INFO] [stdout] 99 | | .try_into_py_dict(py) [INFO] [stdout] 100 | | .and_then(move |scope_dict| { [INFO] [stdout] 101 | | asgi_driver.create_context(scope_dict.as_ref(py), messages_to_py, results_from_py) [INFO] [stdout] ... | [INFO] [stdout] 110 | | .or_else(|err| err.handle(future::Either::Right(future::ready(())))) [INFO] [stdout] 111 | | .unwrap() [INFO] [stdout] | |_____________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asgi-server` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `asgi-server` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b62740200b7d6ef425ab57395bcbd5a19363462e283d122d9da7c9258036b927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62740200b7d6ef425ab57395bcbd5a19363462e283d122d9da7c9258036b927", kill_on_drop: false }` [INFO] [stdout] b62740200b7d6ef425ab57395bcbd5a19363462e283d122d9da7c9258036b927