[INFO] fetching crate lighthouse-client 3.4.0... [INFO] checking lighthouse-client-3.4.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate lighthouse-client 3.4.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate lighthouse-client 3.4.0 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 crates.io crate lighthouse-client 3.4.0 [INFO] finished tweaking crates.io crate lighthouse-client 3.4.0 [INFO] tweaked toml for crates.io crate lighthouse-client 3.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate lighthouse-client 3.4.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebc3ba9563e54f6ae1a7d2f5e47c5553ee3c4956c04dccc2d170bd19839d9326 [INFO] running `Command { std: "docker" "start" "-a" "ebc3ba9563e54f6ae1a7d2f5e47c5553ee3c4956c04dccc2d170bd19839d9326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebc3ba9563e54f6ae1a7d2f5e47c5553ee3c4956c04dccc2d170bd19839d9326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc3ba9563e54f6ae1a7d2f5e47c5553ee3c4956c04dccc2d170bd19839d9326", kill_on_drop: false }` [INFO] [stdout] ebc3ba9563e54f6ae1a7d2f5e47c5553ee3c4956c04dccc2d170bd19839d9326 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b572d6649c16dc6f75cfc0c0b9fb7ad392f45229b849c4b8a9e8bec10fcdec0b [INFO] running `Command { std: "docker" "start" "-a" "b572d6649c16dc6f75cfc0c0b9fb7ad392f45229b849c4b8a9e8bec10fcdec0b", 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.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking clap_builder v4.5.10 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking tokio v1.39.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking clap v4.5.10 [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 stream-guard v1.0.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking rmpv v1.3.0 [INFO] [stderr] Checking lighthouse-protocol v3.4.0 [INFO] [stderr] Checking lighthouse-client v3.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lighthouse.rs (2 fixes) [INFO] [stderr] Migrating examples/admin_list_root.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/disco.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/stress_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/black.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] Fixed examples/snake.rs (1 fix) [INFO] [stderr] Migrating examples/input_events.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/snake.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | while let Some(msg) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/snake.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/input_events.rs (1 fix) [INFO] [stderr] Migrating examples/admin_get_metrics.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/input_events.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | while let Some(msg) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/input_events.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.77s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lighthouse-client v3.4.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `username` [INFO] [stdout] --> src/lighthouse.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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 local variable `username` [INFO] [stdout] --> src/lighthouse.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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 temporary value [INFO] [stdout] --> src/lighthouse.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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] [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] [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" "b572d6649c16dc6f75cfc0c0b9fb7ad392f45229b849c4b8a9e8bec10fcdec0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b572d6649c16dc6f75cfc0c0b9fb7ad392f45229b849c4b8a9e8bec10fcdec0b", kill_on_drop: false }` [INFO] [stdout] b572d6649c16dc6f75cfc0c0b9fb7ad392f45229b849c4b8a9e8bec10fcdec0b