[INFO] cloning repository https://github.com/elyctech/servnt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elyctech/servnt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felyctech%2Fservnt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felyctech%2Fservnt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4cda953c3117b9be6bc17c16fda0239cb9e4e0b [INFO] checking elyctech/servnt/e4cda953c3117b9be6bc17c16fda0239cb9e4e0b against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felyctech%2Fservnt" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elyctech/servnt on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elyctech/servnt [INFO] finished tweaking git repo https://github.com/elyctech/servnt [INFO] tweaked toml for git repo https://github.com/elyctech/servnt written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/elyctech/servnt 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac8e602b8521657c9cb838348fb7f7319bcef6507d845e54e3c2c4765829e8b3 [INFO] running `Command { std: "docker" "start" "-a" "ac8e602b8521657c9cb838348fb7f7319bcef6507d845e54e3c2c4765829e8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac8e602b8521657c9cb838348fb7f7319bcef6507d845e54e3c2c4765829e8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8e602b8521657c9cb838348fb7f7319bcef6507d845e54e3c2c4765829e8b3", kill_on_drop: false }` [INFO] [stdout] ac8e602b8521657c9cb838348fb7f7319bcef6507d845e54e3c2c4765829e8b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a06121702b47f3b83c1a431ac1cce8846196ea64a8b5283d4cccb772612b42ca [INFO] running `Command { std: "docker" "start" "-a" "a06121702b47f3b83c1a431ac1cce8846196ea64a8b5283d4cccb772612b42ca", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.179 [INFO] [stderr] Compiling serde_derive v1.0.179 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Checking winnow v0.5.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking servnt v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.61s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking servnt v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `state` [INFO] [stdout] --> src/main.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | get_file(&state, &desired_path).await [INFO] [stdout] | ^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `state` 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 `desired_path` [INFO] [stdout] --> src/main.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | get_file(&state, &desired_path).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `desired_path` 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 `state` [INFO] [stdout] --> src/main.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | get_file(&state, "index.html").await [INFO] [stdout] | ^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `state` 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 `state` [INFO] [stdout] --> src/main.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | get_file(&state, &desired_path).await [INFO] [stdout] | ^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `state` 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 `desired_path` [INFO] [stdout] --> src/main.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | get_file(&state, &desired_path).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `desired_path` 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 `state` [INFO] [stdout] --> src/main.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | get_file(&state, "index.html").await [INFO] [stdout] | ^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `state` 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 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 `servnt` (bin "servnt" test) 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 `servnt` (bin "servnt") due to 4 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a06121702b47f3b83c1a431ac1cce8846196ea64a8b5283d4cccb772612b42ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06121702b47f3b83c1a431ac1cce8846196ea64a8b5283d4cccb772612b42ca", kill_on_drop: false }` [INFO] [stdout] a06121702b47f3b83c1a431ac1cce8846196ea64a8b5283d4cccb772612b42ca