[INFO] fetching crate musli-tests 0.0.26... [INFO] checking musli-tests-0.0.26 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate musli-tests 0.0.26 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate musli-tests 0.0.26 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 musli-tests 0.0.26 [INFO] finished tweaking crates.io crate musli-tests 0.0.26 [INFO] tweaked toml for crates.io crate musli-tests 0.0.26 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate musli-tests 0.0.26 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c3f39eef02ef7a145b4801a1ccf325a5d4e4892dcf7cc38c60aab178db2fd1b [INFO] running `Command { std: "docker" "start" "-a" "4c3f39eef02ef7a145b4801a1ccf325a5d4e4892dcf7cc38c60aab178db2fd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c3f39eef02ef7a145b4801a1ccf325a5d4e4892dcf7cc38c60aab178db2fd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c3f39eef02ef7a145b4801a1ccf325a5d4e4892dcf7cc38c60aab178db2fd1b", kill_on_drop: false }` [INFO] [stdout] 4c3f39eef02ef7a145b4801a1ccf325a5d4e4892dcf7cc38c60aab178db2fd1b [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] 0d2aa03b1c888e8cf0533e02bba8df94340e067eed103d806fa71675b82bf802 [INFO] running `Command { std: "docker" "start" "-a" "0d2aa03b1c888e8cf0533e02bba8df94340e067eed103d806fa71675b82bf802", 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 (4 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking regex v1.10.0 [INFO] [stderr] Checking bstr v1.7.0 [INFO] [stderr] Compiling musli-macros v0.0.72 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking musli v0.0.72 [INFO] [stderr] Checking musli-common v0.0.72 [INFO] [stderr] Checking musli-storage v0.0.72 [INFO] [stderr] Checking musli-json v0.0.72 [INFO] [stderr] Checking musli-descriptive v0.0.72 [INFO] [stderr] Checking musli-wire v0.0.72 [INFO] [stderr] Checking musli-value v0.0.72 [INFO] [stderr] Checking musli-tests v0.0.26 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `musli_tests` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/models.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/lib.rs:88:65 [INFO] [stderr] | [INFO] [stderr] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr_2021, $miri: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/lib.rs:88:83 [INFO] [stderr] | [INFO] [stderr] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr_2021, $miri: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/lib.rs:164:32 [INFO] [stderr] | [INFO] [stderr] 164 | ($call:path, prim, $ty:ty, $size_hint:expr_2021 $(, $tt: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/lib.rs:170:39 [INFO] [stderr] | [INFO] [stderr] 170 | ($call:path, $name:ident, $ty:ty, $size_hint:expr_2021 $(, $tt: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: this function depends on never type fallback being `()` [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Decode<'_, mode::Packed>` will fail [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Decode<'_>` will fail [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/models/generate.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | string.push(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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | 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] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:88:72 [INFO] [stdout] | [INFO] [stdout] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr, $miri: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] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr_2021, $miri: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/lib.rs:88:84 [INFO] [stdout] | [INFO] [stdout] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr, $miri: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] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr, $miri:expr_2021;)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::full::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::full::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::extra::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::extra::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:164:43 [INFO] [stdout] | [INFO] [stdout] 164 | ($call:path, prim, $ty:ty, $size_hint:expr $(, $tt: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] 164 | ($call:path, prim, $ty:ty, $size_hint:expr_2021 $(, $tt: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/lib.rs:170:50 [INFO] [stdout] | [INFO] [stdout] 170 | ($call:path, $name:ident, $ty:ty, $size_hint:expr $(, $tt: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] 170 | ($call:path, $name:ident, $ty:ty, $size_hint:expr_2021 $(, $tt:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, mode::Packed>` will fail [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_>` will fail [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/fuzz.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_custom_tagging_json.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `fuzz` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/fuzz.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/bin/fuzz.rs:97:52 [INFO] [stderr] | [INFO] [stderr] 97 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:145:52 [INFO] [stderr] | [INFO] [stderr] 145 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:185:52 [INFO] [stderr] | [INFO] [stderr] 185 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:257:59 [INFO] [stderr] | [INFO] [stderr] 257 | ($base:ident, $buf:ident $(, $name:ident, $ty:ty, $size_hint:expr_2021)*) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/fuzz.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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] 97 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:145:63 [INFO] [stdout] | [INFO] [stdout] 145 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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] 145 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint:expr_2021)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/fuzz.rs:185:63 [INFO] [stdout] | [INFO] [stdout] 185 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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] 185 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint:expr_2021)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/bin/fuzz.rs:257:70 [INFO] [stdout] | [INFO] [stdout] 257 | ($base:ident, $buf:ident $(, $name:ident, $ty:ty, $size_hint: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] 257 | ($base:ident, $buf:ident $(, $name:ident, $ty:ty, $size_hint:expr_2021)*) => {{ [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/bin/fuzz.rs:265:38 [INFO] [stdout] | [INFO] [stdout] 265 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 265 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint:expr),* $(,)?) => { [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/bin/fuzz.rs:265:55 [INFO] [stdout] | [INFO] [stdout] 265 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 265 | ($($name:ident, $ty:ty, $num:expr, $size_hint:expr_2021),* $(,)?) => { [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/bin/fuzz.rs:291:42 [INFO] [stdout] | [INFO] [stdout] 291 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 291 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint:expr),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/bin/fuzz.rs:265:33 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/fuzz.rs:291:59 [INFO] [stdout] | [INFO] [stdout] 291 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 291 | ($($name:ident, $ty:ty, $num:expr, $size_hint:expr_2021),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 265 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:265:49 [INFO] [stderr] | [INFO] [stderr] 265 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:291:37 [INFO] [stderr] | [INFO] [stderr] 291 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:291:53 [INFO] [stderr] | [INFO] [stderr] 291 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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 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] [stderr] Migrating tests/test_untagged_variants.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `test_custom_tagging_json` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/test_custom_tagging_json.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/test_custom_tagging_json.rs:41:54 [INFO] [stderr] | [INFO] [stderr] 41 | ($ty:ident :: $variant:ident $body:tt $(, json = $json: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/test_custom_tagging_json.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | ($ty:ident :: $variant:ident $body:tt $(, json = $json: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] 41 | ($ty:ident :: $variant:ident $body:tt $(, json = $json:expr_2021)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_generic_bounds.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_skip_serializing_if.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_skip_serializing_if.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_skip_serializing_if.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/storage-optimize.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `fuzz` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/fuzz.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/bin/fuzz.rs:97:52 [INFO] [stderr] | [INFO] [stderr] 97 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:145:52 [INFO] [stderr] | [INFO] [stderr] 145 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:185:52 [INFO] [stderr] | [INFO] [stderr] 185 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:257:59 [INFO] [stderr] | [INFO] [stderr] 257 | ($base:ident, $buf:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:265:33 [INFO] [stderr] | [INFO] [stderr] 265 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:265:49 [INFO] [stderr] | [INFO] [stderr] 265 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:291:37 [INFO] [stderr] | [INFO] [stderr] 291 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:291:53 [INFO] [stderr] | [INFO] [stderr] 291 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/bin/fuzz.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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] 97 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:145:63 [INFO] [stdout] | [INFO] [stdout] 145 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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] 145 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:185:63 [INFO] [stdout] | [INFO] [stdout] 185 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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] 185 | ($framework:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:257:70 [INFO] [stdout] | [INFO] [stdout] 257 | ($base:ident, $buf:ident $(, $name:ident, $ty:ty, $size_hint: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] 257 | ($base:ident, $buf:ident $(, $name:ident, $ty:ty, $size_hint: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/bin/fuzz.rs:265:38 [INFO] [stdout] | [INFO] [stdout] 265 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 265 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:265:55 [INFO] [stdout] | [INFO] [stdout] 265 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 265 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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/bin/fuzz.rs:291:42 [INFO] [stdout] | [INFO] [stdout] 291 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 291 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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/bin/fuzz.rs:291:59 [INFO] [stdout] | [INFO] [stdout] 291 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 291 | ($($name:ident, $ty:ty, $num:expr, $size_hint:expr_2021),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/storage-optimize.rs (2 fixes) [INFO] [stderr] Migrating tests/test_decode_empty_variant.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_tagged_fields.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_decode_empty_variant.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_decode_empty_variant.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_empty_enum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_numbers.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_sequence_compat.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_sequence_compat.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_sequence_compat.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_pack_compat.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_skip_serialize.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_pack_compat.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_pack_compat.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_transparent.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_default_variant.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_complex_field.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_default_variant.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_default_variant.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_default_variant.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_default_variant.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_primitives.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_large_enum.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_primitives.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_primitives.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_multiple_named_variants.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_untagged_enums.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `musli_tests` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/models.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/lib.rs:88:65 [INFO] [stderr] | [INFO] [stderr] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr_2021, $miri: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/lib.rs:88:83 [INFO] [stderr] | [INFO] [stderr] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr_2021, $miri: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/lib.rs:164:32 [INFO] [stderr] | [INFO] [stderr] 164 | ($call:path, prim, $ty:ty, $size_hint:expr_2021 $(, $tt: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/lib.rs:170:39 [INFO] [stderr] | [INFO] [stderr] 170 | ($call:path, $name:ident, $ty:ty, $size_hint:expr_2021 $(, $tt: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: this function depends on never type fallback being `()` [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Decode<'_, mode::Packed>` will fail [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/models/generate.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | string.push(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] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: Decode<'_>` will fail [INFO] [stderr] --> src/models.rs:155:46 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | 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] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:88:72 [INFO] [stdout] | [INFO] [stdout] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr, $miri: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] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr_2021, $miri: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/lib.rs:88:84 [INFO] [stdout] | [INFO] [stdout] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr, $miri: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] 88 | ($($(#[$($meta:meta)*])* const $ident:ident: $value_ty:ty = $range:expr, $miri:expr_2021;)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::full::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::full::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::extra::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::extra::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:164:43 [INFO] [stdout] | [INFO] [stdout] 164 | ($call:path, prim, $ty:ty, $size_hint:expr $(, $tt: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] 164 | ($call:path, prim, $ty:ty, $size_hint:expr_2021 $(, $tt: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/lib.rs:170:50 [INFO] [stdout] | [INFO] [stdout] 170 | ($call:path, $name:ident, $ty:ty, $size_hint:expr $(, $tt: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] 170 | ($call:path, $name:ident, $ty:ty, $size_hint:expr_2021 $(, $tt:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, mode::Packed>` will fail [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_>` will fail [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_builtin.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_bytes_compat.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_bytes_compat.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_bytes_compat.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_str.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_struct_name.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_field_compat.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_struct.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_field_compat.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_field_compat.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_field_compat.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_field_compat.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/ui.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_struct.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_struct.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_tagged_enums.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_default.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/test_tagged_enums.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Decode<'_, M>` will fail [INFO] [stdout] --> tests/test_tagged_enums.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/comparison.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `comparison` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * benches/comparison.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] --> benches/comparison.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | ($group_name:expr_2021, $name:ident, $it:ident) => {{ [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] --> benches/comparison.rs:32:33 [INFO] [stderr] | [INFO] [stderr] 32 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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] --> benches/comparison.rs:32:49 [INFO] [stderr] | [INFO] [stderr] 32 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint: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] --> benches/comparison.rs:38:22 [INFO] [stderr] | [INFO] [stderr] 38 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | musli_tests::types!(setup); [INFO] [stderr] | -------------------------- in this macro invocation [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] = note: this error originates in the macro `setup` which comes from the expansion of the macro `musli_tests::types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> benches/comparison.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | musli_tests::types!(setup); [INFO] [stderr] | -------------------------- in this macro invocation [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] = note: this error originates in the macro `setup` which comes from the expansion of the macro `musli_tests::types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> benches/comparison.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 65 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | musli_tests::types!(setup); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/comparison.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ($group_name:expr, $name:ident, $it:ident) => {{ [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] 12 | ($group_name:expr_2021, $name:ident, $it:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/comparison.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 32 | ($($name:ident, $ty:ty, $num:expr_2021, $size_hint:expr),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] --> benches/comparison.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 32 | ($($name:ident, $ty:ty, $num:expr, $size_hint: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] 32 | ($($name:ident, $ty:ty, $num:expr, $size_hint:expr_2021),*) => { [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] --> benches/comparison.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | ($b:expr, $framework:ident, $buf:ident) => {{ [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] 38 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this error originates in the macro `setup` which comes from the expansion of the macro `musli_tests::types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/comparison.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | ($b:expr, $framework:ident, $buf:ident) => {{ [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] 52 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [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] --> benches/comparison.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | ($b:expr, $framework:ident, $buf:ident) => {{ [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] 65 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/comparison.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | ($b:expr, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | musli_tests::types!(setup); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `setup` which comes from the expansion of the macro `musli_tests::types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/comparison.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | ($b:expr, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | musli_tests::types!(setup); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `setup` which comes from the expansion of the macro `musli_tests::types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/comparison.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | ($b:expr, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | musli_tests::types!(setup); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: this warning originates in the macro `setup` which comes from the expansion of the macro `musli_tests::types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($b:expr_2021, $framework:ident, $buf:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.76s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking musli-tests v0.0.26 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | string.push(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] 102 | string.push(rng.r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | string.push(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] 102 | string.push(rng.r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 170 | primitive!(u8); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 170 | primitive!(u8); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 171 | primitive!(u16); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 171 | primitive!(u16); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 172 | primitive!(u32); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 172 | primitive!(u32); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 173 | primitive!(u64); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 173 | primitive!(u64); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 174 | primitive!(u128); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 174 | primitive!(u128); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 175 | primitive!(i8); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 175 | primitive!(i8); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 176 | primitive!(i16); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 176 | primitive!(i16); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 177 | primitive!(i32); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 177 | primitive!(i32); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 178 | primitive!(i64); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 178 | primitive!(i64); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 179 | primitive!(i128); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 179 | primitive!(i128); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 180 | primitive!(usize); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 180 | primitive!(usize); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 181 | primitive!(isize); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 181 | primitive!(isize); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 182 | primitive!(f32); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 182 | primitive!(f32); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 183 | primitive!(f64); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 183 | primitive!(f64); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 184 | primitive!(char); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 184 | primitive!(char); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 185 | primitive!(bool); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/models/generate.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | rng.gen() [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] ... [INFO] [stdout] 185 | primitive!(bool); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 164 | rng.r#gen() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::full::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::full::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::extra::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::extra::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::full::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::full::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::extra::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::extra::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Decode<'_, mode::Packed>` is not satisfied [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ the trait `Decode<'_, mode::Packed>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decode<'de, M>`: [INFO] [stdout] `&'de CStr` implements `Decode<'de, M>` [INFO] [stdout] `&'de [u8]` implements `Decode<'de, M>` [INFO] [stdout] `&'de str` implements `Decode<'de, M>` [INFO] [stdout] `()` implements `Decode<'de, M>` [INFO] [stdout] `(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] and 108 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Decode<'_, mode::Packed>` is not satisfied [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ the trait `Decode<'_, mode::Packed>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decode<'de, M>`: [INFO] [stdout] `&'de CStr` implements `Decode<'de, M>` [INFO] [stdout] `&'de [u8]` implements `Decode<'de, M>` [INFO] [stdout] `&'de str` implements `Decode<'de, M>` [INFO] [stdout] `()` implements `Decode<'de, M>` [INFO] [stdout] `(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] and 108 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Decode<'_>` is not satisfied [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ the trait `Decode<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decode<'de, M>`: [INFO] [stdout] `&'de CStr` implements `Decode<'de, M>` [INFO] [stdout] `&'de [u8]` implements `Decode<'de, M>` [INFO] [stdout] `&'de str` implements `Decode<'de, M>` [INFO] [stdout] `()` implements `Decode<'de, M>` [INFO] [stdout] `(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] and 108 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Decode<'_>` is not satisfied [INFO] [stdout] --> src/models.rs:155:46 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "musli", derive(Encode, Decode))] [INFO] [stdout] | ^^^^^^ the trait `Decode<'_>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decode<'de, M>`: [INFO] [stdout] `&'de CStr` implements `Decode<'de, M>` [INFO] [stdout] `&'de [u8]` implements `Decode<'de, M>` [INFO] [stdout] `&'de str` implements `Decode<'de, M>` [INFO] [stdout] `()` implements `Decode<'de, M>` [INFO] [stdout] `(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T10, T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] `(T11, T12, T13, T14, T15)` implements `Decode<'de, M>` [INFO] [stdout] and 108 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `musli-tests` (lib) due to 20 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `musli-tests` (lib test) due to 20 previous errors; 2 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" "0d2aa03b1c888e8cf0533e02bba8df94340e067eed103d806fa71675b82bf802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2aa03b1c888e8cf0533e02bba8df94340e067eed103d806fa71675b82bf802", kill_on_drop: false }` [INFO] [stdout] 0d2aa03b1c888e8cf0533e02bba8df94340e067eed103d806fa71675b82bf802