[INFO] fetching crate egglog 0.2.0... [INFO] checking egglog-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate egglog 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate egglog 0.2.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate egglog 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate egglog 0.2.0 [INFO] tweaked toml for crates.io crate egglog 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate egglog 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5c2f96dae29318c8964f2b577658a0d5ddce55279061cc47628abc89634129d8 [INFO] running `Command { std: "docker" "start" "-a" "5c2f96dae29318c8964f2b577658a0d5ddce55279061cc47628abc89634129d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2f96dae29318c8964f2b577658a0d5ddce55279061cc47628abc89634129d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2f96dae29318c8964f2b577658a0d5ddce55279061cc47628abc89634129d8", kill_on_drop: false }` [INFO] [stdout] 5c2f96dae29318c8964f2b577658a0d5ddce55279061cc47628abc89634129d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e7cdb19eecfc88d0e5cccb500bc8e8556f6754d570ee3117d8f3f68a09bbf239 [INFO] running `Command { std: "docker" "start" "-a" "e7cdb19eecfc88d0e5cccb500bc8e8556f6754d570ee3117d8f3f68a09bbf239", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking generic_symbolic_expressions v5.0.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking symbol_table v0.3.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling pest v2.7.8 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking libtest-mimic v0.6.1 [INFO] [stderr] Compiling pest_meta v2.7.8 [INFO] [stderr] Compiling pest_generator v2.7.8 [INFO] [stderr] Compiling pest_derive v2.7.8 [INFO] [stderr] Checking graphviz-rust v0.6.6 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking egraph-serialize v0.1.0 [INFO] [stderr] Compiling egglog v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `egglog` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ast/mod.rs [INFO] [stderr] * src/function/index.rs [INFO] [stderr] * src/function/table.rs [INFO] [stderr] * src/sort/macros.rs [INFO] [stderr] * src/termdag.rs [INFO] [stderr] * src/unionfind.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/ast/mod.rs:256:8 [INFO] [stderr] | [INFO] [stderr] 256 | ($($e:expr_2021,)* ++ $tail: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/ast/mod.rs:256:27 [INFO] [stderr] | [INFO] [stderr] 256 | ($($e:expr_2021,)* ++ $tail: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/ast/mod.rs:261:8 [INFO] [stderr] | [INFO] [stderr] 261 | ($($e: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/function/table.rs:60:6 [INFO] [stderr] | [INFO] [stderr] 60 | ($slf:expr_2021, $hash:expr_2021, $inp: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/function/table.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | ($slf:expr_2021, $hash:expr_2021, $inp: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/function/table.rs:60:39 [INFO] [stderr] | [INFO] [stderr] 60 | ($slf:expr_2021, $hash:expr_2021, $inp: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/sort/macros.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($type_info: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/sort/macros.rs:24:72 [INFO] [stderr] | [INFO] [stderr] 24 | $name:literal = |$($param:ident : $param_t:ty),*| -> $ret:ty { $body: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/termdag.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ($e:expr_2021; $body:tt) => { [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] warning: elided lifetime has a name [INFO] [stderr] --> src/function/index.rs:63:40 [INFO] [stderr] | [INFO] [stderr] 60 | pub(crate) fn to_canonicalize<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 63 | ) -> impl Iterator + '_ { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | gen: usize, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | gen: 0, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.gen > 0 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `serde-1` [INFO] [stderr] --> src/unionfind.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg_attr(feature = "serde-1", derive(serde::Serialize, serde::Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `default`, and `wasm-bindgen` [INFO] [stderr] = help: consider adding `serde-1` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:96:77 [INFO] [stdout] | [INFO] [stdout] 96 | let res = format!("{}{}{}", self.reserved_string, sym, self.gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | self.gen += 1; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:111:73 [INFO] [stdout] | [INFO] [stdout] 111 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | self.gen += 1; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | self.gen > 0 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | gen: usize, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | gen: 0, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | self.gen += 1; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | self.gen > 0 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ast/mod.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | ($($e:expr,)* ++ $tail: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] 256 | ($($e:expr_2021,)* ++ $tail:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ast/mod.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | ($($e:expr,)* ++ $tail: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] 256 | ($($e:expr,)* ++ $tail: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/ast/mod.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | ($($e: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] 261 | ($($e:expr_2021),*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/function/index.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn to_canonicalize<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 63 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/function/table.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | ($slf:expr, $hash:expr, $inp: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] 60 | ($slf:expr_2021, $hash:expr, $inp:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/function/table.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | ($slf:expr, $hash:expr, $inp: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] 60 | ($slf:expr, $hash:expr_2021, $inp:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/function/table.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | ($slf:expr, $hash:expr, $inp: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] 60 | ($slf:expr, $hash:expr, $inp: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/sort/macros.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ($type_info: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] 23 | ($type_info: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/sort/macros.rs:24:78 [INFO] [stdout] | [INFO] [stdout] 24 | $name:literal = |$($param:ident : $param_t:ty),*| -> $ret:ty { $body: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] 24 | $name:literal = |$($param:ident : $param_t:ty),*| -> $ret:ty { $body: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/termdag.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ($e:expr; $body:tt) => { [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] 36 | ($e:expr_2021; $body:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-1` [INFO] [stdout] --> src/unionfind.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde-1", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `default`, and `wasm-bindgen` [INFO] [stdout] = help: consider adding `serde-1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/gj.rs:836:25 [INFO] [stdout] | [INFO] [stdout] 836 | let this = &mut *self.0.get(); [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gj.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | unsafe fn force_mut(&self, access: &TrieAccess) -> *mut LazyTrieInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:619:16 [INFO] [stdout] | [INFO] [stdout] 619 | if let Some(func) = self.functions.get(&parent_name) { [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:622:13 [INFO] [stdout] | [INFO] [stdout] 622 | } 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] 619 ~ match self.functions.get(&parent_name) { Some(func) => { [INFO] [stdout] 620 | func.get(&[value]) [INFO] [stdout] 621 | .unwrap_or_else(|| panic!("No value {:?} in {parent_name}.", value,)) [INFO] [stdout] 622 ~ } _ => { [INFO] [stdout] 623 | value [INFO] [stdout] 624 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:699:16 [INFO] [stdout] | [INFO] [stdout] 699 | if let Some(prog) = &merge_prog { [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:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 699 ~ match &merge_prog { Some(prog) => { [INFO] [stdout] 700 | // TODO: error handling? [INFO] [stdout] ... [INFO] [stdout] 706 | function.insert(inputs, merged, self.timestamp); [INFO] [stdout] 707 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1094:12 [INFO] [stdout] | [INFO] [stdout] 1094 | if let Some(rules) = self.rulesets.get_mut(&ruleset) { [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:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | } 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] 1094 ~ match self.rulesets.get_mut(&ruleset) { Some(rules) => { [INFO] [stdout] 1095 | match rules { [INFO] [stdout] ... [INFO] [stdout] 1104 | } [INFO] [stdout] 1105 ~ } _ => { [INFO] [stdout] 1106 | Err(Error::NoSuchRuleset(ruleset)) [INFO] [stdout] 1107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1185:20 [INFO] [stdout] | [INFO] [stdout] 1185 | if let ResolvedExpr::Lit(_ann, Literal::Int(i)) = value { [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:1187:17 [INFO] [stdout] | [INFO] [stdout] 1187 | } 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] 1185 ~ match value { ResolvedExpr::Lit(_ann, Literal::Int(i)) => { [INFO] [stdout] 1186 | self.interactive_mode = i != 0; [INFO] [stdout] 1187 ~ } _ => { [INFO] [stdout] 1188 | panic!("interactive_mode must be an integer"); [INFO] [stdout] 1189 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1192 | if let ResolvedExpr::Lit(_ann, Literal::Int(i)) = value { [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:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | } 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] 1192 ~ match value { ResolvedExpr::Lit(_ann, Literal::Int(i)) => { [INFO] [stdout] 1193 | self.match_limit = i as usize; [INFO] [stdout] 1194 ~ } _ => { [INFO] [stdout] 1195 | panic!("match_limit must be an integer"); [INFO] [stdout] 1196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1199:20 [INFO] [stdout] | [INFO] [stdout] 1199 | if let ResolvedExpr::Lit(_ann, Literal::Int(i)) = value { [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:1201:17 [INFO] [stdout] | [INFO] [stdout] 1201 | } 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] 1199 ~ match value { ResolvedExpr::Lit(_ann, Literal::Int(i)) => { [INFO] [stdout] 1200 | self.node_limit = i as usize; [INFO] [stdout] 1201 ~ } _ => { [INFO] [stdout] 1202 | panic!("node_limit must be an integer"); [INFO] [stdout] 1203 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1319:20 [INFO] [stdout] | [INFO] [stdout] 1319 | if let Err(e) = result { [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:1321:17 [INFO] [stdout] | [INFO] [stdout] 1321 | } 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] 1319 ~ match result { Err(e) => { [INFO] [stdout] 1320 | log::info!("Command failed as expected: {e}"); [INFO] [stdout] 1321 ~ } _ => { [INFO] [stdout] 1322 | return Err(Error::ExpectFail); [INFO] [stdout] 1323 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actions.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some((i, _ty)) = self.locals.get_full(var) { [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/actions.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 76 ~ match self.locals.get_full(var) { Some((i, _ty)) => { [INFO] [stdout] 77 | self.instructions.push(Instruction::Load(Load::Stack(i))); [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | let (i, _, _ty) = self.types.get_full(&var.name).unwrap(); [INFO] [stdout] 80 | self.instructions.push(Instruction::Load(Load::Subst(i))); [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actions.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(prog) = function.merge.on_merge.clone() { [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/actions.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match function.merge.on_merge.clone() { Some(prog) => { [INFO] [stdout] 243 | let values = [old_value, new_value]; [INFO] [stdout] ... [INFO] [stdout] 246 | self.run_actions(&mut Vec::new(), &values, &prog, true)?; [INFO] [stdout] 247 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actions.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | let value = if let Some(out) = function.nodes.get(values) { [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/actions.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | } else if make_defaults { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 281 ~ let value = match function.nodes.get(values) { Some(out) => { [INFO] [stdout] 282 | out.value [INFO] [stdout] 283 ~ } _ => if make_defaults { [INFO] [stdout] 284 | let ts = self.timestamp; [INFO] [stdout] ... [INFO] [stdout] 314 | )))); [INFO] [stdout] 315 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast/remove_globals.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(resolved_var) = expr.get_global_var() { [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/ast/remove_globals.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | } 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] 190 ~ match expr.get_global_var() { Some(resolved_var) => { [INFO] [stdout] 191 | globals.get(&resolved_var).unwrap().clone() [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | expr [INFO] [stdout] 194 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/constraint.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | if let Some(typ) = type_info.lookup_global(v) { [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/constraint.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | } 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] 648 ~ match type_info.lookup_global(v) { Some(typ) => { [INFO] [stdout] 649 | Some(Constraint::Assign(arg.clone(), typ.clone())) [INFO] [stdout] 650 ~ } _ => { [INFO] [stdout] 651 | panic!("All global variables should be bound before type checking") [INFO] [stdout] 652 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/constraint.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | if let Some(sort) = self.sort.clone() { [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/constraint.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | } else if let Some((first, rest)) = arguments.split_first() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 775 ~ match self.sort.clone() { Some(sort) => { [INFO] [stdout] 776 | constraints.extend( [INFO] [stdout] ... [INFO] [stdout] 781 | ) [INFO] [stdout] 782 ~ } _ => if let Some((first, rest)) = arguments.split_first() { [INFO] [stdout] 783 | constraints.extend( [INFO] [stdout] ... [INFO] [stdout] 787 | ); [INFO] [stdout] 788 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/mod.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | let merge_vals = if let Some(merge_expr) = &decl.merge { [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/function/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } else if output.is_eq_sort() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ let merge_vals = match &decl.merge { Some(merge_expr) => { [INFO] [stdout] 115 | let (actions, mapped_expr) = merge_expr.to_core_actions( [INFO] [stdout] ... [INFO] [stdout] 124 | MergeFn::Expr(Rc::new(program)) [INFO] [stdout] 125 ~ } _ => if output.is_eq_sort() { [INFO] [stdout] 126 | MergeFn::Union [INFO] [stdout] 127 | } else { [INFO] [stdout] 128 | MergeFn::AssertEq [INFO] [stdout] 129 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/function/mod.rs:333:10 [INFO] [stdout] | [INFO] [stdout] 333 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/function/mod.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | timestamps: &Range, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 333 | ) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/mod.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | let (args, out) = if let Some(x) = self.nodes.get_index(i, true) { [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/function/mod.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | } 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] 414 ~ let (args, out) = match self.nodes.get_index(i, true) { Some(x) => { [INFO] [stdout] 415 | x [INFO] [stdout] 416 ~ } _ => { [INFO] [stdout] 417 | // Entry is stale [INFO] [stdout] 418 | return result; [INFO] [stdout] 419 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/index.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(index) = self.0.iter().position(|index| index.sort() == v.tag) { [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/function/index.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 82 ~ match self.0.iter().position(|index| index.sort() == v.tag) { Some(index) => { [INFO] [stdout] 83 | (self.0)[index].add(v, i); [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | let mut index = ColumnIndex::new(v.tag); [INFO] [stdout] 86 | index.add(v, i); [INFO] [stdout] 87 | self.0.push(index); [INFO] [stdout] 88 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/table.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | let entry = if let Some(entry) = self.table.remove_entry(hash, search_for!(self, hash, inp)) [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/function/table.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | } 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] 240 ~ let entry = match self.table.remove_entry(hash, search_for!(self, hash, inp)) [INFO] [stdout] 241 ~ { Some(entry) => { [INFO] [stdout] 242 | entry [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | return false; [INFO] [stdout] 245 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + '_` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/function/table.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/function/table.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | range: &Range, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 306 | ) -> impl Iterator + '_ + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:509:24 [INFO] [stdout] | [INFO] [stdout] 509 | if let Some(info) = vars.get_mut(&v) { [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/gj.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 509 ~ match vars.get_mut(&v) { Some(info) => { [INFO] [stdout] 510 | info.intersected_on += 1; [INFO] [stdout] 511 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 664 | if let Some((mut ctx, program, cols)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 665 | | Context::new(self, cq, timestamp_ranges, include_subsumed) [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/gj.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 664 ~ match Context::new(self, cq, timestamp_ranges, include_subsumed) [INFO] [stdout] 665 ~ { Some((mut ctx, program, cols)) => { [INFO] [stdout] 666 | let start = Instant::now(); [INFO] [stdout] ... [INFO] [stdout] 720 | } [INFO] [stdout] 721 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:689:24 [INFO] [stdout] | [INFO] [stdout] 689 | if let Some(col) = self.functions[&atom.head].column_index(*target, ts) { [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/gj.rs:691:21 [INFO] [stdout] | [INFO] [stdout] 691 | } 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] 689 ~ match self.functions[&atom.head].column_index(*target, ts) { Some(col) => { [INFO] [stdout] 690 | tries.push(LazyTrie::from_column_index(col)) [INFO] [stdout] 691 ~ } _ => { [INFO] [stdout] 692 | tries.push(LazyTrie::default()); [INFO] [stdout] 693 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:767:19 [INFO] [stdout] | [INFO] [stdout] 767 | } else if let Some((mut ctx, program, _)) = Context::new(self, cq, &[], include_subsumed) { [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/gj.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 767 ~ } else { match Context::new(self, cq, &[], include_subsumed) { Some((mut ctx, program, _)) => { [INFO] [stdout] 768 | let mut meausrements = HashMap::>::default(); [INFO] [stdout] ... [INFO] [stdout] 776 | .unwrap_or(()); [INFO] [stdout] 777 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:940:28 [INFO] [stdout] | [INFO] [stdout] 940 | if let LazyTrieInner::Delayed(ref mut v) = e.get_mut().0.get_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/gj.rs:942:25 [INFO] [stdout] | [INFO] [stdout] 942 | } 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] 940 ~ match e.get_mut().0.get_mut() { LazyTrieInner::Delayed(ref mut v) => { [INFO] [stdout] 941 | v.push(i as RowIdx) [INFO] [stdout] 942 ~ } _ => { [INFO] [stdout] 943 | unreachable!() [INFO] [stdout] 944 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:972:20 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some((tup, out)) = self.function.nodes.get_index(i, self.include_subsumed) { [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/gj.rs:974:17 [INFO] [stdout] | [INFO] [stdout] 974 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 972 ~ match self.function.nodes.get_index(i, self.include_subsumed) { Some((tup, out)) => { [INFO] [stdout] 973 | insert(i, tup, out, tup[self.column]) [INFO] [stdout] 974 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:980:20 [INFO] [stdout] | [INFO] [stdout] 980 | if let Some((tup, out)) = self.function.nodes.get_index(i, self.include_subsumed) { [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/gj.rs:982:17 [INFO] [stdout] | [INFO] [stdout] 982 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 980 ~ match self.function.nodes.get_index(i, self.include_subsumed) { Some((tup, out)) => { [INFO] [stdout] 981 | insert(i, tup, out, out.value) [INFO] [stdout] 982 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typechecking.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if let Ok(sort) = Arc::downcast(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/typechecking.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ match Arc::downcast(sort) { Ok(sort) => { [INFO] [stdout] 103 | if pred(&sort) { [INFO] [stdout] 104 | return Some(sort); [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typechecking.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(sort) = self.sorts.get(name) { [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/typechecking.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | } 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] 141 ~ match self.sorts.get(name) { Some(sort) => { [INFO] [stdout] 142 | Ok(sort.clone()) [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | Err(TypeError::Unbound(*name)) [INFO] [stdout] 145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typechecking.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let output = if let Some(sort) = self.sorts.get(&func.schema.output) { [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/typechecking.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | } 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] 148 ~ let output = match self.sorts.get(&func.schema.output) { Some(sort) => { [INFO] [stdout] 149 | Ok(sort.clone()) [INFO] [stdout] 150 ~ } _ => { [INFO] [stdout] 151 | Err(TypeError::Unbound(func.schema.output)) [INFO] [stdout] 152 ~ }}?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `egglog` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ast/mod.rs [INFO] [stderr] * src/function/index.rs [INFO] [stderr] * src/function/table.rs [INFO] [stderr] * src/sort/macros.rs [INFO] [stderr] * src/termdag.rs [INFO] [stderr] * src/unionfind.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/ast/mod.rs:256:8 [INFO] [stderr] | [INFO] [stderr] 256 | ($($e:expr_2021,)* ++ $tail: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/ast/mod.rs:256:27 [INFO] [stderr] | [INFO] [stderr] 256 | ($($e:expr_2021,)* ++ $tail: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/ast/mod.rs:261:8 [INFO] [stderr] | [INFO] [stderr] 261 | ($($e: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/function/table.rs:60:6 [INFO] [stderr] | [INFO] [stderr] 60 | ($slf:expr_2021, $hash:expr_2021, $inp: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/function/table.rs:60:22 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | gen: usize, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | gen: 0, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 60 | ($slf:expr_2021, $hash:expr_2021, $inp:expr_2021) => { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.gen > 0 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:96:77 [INFO] [stdout] | [INFO] [stdout] 96 | let res = format!("{}{}{}", self.reserved_string, sym, self.gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | self.gen += 1; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:111:73 [INFO] [stdout] | [INFO] [stdout] 111 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | self.gen += 1; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | self.gen > 0 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | gen: usize, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | gen: 0, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/function/table.rs:60:39 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | self.gen += 1; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 60 | ($slf:expr_2021, $hash:expr_2021, $inp: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/sort/macros.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($type_info:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | self.gen > 0 [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [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/sort/macros.rs:24:72 [INFO] [stderr] | [INFO] [stderr] 24 | $name:literal = |$($param:ident : $param_t:ty),*| -> $ret:ty { $body: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/termdag.rs:36:6 [INFO] [stderr] | [INFO] [stderr] 36 | ($e:expr_2021; $body:tt) => { [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] warning: elided lifetime has a name [INFO] [stderr] --> src/function/index.rs:63:40 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ast/mod.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | ($($e:expr,)* ++ $tail: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] 256 | ($($e:expr_2021,)* ++ $tail:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 60 | pub(crate) fn to_canonicalize<'a>( [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ast/mod.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | ($($e:expr,)* ++ $tail: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] 256 | ($($e:expr,)* ++ $tail:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ast/mod.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | ($($e: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] 261 | ($($e:expr_2021),*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stderr] 63 | ) -> impl Iterator + '_ { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `serde-1` [INFO] [stderr] --> src/unionfind.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg_attr(feature = "serde-1", derive(serde::Serialize, serde::Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `default`, and `wasm-bindgen` [INFO] [stderr] = help: consider adding `serde-1` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 2 warnings emitted [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: elided lifetime has a name [INFO] [stdout] --> src/function/index.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn to_canonicalize<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 63 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/function/table.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | ($slf:expr, $hash:expr, $inp: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] 60 | ($slf:expr_2021, $hash:expr, $inp:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/function/table.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | ($slf:expr, $hash:expr, $inp: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] 60 | ($slf:expr, $hash:expr_2021, $inp:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/function/table.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | ($slf:expr, $hash:expr, $inp: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] 60 | ($slf:expr, $hash:expr, $inp: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/sort/macros.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ($type_info: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] 23 | ($type_info: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/sort/macros.rs:24:78 [INFO] [stdout] | [INFO] [stdout] 24 | $name:literal = |$($param:ident : $param_t:ty),*| -> $ret:ty { $body: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] 24 | $name:literal = |$($param:ident : $param_t:ty),*| -> $ret:ty { $body: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/termdag.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ($e:expr; $body:tt) => { [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] 36 | ($e:expr_2021; $body:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-1` [INFO] [stdout] --> src/unionfind.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde-1", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `default`, and `wasm-bindgen` [INFO] [stdout] = help: consider adding `serde-1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/gj.rs:836:25 [INFO] [stdout] | [INFO] [stdout] 836 | let this = &mut *self.0.get(); [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gj.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | unsafe fn force_mut(&self, access: &TrieAccess) -> *mut LazyTrieInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:619:16 [INFO] [stdout] | [INFO] [stdout] 619 | if let Some(func) = self.functions.get(&parent_name) { [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:622:13 [INFO] [stdout] | [INFO] [stdout] 622 | } 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] 619 ~ match self.functions.get(&parent_name) { Some(func) => { [INFO] [stdout] 620 | func.get(&[value]) [INFO] [stdout] 621 | .unwrap_or_else(|| panic!("No value {:?} in {parent_name}.", value,)) [INFO] [stdout] 622 ~ } _ => { [INFO] [stdout] 623 | value [INFO] [stdout] 624 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:699:16 [INFO] [stdout] | [INFO] [stdout] 699 | if let Some(prog) = &merge_prog { [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:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 699 ~ match &merge_prog { Some(prog) => { [INFO] [stdout] 700 | // TODO: error handling? [INFO] [stdout] ... [INFO] [stdout] 706 | function.insert(inputs, merged, self.timestamp); [INFO] [stdout] 707 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1094:12 [INFO] [stdout] | [INFO] [stdout] 1094 | if let Some(rules) = self.rulesets.get_mut(&ruleset) { [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:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | } 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] 1094 ~ match self.rulesets.get_mut(&ruleset) { Some(rules) => { [INFO] [stdout] 1095 | match rules { [INFO] [stdout] ... [INFO] [stdout] 1104 | } [INFO] [stdout] 1105 ~ } _ => { [INFO] [stdout] 1106 | Err(Error::NoSuchRuleset(ruleset)) [INFO] [stdout] 1107 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1185:20 [INFO] [stdout] | [INFO] [stdout] 1185 | if let ResolvedExpr::Lit(_ann, Literal::Int(i)) = value { [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:1187:17 [INFO] [stdout] | [INFO] [stdout] 1187 | } 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] 1185 ~ match value { ResolvedExpr::Lit(_ann, Literal::Int(i)) => { [INFO] [stdout] 1186 | self.interactive_mode = i != 0; [INFO] [stdout] 1187 ~ } _ => { [INFO] [stdout] 1188 | panic!("interactive_mode must be an integer"); [INFO] [stdout] 1189 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1192 | if let ResolvedExpr::Lit(_ann, Literal::Int(i)) = value { [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:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | } 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] 1192 ~ match value { ResolvedExpr::Lit(_ann, Literal::Int(i)) => { [INFO] [stdout] 1193 | self.match_limit = i as usize; [INFO] [stdout] 1194 ~ } _ => { [INFO] [stdout] 1195 | panic!("match_limit must be an integer"); [INFO] [stdout] 1196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1199:20 [INFO] [stdout] | [INFO] [stdout] 1199 | if let ResolvedExpr::Lit(_ann, Literal::Int(i)) = value { [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:1201:17 [INFO] [stdout] | [INFO] [stdout] 1201 | } 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] 1199 ~ match value { ResolvedExpr::Lit(_ann, Literal::Int(i)) => { [INFO] [stdout] 1200 | self.node_limit = i as usize; [INFO] [stdout] 1201 ~ } _ => { [INFO] [stdout] 1202 | panic!("node_limit must be an integer"); [INFO] [stdout] 1203 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1319:20 [INFO] [stdout] | [INFO] [stdout] 1319 | if let Err(e) = result { [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:1321:17 [INFO] [stdout] | [INFO] [stdout] 1321 | } 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] 1319 ~ match result { Err(e) => { [INFO] [stdout] 1320 | log::info!("Command failed as expected: {e}"); [INFO] [stdout] 1321 ~ } _ => { [INFO] [stdout] 1322 | return Err(Error::ExpectFail); [INFO] [stdout] 1323 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actions.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some((i, _ty)) = self.locals.get_full(var) { [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/actions.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 76 ~ match self.locals.get_full(var) { Some((i, _ty)) => { [INFO] [stdout] 77 | self.instructions.push(Instruction::Load(Load::Stack(i))); [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | let (i, _, _ty) = self.types.get_full(&var.name).unwrap(); [INFO] [stdout] 80 | self.instructions.push(Instruction::Load(Load::Subst(i))); [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actions.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(prog) = function.merge.on_merge.clone() { [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/actions.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match function.merge.on_merge.clone() { Some(prog) => { [INFO] [stdout] 243 | let values = [old_value, new_value]; [INFO] [stdout] ... [INFO] [stdout] 246 | self.run_actions(&mut Vec::new(), &values, &prog, true)?; [INFO] [stdout] 247 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actions.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | let value = if let Some(out) = function.nodes.get(values) { [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/actions.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | } else if make_defaults { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 281 ~ let value = match function.nodes.get(values) { Some(out) => { [INFO] [stdout] 282 | out.value [INFO] [stdout] 283 ~ } _ => if make_defaults { [INFO] [stdout] 284 | let ts = self.timestamp; [INFO] [stdout] ... [INFO] [stdout] 314 | )))); [INFO] [stdout] 315 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ast/remove_globals.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(resolved_var) = expr.get_global_var() { [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/ast/remove_globals.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | } 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] 190 ~ match expr.get_global_var() { Some(resolved_var) => { [INFO] [stdout] 191 | globals.get(&resolved_var).unwrap().clone() [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | expr [INFO] [stdout] 194 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/constraint.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | if let Some(typ) = type_info.lookup_global(v) { [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/constraint.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | } 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] 648 ~ match type_info.lookup_global(v) { Some(typ) => { [INFO] [stdout] 649 | Some(Constraint::Assign(arg.clone(), typ.clone())) [INFO] [stdout] 650 ~ } _ => { [INFO] [stdout] 651 | panic!("All global variables should be bound before type checking") [INFO] [stdout] 652 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/constraint.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | if let Some(sort) = self.sort.clone() { [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/constraint.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | } else if let Some((first, rest)) = arguments.split_first() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 775 ~ match self.sort.clone() { Some(sort) => { [INFO] [stdout] 776 | constraints.extend( [INFO] [stdout] ... [INFO] [stdout] 781 | ) [INFO] [stdout] 782 ~ } _ => if let Some((first, rest)) = arguments.split_first() { [INFO] [stdout] 783 | constraints.extend( [INFO] [stdout] ... [INFO] [stdout] 787 | ); [INFO] [stdout] 788 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/mod.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | let merge_vals = if let Some(merge_expr) = &decl.merge { [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/function/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } else if output.is_eq_sort() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ let merge_vals = match &decl.merge { Some(merge_expr) => { [INFO] [stdout] 115 | let (actions, mapped_expr) = merge_expr.to_core_actions( [INFO] [stdout] ... [INFO] [stdout] 124 | MergeFn::Expr(Rc::new(program)) [INFO] [stdout] 125 ~ } _ => if output.is_eq_sort() { [INFO] [stdout] 126 | MergeFn::Union [INFO] [stdout] 127 | } else { [INFO] [stdout] 128 | MergeFn::AssertEq [INFO] [stdout] 129 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/function/mod.rs:333:10 [INFO] [stdout] | [INFO] [stdout] 333 | ) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/function/mod.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | timestamps: &Range, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 333 | ) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/mod.rs:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | let (args, out) = if let Some(x) = self.nodes.get_index(i, true) { [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/function/mod.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | } 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] 414 ~ let (args, out) = match self.nodes.get_index(i, true) { Some(x) => { [INFO] [stdout] 415 | x [INFO] [stdout] 416 ~ } _ => { [INFO] [stdout] 417 | // Entry is stale [INFO] [stdout] 418 | return result; [INFO] [stdout] 419 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/index.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(index) = self.0.iter().position(|index| index.sort() == v.tag) { [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/function/index.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 82 ~ match self.0.iter().position(|index| index.sort() == v.tag) { Some(index) => { [INFO] [stdout] 83 | (self.0)[index].add(v, i); [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | let mut index = ColumnIndex::new(v.tag); [INFO] [stdout] 86 | index.add(v, i); [INFO] [stdout] 87 | self.0.push(index); [INFO] [stdout] 88 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/function/table.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | let entry = if let Some(entry) = self.table.remove_entry(hash, search_for!(self, hash, inp)) [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/function/table.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | } 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] 240 ~ let entry = match self.table.remove_entry(hash, search_for!(self, hash, inp)) [INFO] [stdout] 241 ~ { Some(entry) => { [INFO] [stdout] 242 | entry [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | return false; [INFO] [stdout] 245 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + '_` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/function/table.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/function/table.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | range: &Range, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 306 | ) -> impl Iterator + '_ + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:509:24 [INFO] [stdout] | [INFO] [stdout] 509 | if let Some(info) = vars.get_mut(&v) { [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/gj.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 509 ~ match vars.get_mut(&v) { Some(info) => { [INFO] [stdout] 510 | info.intersected_on += 1; [INFO] [stdout] 511 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:664:12 [INFO] [stdout] | [INFO] [stdout] 664 | if let Some((mut ctx, program, cols)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 665 | | Context::new(self, cq, timestamp_ranges, include_subsumed) [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/gj.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 664 ~ match Context::new(self, cq, timestamp_ranges, include_subsumed) [INFO] [stdout] 665 ~ { Some((mut ctx, program, cols)) => { [INFO] [stdout] 666 | let start = Instant::now(); [INFO] [stdout] ... [INFO] [stdout] 720 | } [INFO] [stdout] 721 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:689:24 [INFO] [stdout] | [INFO] [stdout] 689 | if let Some(col) = self.functions[&atom.head].column_index(*target, ts) { [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/gj.rs:691:21 [INFO] [stdout] | [INFO] [stdout] 691 | } 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] 689 ~ match self.functions[&atom.head].column_index(*target, ts) { Some(col) => { [INFO] [stdout] 690 | tries.push(LazyTrie::from_column_index(col)) [INFO] [stdout] 691 ~ } _ => { [INFO] [stdout] 692 | tries.push(LazyTrie::default()); [INFO] [stdout] 693 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:767:19 [INFO] [stdout] | [INFO] [stdout] 767 | } else if let Some((mut ctx, program, _)) = Context::new(self, cq, &[], include_subsumed) { [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/gj.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 767 ~ } else { match Context::new(self, cq, &[], include_subsumed) { Some((mut ctx, program, _)) => { [INFO] [stdout] 768 | let mut meausrements = HashMap::>::default(); [INFO] [stdout] ... [INFO] [stdout] 776 | .unwrap_or(()); [INFO] [stdout] 777 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:940:28 [INFO] [stdout] | [INFO] [stdout] 940 | if let LazyTrieInner::Delayed(ref mut v) = e.get_mut().0.get_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/gj.rs:942:25 [INFO] [stdout] | [INFO] [stdout] 942 | } 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] 940 ~ match e.get_mut().0.get_mut() { LazyTrieInner::Delayed(ref mut v) => { [INFO] [stdout] 941 | v.push(i as RowIdx) [INFO] [stdout] 942 ~ } _ => { [INFO] [stdout] 943 | unreachable!() [INFO] [stdout] 944 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:972:20 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some((tup, out)) = self.function.nodes.get_index(i, self.include_subsumed) { [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/gj.rs:974:17 [INFO] [stdout] | [INFO] [stdout] 974 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 972 ~ match self.function.nodes.get_index(i, self.include_subsumed) { Some((tup, out)) => { [INFO] [stdout] 973 | insert(i, tup, out, tup[self.column]) [INFO] [stdout] 974 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gj.rs:980:20 [INFO] [stdout] | [INFO] [stdout] 980 | if let Some((tup, out)) = self.function.nodes.get_index(i, self.include_subsumed) { [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/gj.rs:982:17 [INFO] [stdout] | [INFO] [stdout] 982 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 980 ~ match self.function.nodes.get_index(i, self.include_subsumed) { Some((tup, out)) => { [INFO] [stdout] 981 | insert(i, tup, out, out.value) [INFO] [stdout] 982 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typechecking.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if let Ok(sort) = Arc::downcast(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/typechecking.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 102 ~ match Arc::downcast(sort) { Ok(sort) => { [INFO] [stdout] 103 | if pred(&sort) { [INFO] [stdout] 104 | return Some(sort); [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typechecking.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(sort) = self.sorts.get(name) { [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/typechecking.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | } 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] 141 ~ match self.sorts.get(name) { Some(sort) => { [INFO] [stdout] 142 | Ok(sort.clone()) [INFO] [stdout] 143 ~ } _ => { [INFO] [stdout] 144 | Err(TypeError::Unbound(*name)) [INFO] [stdout] 145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/typechecking.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let output = if let Some(sort) = self.sorts.get(&func.schema.output) { [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/typechecking.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | } 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] 148 ~ let output = match self.sorts.get(&func.schema.output) { Some(sort) => { [INFO] [stdout] 149 | Ok(sort.clone()) [INFO] [stdout] 150 ~ } _ => { [INFO] [stdout] 151 | Err(TypeError::Unbound(func.schema.output)) [INFO] [stdout] 152 ~ }}?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/integration_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/terms.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/files.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling egglog v0.2.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct SymbolGen { [INFO] [stdout] | --------- while parsing this struct [INFO] [stdout] 74 | gen: usize, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 74 | r#gen: usize, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | gen: 0, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 82 | r#gen: 0, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.gen > 0 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | self.gen += 1; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) struct SymbolGen { [INFO] [stdout] | --------- while parsing this struct [INFO] [stdout] 74 | gen: usize, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 74 | r#gen: usize, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | self.gen += 1; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | self.gen > 0 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | gen: 0, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 82 | r#gen: 0, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | self.gen > 0 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct ResolvedGen { [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] 122 | gen: usize, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 122 | r#gen: usize, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | self.gen += 1; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | gen: 0, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 129 | r#gen: 0, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | self.gen += 1; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | self.gen > 0 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | self.gen += 1; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | self.gen > 0 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) struct ResolvedGen { [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] 122 | gen: usize, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 122 | r#gen: usize, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | gen: 0, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 129 | r#gen: 0, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | self.gen += 1; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | self.gen > 0 [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:96:77 [INFO] [stdout] | [INFO] [stdout] 96 | let res = format!("{}{}{}", self.reserved_string, sym, self.gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:111:73 [INFO] [stdout] | [INFO] [stdout] 111 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:96:77 [INFO] [stdout] | [INFO] [stdout] 96 | let res = format!("{}{}{}", self.reserved_string, sym, self.gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:111:73 [INFO] [stdout] | [INFO] [stdout] 111 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let s = format!("{}{}{}", self.reserved_string, name_hint, self.gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/function/index.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn to_canonicalize<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 63 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-1` [INFO] [stdout] --> src/unionfind.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde-1", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `default`, and `wasm-bindgen` [INFO] [stdout] = help: consider adding `serde-1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/function/index.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) fn to_canonicalize<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 63 | ) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-1` [INFO] [stdout] --> src/unionfind.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde-1", derive(serde::Serialize, serde::Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `default`, and `wasm-bindgen` [INFO] [stdout] = help: consider adding `serde-1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/gj.rs:836:25 [INFO] [stdout] | [INFO] [stdout] 836 | let this = &mut *self.0.get(); [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gj.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | unsafe fn force_mut(&self, access: &TrieAccess) -> *mut LazyTrieInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/gj.rs:836:25 [INFO] [stdout] | [INFO] [stdout] 836 | let this = &mut *self.0.get(); [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gj.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | unsafe fn force_mut(&self, access: &TrieAccess) -> *mut LazyTrieInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `egglog` (lib) due to 14 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `egglog` (lib test) due to 14 previous errors; 3 warnings emitted [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" "e7cdb19eecfc88d0e5cccb500bc8e8556f6754d570ee3117d8f3f68a09bbf239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7cdb19eecfc88d0e5cccb500bc8e8556f6754d570ee3117d8f3f68a09bbf239", kill_on_drop: false }` [INFO] [stdout] e7cdb19eecfc88d0e5cccb500bc8e8556f6754d570ee3117d8f3f68a09bbf239