[INFO] fetching crate llmvm-codeassist 0.2.0... [INFO] checking llmvm-codeassist-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate llmvm-codeassist 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate llmvm-codeassist 0.2.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 llmvm-codeassist 0.2.0 [INFO] finished tweaking crates.io crate llmvm-codeassist 0.2.0 [INFO] tweaked toml for crates.io crate llmvm-codeassist 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate llmvm-codeassist 0.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 99effdaaf7af415e85a86a978be8cbe0e187e2abcfdb88b252016bfe63fbccd0 [INFO] running `Command { std: "docker" "start" "-a" "99effdaaf7af415e85a86a978be8cbe0e187e2abcfdb88b252016bfe63fbccd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99effdaaf7af415e85a86a978be8cbe0e187e2abcfdb88b252016bfe63fbccd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99effdaaf7af415e85a86a978be8cbe0e187e2abcfdb88b252016bfe63fbccd0", kill_on_drop: false }` [INFO] [stdout] 99effdaaf7af415e85a86a978be8cbe0e187e2abcfdb88b252016bfe63fbccd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a7b07350b16259c776c431111d39523e1012dbca90598e62e519641f82215750 [INFO] running `Command { std: "docker" "start" "-a" "a7b07350b16259c776c431111d39523e1012dbca90598e62e519641f82215750", 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 libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking multilink v1.0.1 [INFO] [stderr] Checking llmvm-util v0.1.1 [INFO] [stderr] Checking llmvm-protocol v2.0.0 [INFO] [stderr] Checking llmvm-codeassist v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/interceptor.rs (3 fixes) [INFO] [stderr] Fixed src/complete/typedefs.rs (2 fixes) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/complete/notify.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) async fn create_progress_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/complete/notify.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .get_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnippetInfo` is never constructed [INFO] [stdout] --> src/content.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SnippetInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnippetInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/adapter.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | while let Some((msg_info, resp_tx)) = self.service_rx.recv().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] --> src/adapter.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/complete/apply.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | while let Some(response) = streams.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] --> src/complete/apply.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/complete/notify.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) async fn create_progress_token(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/complete/notify.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .get_result()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnippetInfo` is never constructed [INFO] [stdout] --> src/content.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SnippetInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnippetInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/adapter.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | while let Some((msg_info, resp_tx)) = self.service_rx.recv().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] --> src/adapter.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/complete/apply.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | while let Some(response) = streams.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] --> src/complete/apply.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.63s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking llmvm-codeassist v0.2.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/complete/notify.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .get_result()?; [INFO] [stdout] | ^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `!`, which is required by `!: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 580 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `!` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `LspMessage::get_result` [INFO] [stdout] --> src/lsp.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_result(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `LspMessage::get_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/complete/notify.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .get_result()?; [INFO] [stdout] | ^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `!`, which is required by `!: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 580 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `!` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `LspMessage::get_result` [INFO] [stdout] --> src/lsp.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_result(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `LspMessage::get_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `llmvm-codeassist` (bin "llmvm-codeassist" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `llmvm-codeassist` (bin "llmvm-codeassist") due to 2 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" "a7b07350b16259c776c431111d39523e1012dbca90598e62e519641f82215750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b07350b16259c776c431111d39523e1012dbca90598e62e519641f82215750", kill_on_drop: false }` [INFO] [stdout] a7b07350b16259c776c431111d39523e1012dbca90598e62e519641f82215750