[INFO] fetching crate lace 0.8.0... [INFO] checking lace-0.8.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate lace 0.8.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate lace 0.8.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lace 0.8.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lace 0.8.0 [INFO] tweaked toml for crates.io crate lace 0.8.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate lace 0.8.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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `lace_codebook` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `polars` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88c10cf318e397d10370114d5a2134e0e0fc272e74b889ce5061ab912df8456d [INFO] running `Command { std: "docker" "start" "-a" "88c10cf318e397d10370114d5a2134e0e0fc272e74b889ce5061ab912df8456d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88c10cf318e397d10370114d5a2134e0e0fc272e74b889ce5061ab912df8456d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c10cf318e397d10370114d5a2134e0e0fc272e74b889ce5061ab912df8456d", kill_on_drop: false }` [INFO] [stdout] 88c10cf318e397d10370114d5a2134e0e0fc272e74b889ce5061ab912df8456d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a628c75d54fcda0f32a5f9ea0a5e86a44f86dee20ae47f41f4dec795381b23fb [INFO] running `Command { std: "docker" "start" "-a" "a628c75d54fcda0f32a5f9ea0a5e86a44f86dee20ae47f41f4dec795381b23fb", 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] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling target-features v0.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling polars-utils v0.36.2 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling polars-arrow v0.36.2 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Compiling polars-compute v0.36.2 [INFO] [stderr] Compiling peroxide v0.32.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling polars-core v0.36.2 [INFO] [stderr] Checking puruspe v0.2.0 [INFO] [stderr] Checking thread-tree v0.3.3 [INFO] [stderr] Checking order-stat v0.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking special v0.10.3 [INFO] [stderr] Checking xxhash-rust v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling polars-ops v0.36.2 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling polars v0.36.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking argminmax v0.6.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Compiling lace v0.8.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking lru v0.9.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling enum_dispatch v0.3.12 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling multiversion-macros v0.7.3 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling peroxide-ad v0.3.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking polars-error v0.36.2 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking multiversion v0.7.3 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling plotly_derive v0.8.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling basic-toml v0.1.8 [INFO] [stderr] Checking serde_yaml v0.9.30 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking lace_utils v0.3.0 [INFO] [stderr] Checking lace_data v0.3.0 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking plotly v0.8.4 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking polars-row v0.36.2 [INFO] [stderr] Checking polars-io v0.36.2 [INFO] [stderr] Checking rv v0.16.3 [INFO] [stderr] Checking lace_consts v0.2.1 [INFO] [stderr] Checking lace_stats v0.4.0 [INFO] [stderr] Checking lace_codebook v0.7.0 [INFO] [stderr] Checking lace_geweke v0.4.0 [INFO] [stderr] Checking lace_cc v0.7.0 [INFO] [stderr] Checking lace_metadata v0.7.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lace` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/interface/oracle/traits.rs [INFO] [stderr] * src/interface/oracle/utils.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/interface/oracle/traits.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($n_cols:expr_2021, $col_ixs:expr_2021, $($err_variant:tt)+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/interface/oracle/mod.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | let u: f64 = rng.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] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [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/interface/oracle/traits.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | ($n_cols:expr_2021, $col_ixs:expr_2021, $($err_variant: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/interface/oracle/traits.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | ($n_states:expr_2021, $state_ixs:expr_2021, $($err_variant: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/interface/oracle/traits.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | ($n_states:expr_2021, $state_ixs:expr_2021, $($err_variant: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/interface/oracle/traits.rs:2200:74 [INFO] [stderr] | [INFO] [stderr] 2200 | ($this: ident, $col_ix: ident,$mix_type: ty, $data_type: ty, $converter: 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/interface/oracle/utils.rs:1506:6 [INFO] [stderr] | [INFO] [stderr] 1506 | ($states: expr_2021, $col_ix: expr_2021, $given_opt: expr_2021, $cpnt_type: ty) => {{ [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/interface/oracle/utils.rs:1506:26 [INFO] [stderr] | [INFO] [stderr] 1506 | ($states: expr_2021, $col_ix: expr_2021, $given_opt: expr_2021, $cpnt_type: ty) => {{ [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | ($n_cols:expr, $col_ixs:expr, $($err_variant: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] = 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] 23 | ($n_cols:expr_2021, $col_ixs:expr, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | ($n_cols:expr, $col_ixs:expr, $($err_variant: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] 23 | ($n_cols:expr, $col_ixs:expr_2021, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | ($n_states:expr, $state_ixs:expr, $($err_variant: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] 34 | ($n_states:expr_2021, $state_ixs:expr, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | ($n_states:expr, $state_ixs:expr, $($err_variant: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] 34 | ($n_states:expr, $state_ixs:expr_2021, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/interface/oracle/utils.rs:1506:46 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:2200:86 [INFO] [stdout] | [INFO] [stdout] 2200 | ($this: ident, $col_ix: ident,$mix_type: ty, $data_type: ty, $converter: 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] 2200 | ($this: ident, $col_ix: ident,$mix_type: ty, $data_type: ty, $converter: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/utils.rs:1506:15 [INFO] [stdout] | [INFO] [stdout] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [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] 1506 | ($states: expr_2021, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1506 | ($states: expr_2021, $col_ix: expr_2021, $given_opt: expr_2021, $cpnt_type: ty) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/utils.rs:1506:30 [INFO] [stdout] | [INFO] [stdout] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [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] 1506 | ($states: expr, $col_ix: expr_2021, $given_opt: expr, $cpnt_type: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/utils.rs:1506:48 [INFO] [stdout] | [INFO] [stdout] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [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] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr_2021, $cpnt_type: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | if let Self::UnInitialized { timeout } = *self { [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/interface/engine/update_handler.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | } [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] 312 ~ match *self { Self::UnInitialized { timeout } => { [INFO] [stdout] 313 | *self = Self::Initialized { [INFO] [stdout] ... [INFO] [stdout] 316 | }; [INFO] [stdout] 317 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | if let Some(start_time) = state_start.get(&state_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | } 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] 339 ~ match state_start.get(&state_id) { Some(start_time) => { [INFO] [stdout] 340 | start_time.elapsed() > *timeout [INFO] [stdout] 341 ~ } _ => { [INFO] [stdout] 342 | unreachable!() [INFO] [stdout] 343 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | while let Ok((state_id, log_score)) = receiver.recv() { [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/interface/engine/update_handler.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | if let Self::Initialized { sender, handle } = std::mem::take(self) { [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/interface/engine/update_handler.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 434 ~ match std::mem::take(self) { Self::Initialized { sender, handle } => { [INFO] [stdout] 435 | std::mem::drop(sender); [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:437:16 [INFO] [stdout] | [INFO] [stdout] 437 | if let Some(handle) = handle.lock().unwrap().take() { [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/interface/engine/update_handler.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 437 ~ match handle.lock().unwrap().take() { Some(handle) => { [INFO] [stdout] 438 | handle.join().unwrap(); [INFO] [stdout] 439 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/traits.rs:2143:28 [INFO] [stdout] | [INFO] [stdout] 2143 | if let MixtureType::Gaussian(mm) = mt { [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/interface/oracle/traits.rs:2145:25 [INFO] [stdout] | [INFO] [stdout] 2145 | } 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] 2143 ~ match mt { MixtureType::Gaussian(mm) => { [INFO] [stdout] 2144 | mm [INFO] [stdout] 2145 ~ } _ => { [INFO] [stdout] 2146 | panic!("Expected Gaussian Mixture Type") [INFO] [stdout] 2147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/traits.rs:2157:28 [INFO] [stdout] | [INFO] [stdout] 2157 | if let MixtureType::Poisson(mm) = mt { [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/interface/oracle/traits.rs:2159:25 [INFO] [stdout] | [INFO] [stdout] 2159 | } 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] 2157 ~ match mt { MixtureType::Poisson(mm) => { [INFO] [stdout] 2158 | mm [INFO] [stdout] 2159 ~ } _ => { [INFO] [stdout] 2160 | panic!("Expected Poisson Mixture Type") [INFO] [stdout] 2161 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/traits.rs:2171:28 [INFO] [stdout] | [INFO] [stdout] 2171 | if let MixtureType::Categorical(mm) = mt { [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/interface/oracle/traits.rs:2173:25 [INFO] [stdout] | [INFO] [stdout] 2173 | } 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] 2171 ~ match mt { MixtureType::Categorical(mm) => { [INFO] [stdout] 2172 | mm [INFO] [stdout] 2173 ~ } _ => { [INFO] [stdout] 2174 | panic!("Expected Categorical Mixture Type") [INFO] [stdout] 2175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | if let ColModel::Categorical(cm) = &**fx { [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/interface/oracle/utils.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | } 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] 897 ~ match &**fx { ColModel::Categorical(cm) => { [INFO] [stdout] 898 | u8::try_from(cm.prior.k()) [INFO] [stdout] 899 | .expect("Categorical k exceeded u8 max value") [INFO] [stdout] 900 ~ } _ => { [INFO] [stdout] 901 | panic!("Expected MissingNotAtRandom Categorical") [INFO] [stdout] 902 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1149:16 [INFO] [stdout] | [INFO] [stdout] 1149 | if let ColModel::Categorical(cm) = &**fx { [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/interface/oracle/utils.rs:1151:13 [INFO] [stdout] | [INFO] [stdout] 1151 | } 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] 1149 ~ match &**fx { ColModel::Categorical(cm) => { [INFO] [stdout] 1150 | cm.prior.k() [INFO] [stdout] 1151 ~ } _ => { [INFO] [stdout] 1152 | panic!("Expected MissingNotAtRandom Categorical") [INFO] [stdout] 1153 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1161:16 [INFO] [stdout] | [INFO] [stdout] 1161 | if let ColModel::Categorical(cm) = &**fx { [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/interface/oracle/utils.rs:1163:13 [INFO] [stdout] | [INFO] [stdout] 1163 | } 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] 1161 ~ match &**fx { ColModel::Categorical(cm) => { [INFO] [stdout] 1162 | cm.prior.k() [INFO] [stdout] 1163 ~ } _ => { [INFO] [stdout] 1164 | panic!("Expected MissingNotAtRandom Categorical") [INFO] [stdout] 1165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1221:16 [INFO] [stdout] | [INFO] [stdout] 1221 | if let MixtureType::Poisson(mm) = state.feature_as_mixture(col) { [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/interface/oracle/utils.rs:1223:13 [INFO] [stdout] | [INFO] [stdout] 1223 | } 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] 1221 ~ match state.feature_as_mixture(col) { MixtureType::Poisson(mm) => { [INFO] [stdout] 1222 | mm [INFO] [stdout] 1223 ~ } _ => { [INFO] [stdout] 1224 | panic!("expected count type for column {}", col); [INFO] [stdout] 1225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1444:16 [INFO] [stdout] | [INFO] [stdout] 1444 | if let ColModel::Categorical(ref ftr) = **fx { [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/interface/oracle/utils.rs:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | } 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] 1444 ~ match **fx { ColModel::Categorical(ref ftr) => { [INFO] [stdout] 1445 | ftr.prior.k() as u8 [INFO] [stdout] 1446 ~ } _ => { [INFO] [stdout] 1447 | panic!("FType mismatch for categorical MNAR prediction") [INFO] [stdout] 1448 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1579:34 [INFO] [stdout] | [INFO] [stdout] 1579 | let mixture = if let MixtureType::Bernoulli(m) = [INFO] [stdout] | __________________________________^ [INFO] [stdout] 1580 | | present.to_mixture(weights) [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/interface/oracle/utils.rs:1583:17 [INFO] [stdout] | [INFO] [stdout] 1583 | } 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] 1579 ~ let mixture = match present.to_mixture(weights) [INFO] [stdout] 1580 ~ { MixtureType::Bernoulli(m) => { [INFO] [stdout] 1581 | m [INFO] [stdout] 1582 ~ } _ => { [INFO] [stdout] 1583 | panic!("invalid mixture type for MNAR") [INFO] [stdout] 1584 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/update.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lace` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/interface/oracle/traits.rs [INFO] [stderr] * src/interface/oracle/utils.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/interface/oracle/traits.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($n_cols:expr_2021, $col_ixs:expr_2021, $($err_variant: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/interface/oracle/traits.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | ($n_cols:expr_2021, $col_ixs:expr_2021, $($err_variant: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/interface/oracle/traits.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | ($n_states:expr_2021, $state_ixs:expr_2021, $($err_variant: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/interface/oracle/traits.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | ($n_states:expr_2021, $state_ixs:expr_2021, $($err_variant: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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/interface/oracle/traits.rs:2200:74 [INFO] [stderr] | [INFO] [stderr] 2200 | ($this: ident, $col_ix: ident,$mix_type: ty, $data_type: ty, $converter: 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/interface/oracle/utils.rs:1506:6 [INFO] [stderr] | [INFO] [stderr] 1506 | ($states: expr_2021, $col_ix: expr_2021, $given_opt: expr_2021, $cpnt_type: ty) => {{ [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/interface/oracle/utils.rs:1506:26 [INFO] [stderr] | [INFO] [stderr] 1506 | ($states: expr_2021, $col_ix: expr_2021, $given_opt: expr_2021, $cpnt_type: ty) => {{ [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/interface/oracle/utils.rs:1506:46 [INFO] [stderr] | [INFO] [stderr] 1506 | ($states: expr_2021, $col_ix: expr_2021, $given_opt: expr_2021, $cpnt_type: ty) => {{ [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/interface/oracle/utils.rs:1984:10 [INFO] [stderr] | [INFO] [stderr] 1984 | ($precomp: expr_2021, $state: expr_2021, $col_ixs: expr_2021, $vals: expr_2021, $given: 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/interface/oracle/utils.rs:1984:31 [INFO] [stderr] | [INFO] [stderr] 1984 | ($precomp: expr_2021, $state: expr_2021, $col_ixs: expr_2021, $vals: expr_2021, $given: 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/interface/oracle/utils.rs:1984:50 [INFO] [stderr] | [INFO] [stderr] 1984 | ($precomp: expr_2021, $state: expr_2021, $col_ixs: expr_2021, $vals: expr_2021, $given: 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/interface/oracle/utils.rs:1984:71 [INFO] [stderr] | [INFO] [stderr] 1984 | ($precomp: expr_2021, $state: expr_2021, $col_ixs: expr_2021, $vals: expr_2021, $given: 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/interface/oracle/utils.rs:1984:89 [INFO] [stderr] | [INFO] [stderr] 1984 | ($precomp: expr_2021, $state: expr_2021, $col_ixs: expr_2021, $vals: expr_2021, $given: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/interface/oracle/mod.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | let u: f64 = rng.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] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | ($n_cols:expr, $col_ixs:expr, $($err_variant: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] = 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] 23 | ($n_cols:expr_2021, $col_ixs:expr, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | ($n_cols:expr, $col_ixs:expr, $($err_variant: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] 23 | ($n_cols:expr, $col_ixs:expr_2021, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | ($n_states:expr, $state_ixs:expr, $($err_variant: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] 34 | ($n_states:expr_2021, $state_ixs:expr, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | ($n_states:expr, $state_ixs:expr, $($err_variant: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] 34 | ($n_states:expr, $state_ixs:expr_2021, $($err_variant:tt)+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/traits.rs:2200:86 [INFO] [stdout] | [INFO] [stdout] 2200 | ($this: ident, $col_ix: ident,$mix_type: ty, $data_type: ty, $converter: 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] 2200 | ($this: ident, $col_ix: ident,$mix_type: ty, $data_type: ty, $converter: 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/interface/oracle/utils.rs:1506:15 [INFO] [stdout] | [INFO] [stdout] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [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] 1506 | ($states: expr_2021, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/utils.rs:1506:30 [INFO] [stdout] | [INFO] [stdout] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [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] 1506 | ($states: expr, $col_ix: expr_2021, $given_opt: expr, $cpnt_type: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/utils.rs:1506:48 [INFO] [stdout] | [INFO] [stdout] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr, $cpnt_type: ty) => {{ [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] 1506 | ($states: expr, $col_ix: expr, $given_opt: expr_2021, $cpnt_type: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/interface/oracle/utils.rs:1985:20 [INFO] [stdout] | [INFO] [stdout] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr, $vals: expr, $given: 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] 1985 | ($precomp: expr_2021, $state: expr, $col_ixs: expr, $vals: expr, $given: 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/interface/oracle/utils.rs:1985:34 [INFO] [stdout] | [INFO] [stdout] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr, $vals: expr, $given: 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] 1985 | ($precomp: expr, $state: expr_2021, $col_ixs: expr, $vals: expr, $given: 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/interface/oracle/utils.rs:1985:50 [INFO] [stdout] | [INFO] [stdout] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr, $vals: expr, $given: 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] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr_2021, $vals: expr, $given: 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/interface/oracle/utils.rs:1985:63 [INFO] [stdout] | [INFO] [stdout] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr, $vals: expr, $given: 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] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr, $vals: expr_2021, $given: 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/interface/oracle/utils.rs:1985:77 [INFO] [stdout] | [INFO] [stdout] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr, $vals: expr, $given: 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] 1985 | ($precomp: expr, $state: expr, $col_ixs: expr, $vals: expr, $given: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | if let Self::UnInitialized { timeout } = *self { [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/interface/engine/update_handler.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | } [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] 312 ~ match *self { Self::UnInitialized { timeout } => { [INFO] [stdout] 313 | *self = Self::Initialized { [INFO] [stdout] ... [INFO] [stdout] 316 | }; [INFO] [stdout] 317 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | if let Some(start_time) = state_start.get(&state_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | } 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] 339 ~ match state_start.get(&state_id) { Some(start_time) => { [INFO] [stdout] 340 | start_time.elapsed() > *timeout [INFO] [stdout] 341 ~ } _ => { [INFO] [stdout] 342 | unreachable!() [INFO] [stdout] 343 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | while let Ok((state_id, log_score)) = receiver.recv() { [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/interface/engine/update_handler.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | if let Self::Initialized { sender, handle } = std::mem::take(self) { [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/interface/engine/update_handler.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 434 ~ match std::mem::take(self) { Self::Initialized { sender, handle } => { [INFO] [stdout] 435 | std::mem::drop(sender); [INFO] [stdout] ... [INFO] [stdout] 439 | } [INFO] [stdout] 440 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/engine/update_handler.rs:437:16 [INFO] [stdout] | [INFO] [stdout] 437 | if let Some(handle) = handle.lock().unwrap().take() { [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/interface/engine/update_handler.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 437 ~ match handle.lock().unwrap().take() { Some(handle) => { [INFO] [stdout] 438 | handle.join().unwrap(); [INFO] [stdout] 439 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/traits.rs:2143:28 [INFO] [stdout] | [INFO] [stdout] 2143 | if let MixtureType::Gaussian(mm) = mt { [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/interface/oracle/traits.rs:2145:25 [INFO] [stdout] | [INFO] [stdout] 2145 | } 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] 2143 ~ match mt { MixtureType::Gaussian(mm) => { [INFO] [stdout] 2144 | mm [INFO] [stdout] 2145 ~ } _ => { [INFO] [stdout] 2146 | panic!("Expected Gaussian Mixture Type") [INFO] [stdout] 2147 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/traits.rs:2157:28 [INFO] [stdout] | [INFO] [stdout] 2157 | if let MixtureType::Poisson(mm) = mt { [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/interface/oracle/traits.rs:2159:25 [INFO] [stdout] | [INFO] [stdout] 2159 | } 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] 2157 ~ match mt { MixtureType::Poisson(mm) => { [INFO] [stdout] 2158 | mm [INFO] [stdout] 2159 ~ } _ => { [INFO] [stdout] 2160 | panic!("Expected Poisson Mixture Type") [INFO] [stdout] 2161 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/traits.rs:2171:28 [INFO] [stdout] | [INFO] [stdout] 2171 | if let MixtureType::Categorical(mm) = mt { [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/interface/oracle/traits.rs:2173:25 [INFO] [stdout] | [INFO] [stdout] 2173 | } 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] 2171 ~ match mt { MixtureType::Categorical(mm) => { [INFO] [stdout] 2172 | mm [INFO] [stdout] 2173 ~ } _ => { [INFO] [stdout] 2174 | panic!("Expected Categorical Mixture Type") [INFO] [stdout] 2175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:897:16 [INFO] [stdout] | [INFO] [stdout] 897 | if let ColModel::Categorical(cm) = &**fx { [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/interface/oracle/utils.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | } 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] 897 ~ match &**fx { ColModel::Categorical(cm) => { [INFO] [stdout] 898 | u8::try_from(cm.prior.k()) [INFO] [stdout] 899 | .expect("Categorical k exceeded u8 max value") [INFO] [stdout] 900 ~ } _ => { [INFO] [stdout] 901 | panic!("Expected MissingNotAtRandom Categorical") [INFO] [stdout] 902 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1149:16 [INFO] [stdout] | [INFO] [stdout] 1149 | if let ColModel::Categorical(cm) = &**fx { [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/interface/oracle/utils.rs:1151:13 [INFO] [stdout] | [INFO] [stdout] 1151 | } 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] 1149 ~ match &**fx { ColModel::Categorical(cm) => { [INFO] [stdout] 1150 | cm.prior.k() [INFO] [stdout] 1151 ~ } _ => { [INFO] [stdout] 1152 | panic!("Expected MissingNotAtRandom Categorical") [INFO] [stdout] 1153 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1161:16 [INFO] [stdout] | [INFO] [stdout] 1161 | if let ColModel::Categorical(cm) = &**fx { [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/interface/oracle/utils.rs:1163:13 [INFO] [stdout] | [INFO] [stdout] 1163 | } 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] 1161 ~ match &**fx { ColModel::Categorical(cm) => { [INFO] [stdout] 1162 | cm.prior.k() [INFO] [stdout] 1163 ~ } _ => { [INFO] [stdout] 1164 | panic!("Expected MissingNotAtRandom Categorical") [INFO] [stdout] 1165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1221:16 [INFO] [stdout] | [INFO] [stdout] 1221 | if let MixtureType::Poisson(mm) = state.feature_as_mixture(col) { [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/interface/oracle/utils.rs:1223:13 [INFO] [stdout] | [INFO] [stdout] 1223 | } 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] 1221 ~ match state.feature_as_mixture(col) { MixtureType::Poisson(mm) => { [INFO] [stdout] 1222 | mm [INFO] [stdout] 1223 ~ } _ => { [INFO] [stdout] 1224 | panic!("expected count type for column {}", col); [INFO] [stdout] 1225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1444:16 [INFO] [stdout] | [INFO] [stdout] 1444 | if let ColModel::Categorical(ref ftr) = **fx { [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/interface/oracle/utils.rs:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | } 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] 1444 ~ match **fx { ColModel::Categorical(ref ftr) => { [INFO] [stdout] 1445 | ftr.prior.k() as u8 [INFO] [stdout] 1446 ~ } _ => { [INFO] [stdout] 1447 | panic!("FType mismatch for categorical MNAR prediction") [INFO] [stdout] 1448 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interface/oracle/utils.rs:1579:34 [INFO] [stdout] | [INFO] [stdout] 1579 | let mixture = if let MixtureType::Bernoulli(m) = [INFO] [stdout] | __________________________________^ [INFO] [stdout] 1580 | | present.to_mixture(weights) [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/interface/oracle/utils.rs:1583:17 [INFO] [stdout] | [INFO] [stdout] 1583 | } 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] 1579 ~ let mixture = match present.to_mixture(weights) [INFO] [stdout] 1580 ~ { MixtureType::Bernoulli(m) => { [INFO] [stdout] 1581 | m [INFO] [stdout] 1582 ~ } _ => { [INFO] [stdout] 1583 | panic!("invalid mixture type for MNAR") [INFO] [stdout] 1584 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/bench.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/oracle.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/streaming_insert.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `oracle` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/oracle.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] --> tests/oracle.rs:150:6 [INFO] [stderr] | [INFO] [stderr] 150 | ($oracle_gen: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/oracle.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | ($oracle_gen: 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] 150 | ($oracle_gen: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/streaming_insert.rs (2 fixes) [INFO] [stderr] Migrating examples/animals.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/feature.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/satellites.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/count_model.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/nix.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/insert_instability.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/oracle_fns.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/engine.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/column_geweke.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `engine` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/engine.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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/engine.rs:1893:33 [INFO] [stdout] | [INFO] [stdout] 1893 | ($fn_name:ident, $value: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] 1893 | ($fn_name:ident, $value:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/engine.rs:1971:33 [INFO] [stdout] | [INFO] [stdout] 1971 | ($fn_name:ident, $value: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] 1971 | ($fn_name:ident, $value:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/engine.rs:2103:38 [INFO] [stdout] | [INFO] [stdout] 2103 | ($fn_name:ident, $col_kernel:expr, $row_kernel: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] 2103 | ($fn_name:ident, $col_kernel:expr_2021, $row_kernel:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] --> tests/engine.rs:1893:26 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/engine.rs:2103:56 [INFO] [stdout] | [INFO] [stdout] 2103 | ($fn_name:ident, $col_kernel:expr, $row_kernel: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] 2103 | ($fn_name:ident, $col_kernel:expr, $row_kernel:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 1893 | ($fn_name:ident, $value: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] --> tests/engine.rs:1971:26 [INFO] [stderr] | [INFO] [stderr] 1971 | ($fn_name:ident, $value: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] --> tests/engine.rs:2103:26 [INFO] [stderr] | [INFO] [stderr] 2103 | ($fn_name:ident, $col_kernel:expr_2021, $row_kernel: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] --> tests/engine.rs:2103:49 [INFO] [stderr] | [INFO] [stderr] 2103 | ($fn_name:ident, $col_kernel:expr_2021, $row_kernel: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] warning: unreachable pattern [INFO] [stderr] --> tests/engine.rs:1584:15 [INFO] [stderr] | [INFO] [stderr] 1573 | { SupportExtension::Categorical { [INFO] [stderr] | _______________- [INFO] [stderr] 1574 | | col_ix, [INFO] [stderr] 1575 | | col_name, [INFO] [stderr] 1576 | | value_map_extension, [INFO] [stderr] 1577 | | } => { [INFO] [stderr] | |_____________- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 1584 | } _ => { [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 1 warning 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/engine.rs:1570:12 [INFO] [stdout] | [INFO] [stdout] 1570 | if let Some(suppext) = actions.support_extensions() { [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] --> tests/engine.rs:1587:9 [INFO] [stdout] | [INFO] [stdout] 1587 | } 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] 1570 ~ match actions.support_extensions() { Some(suppext) => { [INFO] [stdout] 1571 | assert_eq!(suppext.len(), 1); [INFO] [stdout] ... [INFO] [stdout] 1586 | } [INFO] [stdout] 1587 ~ } _ => { [INFO] [stdout] 1588 | panic!("Actions does not show support extension"); [INFO] [stdout] 1589 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/engine.rs:1572:16 [INFO] [stdout] | [INFO] [stdout] 1572 | if let SupportExtension::Categorical { [INFO] [stdout] | ________________^ [INFO] [stdout] 1573 | | col_ix, [INFO] [stdout] 1574 | | col_name, [INFO] [stdout] 1575 | | value_map_extension, [INFO] [stdout] 1576 | | } = &suppext[0] [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] --> tests/engine.rs:1584:13 [INFO] [stdout] | [INFO] [stdout] 1584 | } 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] 1572 ~ match &suppext[0] [INFO] [stdout] 1573 ~ { SupportExtension::Categorical { [INFO] [stdout] 1574 + col_ix, [INFO] [stdout] 1575 + col_name, [INFO] [stdout] 1576 + value_map_extension, [INFO] [stdout] 1577 ~ } => { [INFO] [stdout] 1578 | assert_eq!(*col_ix, 78); [INFO] [stdout] ... [INFO] [stdout] 1583 | ); [INFO] [stdout] 1584 ~ } _ => { [INFO] [stdout] 1585 | panic!("Wrong kind of support extension"); [INFO] [stdout] 1586 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/insert_data.rs from 2021 edition to 2024 [INFO] [stderr] Fixed benches/insert_data.rs (1 fix) [INFO] [stderr] Migrating examples/shapes.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.44s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling lace v0.8.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/interface/oracle/mod.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | let u: f64 = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 447 | let u: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/interface/oracle/mod.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | let u: f64 = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 447 | let u: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lace` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lace` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a628c75d54fcda0f32a5f9ea0a5e86a44f86dee20ae47f41f4dec795381b23fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a628c75d54fcda0f32a5f9ea0a5e86a44f86dee20ae47f41f4dec795381b23fb", kill_on_drop: false }` [INFO] [stdout] a628c75d54fcda0f32a5f9ea0a5e86a44f86dee20ae47f41f4dec795381b23fb