[INFO] cloning repository https://github.com/kinuris/axum-server-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kinuris/axum-server-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinuris%2Faxum-server-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinuris%2Faxum-server-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69e7a2a405d4d68db610f8df6d23420a7604bde8 [INFO] checking kinuris/axum-server-backend against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinuris%2Faxum-server-backend" "/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/kinuris/axum-server-backend 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/kinuris/axum-server-backend [INFO] finished tweaking git repo https://github.com/kinuris/axum-server-backend [INFO] tweaked toml for git repo https://github.com/kinuris/axum-server-backend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kinuris/axum-server-backend 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] 5a90ffeb6642c04bd778c8a0a92bf280545d4b31dedb4bb5eed080a03ed28bdd [INFO] running `Command { std: "docker" "start" "-a" "5a90ffeb6642c04bd778c8a0a92bf280545d4b31dedb4bb5eed080a03ed28bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a90ffeb6642c04bd778c8a0a92bf280545d4b31dedb4bb5eed080a03ed28bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a90ffeb6642c04bd778c8a0a92bf280545d4b31dedb4bb5eed080a03ed28bdd", kill_on_drop: false }` [INFO] [stdout] 5a90ffeb6642c04bd778c8a0a92bf280545d4b31dedb4bb5eed080a03ed28bdd [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] 5764bc79b3279dbf4c3c3f767e2b69923aad11d215e667c7233904d1b9516792 [INFO] running `Command { std: "docker" "start" "-a" "5764bc79b3279dbf4c3c3f767e2b69923aad11d215e667c7233904d1b9516792", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling rustversion v1.0.13 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Checking serde_path_to_error v0.1.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking axum-server-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `req` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | responders::file::open(format!("./sites/{}", path).into(), &req).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `req` 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 variable `req` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | responders::file::open(format!("./sites/{}", path).into(), &req).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `req` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-server-backend` (bin "axum-server-backend") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axum-server-backend` (bin "axum-server-backend" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5764bc79b3279dbf4c3c3f767e2b69923aad11d215e667c7233904d1b9516792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5764bc79b3279dbf4c3c3f767e2b69923aad11d215e667c7233904d1b9516792", kill_on_drop: false }` [INFO] [stdout] 5764bc79b3279dbf4c3c3f767e2b69923aad11d215e667c7233904d1b9516792