[INFO] fetching crate pagefind 1.1.1... [INFO] checking pagefind-1.1.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pagefind 1.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate pagefind 1.1.1 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 pagefind 1.1.1 [INFO] finished tweaking crates.io crate pagefind 1.1.1 [INFO] tweaked toml for crates.io crate pagefind 1.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate pagefind 1.1.1 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eab46f5a043304ac68e4e2449630442275da65f546427a7b85d080d54a31225 [INFO] running `Command { std: "docker" "start" "-a" "4eab46f5a043304ac68e4e2449630442275da65f546427a7b85d080d54a31225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eab46f5a043304ac68e4e2449630442275da65f546427a7b85d080d54a31225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eab46f5a043304ac68e4e2449630442275da65f546427a7b85d080d54a31225", kill_on_drop: false }` [INFO] [stdout] 4eab46f5a043304ac68e4e2449630442275da65f546427a7b85d080d54a31225 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0d3831d7580d14a013e6fa87f9132b38bd08da7d0530ae2c63d1a4cd658e6df [INFO] running `Command { std: "docker" "start" "-a" "c0d3831d7580d14a013e6fa87f9132b38bd08da7d0530ae2c63d1a4cd658e6df", 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 syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Compiling config-derive v0.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling rust-patch-derive v0.1.3 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking pori v0.0.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking lol_html v0.4.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking wax v0.5.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking twelf v0.11.0 [INFO] [stderr] Checking rust-patch v0.1.3 [INFO] [stderr] Checking emojis v0.6.1 [INFO] [stderr] Checking async-compression v0.4.6 [INFO] [stderr] Checking portpicker v0.1.1 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking pagefind_stem v0.2.0 [INFO] [stderr] Checking minifier v0.2.3 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking actix-files v0.6.5 [INFO] [stderr] Checking pagefind v1.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pagefind` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fossick/parser.rs [INFO] [stderr] * src/logging.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/fossick/parser.rs:121:25 [INFO] [stderr] | [INFO] [stderr] 121 | ( ($( $x:ident ),*) $y:expr_2021 ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/logging.rs:35:6 [INFO] [stderr] | [INFO] [stderr] 35 | ($len:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fossick/parser.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | ( ($( $x:ident ),*) $y:expr ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 121 | ( ($( $x:ident ),*) $y:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/logging.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | ($len:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 35 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(glob) = Glob::new(&glob) { [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/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match Glob::new(&glob) { Ok(glob) => { [INFO] [stdout] 44 | glob.walk(&dir) [INFO] [stdout] ... [INFO] [stdout] 48 | .collect() [INFO] [stdout] 49 ~ } _ => { [INFO] [stdout] 50 | log.error(format!( [INFO] [stdout] ... [INFO] [stdout] 55 | std::process::exit(1); [INFO] [stdout] 56 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(lang_pages) = language_map.get_mut(&language) { [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/lib.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match language_map.get_mut(&language) { Some(lang_pages) => { [INFO] [stdout] 143 | lang_pages.push(page.clone()); [INFO] [stdout] 144 ~ } _ => { [INFO] [stdout] 145 | language_map.insert(language, vec![page.clone()]); [INFO] [stdout] 146 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(primary) = language_map.get_mut(&primary_language) { [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/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 197 ~ match language_map.get_mut(&primary_language) { Some(primary) => { [INFO] [stdout] 198 | primary.append(&mut unknown_pages); [INFO] [stdout] 199 ~ } _ => { [INFO] [stdout] 200 | language_map.insert(primary_language, unknown_pages); [INFO] [stdout] 201 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | let is_gzip = if let Ok(read) = br.fill_buf().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/fossick/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ let is_gzip = match br.fill_buf().await { Ok(read) => { [INFO] [stdout] 123 | read.len() >= 3 && read[0] == 0x1F && read[1] == 0x8B && read[2] == 0x08 [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | false [INFO] [stdout] 126 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | while let Ok(read) = br.read(&mut buf).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/fossick/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if let Err(error) = rewriter.write(&buf[..read]) { [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/fossick/mod.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match rewriter.write(&buf[..read]) { Err(error) => { [INFO] [stdout] 135 | println!( [INFO] [stdout] ... [INFO] [stdout] 139 | return Ok(()); [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | while let Ok(read) = br.read(&mut buf).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/fossick/mod.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | if let Err(error) = rewriter.write(&buf[..read]) { [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/fossick/mod.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 147 ~ match rewriter.write(&buf[..read]) { Err(error) => { [INFO] [stdout] 148 | println!( [INFO] [stdout] ... [INFO] [stdout] 152 | return Ok(()); [INFO] [stdout] 153 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | while let Ok(read) = br.read(&mut buf).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/fossick/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | if let Err(error) = rewriter.write(&buf[..read]) { [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/fossick/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 181 ~ match rewriter.write(&buf[..read]) { Err(error) => { [INFO] [stdout] 182 | println!( [INFO] [stdout] ... [INFO] [stdout] 192 | return Ok(()); [INFO] [stdout] 193 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:236:16 [INFO] [stdout] | [INFO] [stdout] 236 | if let Some(repeat) = map.get_mut(&word) { [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/fossick/mod.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 236 ~ match map.get_mut(&word) { Some(repeat) => { [INFO] [stdout] 237 | repeat.push(entry); [INFO] [stdout] 238 ~ } _ => { [INFO] [stdout] 239 | map.insert(word, vec![entry]); [INFO] [stdout] 240 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | if let Some(data) = self.data.as_mut() { [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/fossick/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 431 ~ match self.data.as_mut() { Some(data) => { [INFO] [stdout] 432 | for filter in data.filters.values_mut() { [INFO] [stdout] ... [INFO] [stdout] 446 | } [INFO] [stdout] 447 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:471:22 [INFO] [stdout] | [INFO] [stdout] 471 | let url = if let Some(url) = &self.page_url { [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] 472 | url.clone() [INFO] [stdout] 473 | } else if let Some(path) = &self.file_path { [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/fossick/mod.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | } else if let Some(path) = &self.file_path { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ let url = match &self.page_url { Some(url) => { [INFO] [stdout] 472 | url.clone() [INFO] [stdout] 473 ~ } _ => { match &self.file_path { Some(path) => { [INFO] [stdout] 474 | if let Some(root) = &self.root_path { [INFO] [stdout] ... [INFO] [stdout] 478 | } [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | options [INFO] [stdout] ... [INFO] [stdout] 483 | return Err(()); [INFO] [stdout] 484 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | if let Some(root) = &self.root_path { [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/fossick/mod.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 474 ~ match &self.root_path { Some(root) => { [INFO] [stdout] 475 | build_url(path, Some(root), options) [INFO] [stdout] 476 ~ } _ => { [INFO] [stdout] 477 | build_url(path, None, options) [INFO] [stdout] 478 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:282:40 [INFO] [stdout] | [INFO] [stdout] 282 | ... if let Some((filter, value)) = node.get_attribute_pair(filter) { [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/fossick/parser.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match node.get_attribute_pair(filter) { Some((filter, value)) => { [INFO] [stdout] 283 | match data.filters.get_mut(&filter) { [INFO] [stdout] ... [INFO] [stdout] 290 | } [INFO] [stdout] 291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:297:40 [INFO] [stdout] | [INFO] [stdout] 297 | ... if let Some((sort, value)) = node.get_attribute_pair(sort) { [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/fossick/parser.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 297 ~ match node.get_attribute_pair(sort) { Some((sort, value)) => { [INFO] [stdout] 298 | data.sort.insert(sort, value); [INFO] [stdout] 299 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 306 | data.meta.insert(meta, value); [INFO] [stdout] 307 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:312:40 [INFO] [stdout] | [INFO] [stdout] 312 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 312 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 313 | data.default_meta.insert(meta, value); [INFO] [stdout] 314 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | ... if let Some(weight) = &node.weight { [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/fossick/parser.rs:361:29 [INFO] [stdout] | [INFO] [stdout] 361 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match &node.weight { Some(weight) => { [INFO] [stdout] 354 | node.current_value = [ [INFO] [stdout] ... [INFO] [stdout] 360 | ].concat(); [INFO] [stdout] 361 ~ } _ => { [INFO] [stdout] 362 | if let Some(auto_weight) = match &tag_name[..] { [INFO] [stdout] ... [INFO] [stdout] 378 | } [INFO] [stdout] 379 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:434:40 [INFO] [stdout] | [INFO] [stdout] 434 | ... if let Some((filter, value)) = node.get_attribute_pair(filter) { [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/fossick/parser.rs:443:37 [INFO] [stdout] | [INFO] [stdout] 443 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 434 ~ match node.get_attribute_pair(filter) { Some((filter, value)) => { [INFO] [stdout] 435 | match data.filters.get_mut(&filter) { [INFO] [stdout] ... [INFO] [stdout] 442 | } [INFO] [stdout] 443 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:449:40 [INFO] [stdout] | [INFO] [stdout] 449 | ... if let Some((sort, value)) = node.get_attribute_pair(sort) { [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/fossick/parser.rs:451:37 [INFO] [stdout] | [INFO] [stdout] 451 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 449 ~ match node.get_attribute_pair(sort) { Some((sort, value)) => { [INFO] [stdout] 450 | data.sort.insert(sort, value); [INFO] [stdout] 451 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:459:37 [INFO] [stdout] | [INFO] [stdout] 459 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 457 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 458 | data.meta.insert(meta, value); [INFO] [stdout] 459 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:464:40 [INFO] [stdout] | [INFO] [stdout] 464 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 464 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 465 | data.default_meta.insert(meta, value); [INFO] [stdout] 466 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:505:36 [INFO] [stdout] | [INFO] [stdout] 505 | ... if let Some(anchor_text) = data.anchor_content.get_mut(&anchor_id) { [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/fossick/parser.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 505 ~ match data.anchor_content.get_mut(&anchor_id) { Some(anchor_text) => { [INFO] [stdout] 506 | anchor_text.push_str(element_text); [INFO] [stdout] 507 ~ } _ => { [INFO] [stdout] 508 | data.anchor_content.insert(anchor_id, element_text.to_string()); [INFO] [stdout] 509 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:635:16 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(value) = ATTRIBUTE_MATCH.captures(chunk) { [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/fossick/parser.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 635 ~ match ATTRIBUTE_MATCH.captures(chunk) { Some(value) => { [INFO] [stdout] 636 | let name = value.name("name").unwrap().as_str().to_owned(); [INFO] [stdout] 637 | let attr = value.name("attribute").unwrap().as_str().to_owned(); [INFO] [stdout] 638 | format!("{}:{}", name, el.get_attribute(&attr).unwrap_or_default()) [INFO] [stdout] 639 ~ } _ => { [INFO] [stdout] 640 | chunk.to_owned() [INFO] [stdout] 641 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/index/mod.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | while let Some(collision) = fragment_hashes.get(short_hash) { [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/index/mod.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/logging.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(out) = &self.out { [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/logging.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match &self.out { Some(out) => { [INFO] [stdout] 132 | // We currently aren't worried about logging failures. [INFO] [stdout] ... [INFO] [stdout] 153 | }; [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/output/mod.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | if let Some(mut file) = file { [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/output/mod.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 370 ~ match file { Some(mut file) => { [INFO] [stdout] 371 | file.write_all(&contents).await.unwrap(); [INFO] [stdout] 372 ~ } _ => { [INFO] [stdout] 373 | return Some(SyntheticFile { filename, contents }); [INFO] [stdout] 374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/output/mod.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | if let Some(mut file) = file { [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/output/mod.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 379 ~ match file { Some(mut file) => { [INFO] [stdout] 380 | for chunk in content_chunks { [INFO] [stdout] ... [INFO] [stdout] 383 | None [INFO] [stdout] 384 ~ } _ => { [INFO] [stdout] 385 | return Some(SyntheticFile { [INFO] [stdout] ... [INFO] [stdout] 388 | }); [INFO] [stdout] 389 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serve.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Err(e) = server.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/serve.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 32 ~ match server.await { Err(e) => { [INFO] [stdout] 33 | panic!("Couldn't serve the directory: {e:?}"); [INFO] [stdout] 34 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if let Err(e) = outgoing_tx.send(ServiceResponse { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 105 | || message_id: Some(message_id), [INFO] [stdout] 106 | || payload, [INFO] [stdout] 107 | || }) { [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] | [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/service/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match outgoing_tx.send(ServiceResponse { [INFO] [stdout] 105 | message_id: Some(message_id), [INFO] [stdout] 106 | payload, [INFO] [stdout] 107 ~ }) { Err(e) => { [INFO] [stdout] 108 | eprintln!("Internal error: Failed to respond to message {message_id}: {e}"); [INFO] [stdout] 109 | std::process::exit(1); [INFO] [stdout] 110 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 168 | if file_path.is_none() && url.is_none() { [INFO] [stdout] ... [INFO] [stdout] 184 | } [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 197 | let data = DomParserResult { [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 226 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 227 | let defaults: PagefindInboundConfig = [INFO] [stdout] ... [INFO] [stdout] 237 | } [INFO] [stdout] 238 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 242 | index.build_indexes().await; [INFO] [stdout] 243 | send(ResponseAction::BuildIndex {}); [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 250 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 251 | index.build_indexes().await; [INFO] [stdout] ... [INFO] [stdout] 255 | }); [INFO] [stdout] 256 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 259 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 260 | index.build_indexes().await; [INFO] [stdout] ... [INFO] [stdout] 270 | }); [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pagefind` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fossick/parser.rs [INFO] [stderr] * src/logging.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/fossick/parser.rs:121:25 [INFO] [stderr] | [INFO] [stderr] 121 | ( ($( $x:ident ),*) $y:expr_2021 ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/logging.rs:35:6 [INFO] [stderr] | [INFO] [stderr] 35 | ($len:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fossick/parser.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | ( ($( $x:ident ),*) $y:expr ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 121 | ( ($( $x:ident ),*) $y:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/logging.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | ($len:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 35 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/fossick/mod.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | std::env::set_var("PAGEFIND_SOURCE", "somewhere"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 613 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 614 ~ unsafe { std::env::set_var("PAGEFIND_SOURCE", "somewhere") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/fossick/mod.rs:985:9 [INFO] [stdout] | [INFO] [stdout] 985 | std::env::set_var("PAGEFIND_SITE", "hello/world"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 985 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 986 ~ unsafe { std::env::set_var("PAGEFIND_SITE", "hello/world") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Ok(glob) = Glob::new(&glob) { [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/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match Glob::new(&glob) { Ok(glob) => { [INFO] [stdout] 44 | glob.walk(&dir) [INFO] [stdout] ... [INFO] [stdout] 48 | .collect() [INFO] [stdout] 49 ~ } _ => { [INFO] [stdout] 50 | log.error(format!( [INFO] [stdout] ... [INFO] [stdout] 55 | std::process::exit(1); [INFO] [stdout] 56 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(lang_pages) = language_map.get_mut(&language) { [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/lib.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match language_map.get_mut(&language) { Some(lang_pages) => { [INFO] [stdout] 143 | lang_pages.push(page.clone()); [INFO] [stdout] 144 ~ } _ => { [INFO] [stdout] 145 | language_map.insert(language, vec![page.clone()]); [INFO] [stdout] 146 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(primary) = language_map.get_mut(&primary_language) { [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/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 197 ~ match language_map.get_mut(&primary_language) { Some(primary) => { [INFO] [stdout] 198 | primary.append(&mut unknown_pages); [INFO] [stdout] 199 ~ } _ => { [INFO] [stdout] 200 | language_map.insert(primary_language, unknown_pages); [INFO] [stdout] 201 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | let is_gzip = if let Ok(read) = br.fill_buf().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/fossick/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 122 ~ let is_gzip = match br.fill_buf().await { Ok(read) => { [INFO] [stdout] 123 | read.len() >= 3 && read[0] == 0x1F && read[1] == 0x8B && read[2] == 0x08 [INFO] [stdout] 124 ~ } _ => { [INFO] [stdout] 125 | false [INFO] [stdout] 126 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | while let Ok(read) = br.read(&mut buf).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/fossick/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | if let Err(error) = rewriter.write(&buf[..read]) { [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/fossick/mod.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match rewriter.write(&buf[..read]) { Err(error) => { [INFO] [stdout] 135 | println!( [INFO] [stdout] ... [INFO] [stdout] 139 | return Ok(()); [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | while let Ok(read) = br.read(&mut buf).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/fossick/mod.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | if let Err(error) = rewriter.write(&buf[..read]) { [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/fossick/mod.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 147 ~ match rewriter.write(&buf[..read]) { Err(error) => { [INFO] [stdout] 148 | println!( [INFO] [stdout] ... [INFO] [stdout] 152 | return Ok(()); [INFO] [stdout] 153 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | while let Ok(read) = br.read(&mut buf).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/fossick/mod.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | if let Err(error) = rewriter.write(&buf[..read]) { [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/fossick/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 181 ~ match rewriter.write(&buf[..read]) { Err(error) => { [INFO] [stdout] 182 | println!( [INFO] [stdout] ... [INFO] [stdout] 192 | return Ok(()); [INFO] [stdout] 193 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:236:16 [INFO] [stdout] | [INFO] [stdout] 236 | if let Some(repeat) = map.get_mut(&word) { [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/fossick/mod.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 236 ~ match map.get_mut(&word) { Some(repeat) => { [INFO] [stdout] 237 | repeat.push(entry); [INFO] [stdout] 238 ~ } _ => { [INFO] [stdout] 239 | map.insert(word, vec![entry]); [INFO] [stdout] 240 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | if let Some(data) = self.data.as_mut() { [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/fossick/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 431 ~ match self.data.as_mut() { Some(data) => { [INFO] [stdout] 432 | for filter in data.filters.values_mut() { [INFO] [stdout] ... [INFO] [stdout] 446 | } [INFO] [stdout] 447 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:471:22 [INFO] [stdout] | [INFO] [stdout] 471 | let url = if let Some(url) = &self.page_url { [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] 472 | url.clone() [INFO] [stdout] 473 | } else if let Some(path) = &self.file_path { [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/fossick/mod.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | } else if let Some(path) = &self.file_path { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ let url = match &self.page_url { Some(url) => { [INFO] [stdout] 472 | url.clone() [INFO] [stdout] 473 ~ } _ => { match &self.file_path { Some(path) => { [INFO] [stdout] 474 | if let Some(root) = &self.root_path { [INFO] [stdout] ... [INFO] [stdout] 478 | } [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | options [INFO] [stdout] ... [INFO] [stdout] 483 | return Err(()); [INFO] [stdout] 484 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/mod.rs:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | if let Some(root) = &self.root_path { [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/fossick/mod.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 474 ~ match &self.root_path { Some(root) => { [INFO] [stdout] 475 | build_url(path, Some(root), options) [INFO] [stdout] 476 ~ } _ => { [INFO] [stdout] 477 | build_url(path, None, options) [INFO] [stdout] 478 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:282:40 [INFO] [stdout] | [INFO] [stdout] 282 | ... if let Some((filter, value)) = node.get_attribute_pair(filter) { [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/fossick/parser.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match node.get_attribute_pair(filter) { Some((filter, value)) => { [INFO] [stdout] 283 | match data.filters.get_mut(&filter) { [INFO] [stdout] ... [INFO] [stdout] 290 | } [INFO] [stdout] 291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:297:40 [INFO] [stdout] | [INFO] [stdout] 297 | ... if let Some((sort, value)) = node.get_attribute_pair(sort) { [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/fossick/parser.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 297 ~ match node.get_attribute_pair(sort) { Some((sort, value)) => { [INFO] [stdout] 298 | data.sort.insert(sort, value); [INFO] [stdout] 299 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 306 | data.meta.insert(meta, value); [INFO] [stdout] 307 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:312:40 [INFO] [stdout] | [INFO] [stdout] 312 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 312 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 313 | data.default_meta.insert(meta, value); [INFO] [stdout] 314 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | ... if let Some(weight) = &node.weight { [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/fossick/parser.rs:361:29 [INFO] [stdout] | [INFO] [stdout] 361 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match &node.weight { Some(weight) => { [INFO] [stdout] 354 | node.current_value = [ [INFO] [stdout] ... [INFO] [stdout] 360 | ].concat(); [INFO] [stdout] 361 ~ } _ => { [INFO] [stdout] 362 | if let Some(auto_weight) = match &tag_name[..] { [INFO] [stdout] ... [INFO] [stdout] 378 | } [INFO] [stdout] 379 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:434:40 [INFO] [stdout] | [INFO] [stdout] 434 | ... if let Some((filter, value)) = node.get_attribute_pair(filter) { [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/fossick/parser.rs:443:37 [INFO] [stdout] | [INFO] [stdout] 443 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 434 ~ match node.get_attribute_pair(filter) { Some((filter, value)) => { [INFO] [stdout] 435 | match data.filters.get_mut(&filter) { [INFO] [stdout] ... [INFO] [stdout] 442 | } [INFO] [stdout] 443 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:449:40 [INFO] [stdout] | [INFO] [stdout] 449 | ... if let Some((sort, value)) = node.get_attribute_pair(sort) { [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/fossick/parser.rs:451:37 [INFO] [stdout] | [INFO] [stdout] 451 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 449 ~ match node.get_attribute_pair(sort) { Some((sort, value)) => { [INFO] [stdout] 450 | data.sort.insert(sort, value); [INFO] [stdout] 451 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:459:37 [INFO] [stdout] | [INFO] [stdout] 459 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 457 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 458 | data.meta.insert(meta, value); [INFO] [stdout] 459 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:464:40 [INFO] [stdout] | [INFO] [stdout] 464 | ... if let Some((meta, value)) = node.get_attribute_pair(meta) { [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/fossick/parser.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 464 ~ match node.get_attribute_pair(meta) { Some((meta, value)) => { [INFO] [stdout] 465 | data.default_meta.insert(meta, value); [INFO] [stdout] 466 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:505:36 [INFO] [stdout] | [INFO] [stdout] 505 | ... if let Some(anchor_text) = data.anchor_content.get_mut(&anchor_id) { [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/fossick/parser.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 505 ~ match data.anchor_content.get_mut(&anchor_id) { Some(anchor_text) => { [INFO] [stdout] 506 | anchor_text.push_str(element_text); [INFO] [stdout] 507 ~ } _ => { [INFO] [stdout] 508 | data.anchor_content.insert(anchor_id, element_text.to_string()); [INFO] [stdout] 509 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fossick/parser.rs:635:16 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(value) = ATTRIBUTE_MATCH.captures(chunk) { [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/fossick/parser.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 635 ~ match ATTRIBUTE_MATCH.captures(chunk) { Some(value) => { [INFO] [stdout] 636 | let name = value.name("name").unwrap().as_str().to_owned(); [INFO] [stdout] 637 | let attr = value.name("attribute").unwrap().as_str().to_owned(); [INFO] [stdout] 638 | format!("{}:{}", name, el.get_attribute(&attr).unwrap_or_default()) [INFO] [stdout] 639 ~ } _ => { [INFO] [stdout] 640 | chunk.to_owned() [INFO] [stdout] 641 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/index/mod.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | while let Some(collision) = fragment_hashes.get(short_hash) { [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/index/mod.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/logging.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(out) = &self.out { [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/logging.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match &self.out { Some(out) => { [INFO] [stdout] 132 | // We currently aren't worried about logging failures. [INFO] [stdout] ... [INFO] [stdout] 153 | }; [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/output/mod.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | if let Some(mut file) = file { [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/output/mod.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 370 ~ match file { Some(mut file) => { [INFO] [stdout] 371 | file.write_all(&contents).await.unwrap(); [INFO] [stdout] 372 ~ } _ => { [INFO] [stdout] 373 | return Some(SyntheticFile { filename, contents }); [INFO] [stdout] 374 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/output/mod.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | if let Some(mut file) = file { [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/output/mod.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 379 ~ match file { Some(mut file) => { [INFO] [stdout] 380 | for chunk in content_chunks { [INFO] [stdout] ... [INFO] [stdout] 383 | None [INFO] [stdout] 384 ~ } _ => { [INFO] [stdout] 385 | return Some(SyntheticFile { [INFO] [stdout] ... [INFO] [stdout] 388 | }); [INFO] [stdout] 389 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/serve.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Err(e) = server.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/serve.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 32 ~ match server.await { Err(e) => { [INFO] [stdout] 33 | panic!("Couldn't serve the directory: {e:?}"); [INFO] [stdout] 34 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | if let Err(e) = outgoing_tx.send(ServiceResponse { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 105 | || message_id: Some(message_id), [INFO] [stdout] 106 | || payload, [INFO] [stdout] 107 | || }) { [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] | [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/service/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 104 ~ match outgoing_tx.send(ServiceResponse { [INFO] [stdout] 105 | message_id: Some(message_id), [INFO] [stdout] 106 | payload, [INFO] [stdout] 107 ~ }) { Err(e) => { [INFO] [stdout] 108 | eprintln!("Internal error: Failed to respond to message {message_id}: {e}"); [INFO] [stdout] 109 | std::process::exit(1); [INFO] [stdout] 110 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 168 | if file_path.is_none() && url.is_none() { [INFO] [stdout] ... [INFO] [stdout] 184 | } [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 197 | let data = DomParserResult { [INFO] [stdout] ... [INFO] [stdout] 218 | } [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 226 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 227 | let defaults: PagefindInboundConfig = [INFO] [stdout] ... [INFO] [stdout] 237 | } [INFO] [stdout] 238 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 242 | index.build_indexes().await; [INFO] [stdout] 243 | send(ResponseAction::BuildIndex {}); [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 250 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 251 | index.build_indexes().await; [INFO] [stdout] ... [INFO] [stdout] 255 | }); [INFO] [stdout] 256 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/service/mod.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | if let Some(index) = get_index(&mut indexes, index_id, err) { [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/service/mod.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 259 ~ match get_index(&mut indexes, index_id, err) { Some(index) => { [INFO] [stdout] 260 | index.build_indexes().await; [INFO] [stdout] ... [INFO] [stdout] 270 | }); [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pagefind v1.1.1 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/fossick/mod.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | std::env::set_var("PAGEFIND_SOURCE", "somewhere"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/fossick/mod.rs:985:9 [INFO] [stdout] | [INFO] [stdout] 985 | std::env::set_var("PAGEFIND_SITE", "hello/world"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [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 E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pagefind` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "c0d3831d7580d14a013e6fa87f9132b38bd08da7d0530ae2c63d1a4cd658e6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d3831d7580d14a013e6fa87f9132b38bd08da7d0530ae2c63d1a4cd658e6df", kill_on_drop: false }` [INFO] [stdout] c0d3831d7580d14a013e6fa87f9132b38bd08da7d0530ae2c63d1a4cd658e6df