[INFO] fetching crate lighthouse-client 3.2.0... [INFO] checking lighthouse-client-3.2.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate lighthouse-client 3.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate lighthouse-client 3.2.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lighthouse-client 3.2.0 [INFO] finished tweaking crates.io crate lighthouse-client 3.2.0 [INFO] tweaked toml for crates.io crate lighthouse-client 3.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate lighthouse-client 3.2.0 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lighthouse-protocol v3.2.0 [INFO] [stderr] Downloaded cc v1.0.91 [INFO] [stderr] Downloaded async-executor v1.10.0 [INFO] [stderr] Downloaded async-tungstenite v0.25.1 [INFO] [stderr] Downloaded rmpv v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fee978d41ea0a73eabe8ad1289b365bd9fb987077fd99e21f237db8c490fc87 [INFO] running `Command { std: "docker" "start" "-a" "4fee978d41ea0a73eabe8ad1289b365bd9fb987077fd99e21f237db8c490fc87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fee978d41ea0a73eabe8ad1289b365bd9fb987077fd99e21f237db8c490fc87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fee978d41ea0a73eabe8ad1289b365bd9fb987077fd99e21f237db8c490fc87", kill_on_drop: false }` [INFO] [stdout] 4fee978d41ea0a73eabe8ad1289b365bd9fb987077fd99e21f237db8c490fc87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ddb7bce0c6d1e64ae990c697bfd84e2c5f6d71eb5f217c57a73a3e8abdf1615 [INFO] running `Command { std: "docker" "start" "-a" "9ddb7bce0c6d1e64ae990c697bfd84e2c5f6d71eb5f217c57a73a3e8abdf1615", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.91 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-tungstenite v0.25.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking rmpv v1.0.1 [INFO] [stderr] Checking lighthouse-protocol v3.2.0 [INFO] [stderr] Checking lighthouse-client v3.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.15s [INFO] running `Command { std: "docker" "inspect" "9ddb7bce0c6d1e64ae990c697bfd84e2c5f6d71eb5f217c57a73a3e8abdf1615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ddb7bce0c6d1e64ae990c697bfd84e2c5f6d71eb5f217c57a73a3e8abdf1615", kill_on_drop: false }` [INFO] [stdout] 9ddb7bce0c6d1e64ae990c697bfd84e2c5f6d71eb5f217c57a73a3e8abdf1615 [INFO] checking lighthouse-client-3.2.0 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate lighthouse-client 3.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate lighthouse-client 3.2.0 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lighthouse-client 3.2.0 [INFO] finished tweaking crates.io crate lighthouse-client 3.2.0 [INFO] tweaked toml for crates.io crate lighthouse-client 3.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate lighthouse-client 3.2.0 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56fad7873c68ac78a1086686519aba652515ed9d0617c90f91b067f72c101f58 [INFO] running `Command { std: "docker" "start" "-a" "56fad7873c68ac78a1086686519aba652515ed9d0617c90f91b067f72c101f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56fad7873c68ac78a1086686519aba652515ed9d0617c90f91b067f72c101f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fad7873c68ac78a1086686519aba652515ed9d0617c90f91b067f72c101f58", kill_on_drop: false }` [INFO] [stdout] 56fad7873c68ac78a1086686519aba652515ed9d0617c90f91b067f72c101f58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f888735933d86fd07b1f059f9ba33822c74642270816acfd702c352f6ff53ebb [INFO] running `Command { std: "docker" "start" "-a" "f888735933d86fd07b1f059f9ba33822c74642270816acfd702c352f6ff53ebb", 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.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.91 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking async-tungstenite v0.25.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking rmpv v1.0.1 [INFO] [stderr] Checking lighthouse-protocol v3.2.0 [INFO] [stderr] Checking lighthouse-client v3.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/admin_get_metrics.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/disco.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/input_events.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/black.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/admin_list_root.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/admin_crud.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/snake.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lighthouse-client v3.2.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `username` [INFO] [stdout] --> src/lighthouse.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | self.stream(&["user", username.as_str(), "model"], ()).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `username` 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 temporary value [INFO] [stdout] --> src/lighthouse.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | self.stream(&["user", username.as_str(), "model"], ()).await [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created 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 `username` [INFO] [stdout] --> src/lighthouse.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | self.stream(&["user", username.as_str(), "model"], ()).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `username` 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 temporary value [INFO] [stdout] --> src/lighthouse.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | self.stream(&["user", username.as_str(), "model"], ()).await [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `lighthouse-client` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 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 `lighthouse-client` (lib) due to 3 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" "f888735933d86fd07b1f059f9ba33822c74642270816acfd702c352f6ff53ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f888735933d86fd07b1f059f9ba33822c74642270816acfd702c352f6ff53ebb", kill_on_drop: false }` [INFO] [stdout] f888735933d86fd07b1f059f9ba33822c74642270816acfd702c352f6ff53ebb