[INFO] cloning repository https://github.com/2soba/popr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2soba/popr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2soba%2Fpopr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2soba%2Fpopr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d3cb6ec969c07705ad919e0325c14ba3c572da0 [INFO] checking 2soba/popr/5d3cb6ec969c07705ad919e0325c14ba3c572da0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2soba%2Fpopr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2soba/popr on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/2soba/popr [INFO] finished tweaking git repo https://github.com/2soba/popr [INFO] tweaked toml for git repo https://github.com/2soba/popr written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/2soba/popr already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/redis_json/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `ijson` dependency) [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/json_path/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `ijson` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c6e10e6abcbecaa737b44648e8a700fccac2c047a871a93b341bb4d724fd8eeb [INFO] running `Command { std: "docker" "start" "-a" "c6e10e6abcbecaa737b44648e8a700fccac2c047a871a93b341bb4d724fd8eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6e10e6abcbecaa737b44648e8a700fccac2c047a871a93b341bb4d724fd8eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e10e6abcbecaa737b44648e8a700fccac2c047a871a93b341bb4d724fd8eeb", kill_on_drop: false }` [INFO] [stdout] c6e10e6abcbecaa737b44648e8a700fccac2c047a871a93b341bb4d724fd8eeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 30278d652d787a877b256311811abc7373b3ce0defd9ad6ba7de3da8c2b475b9 [INFO] running `Command { std: "docker" "start" "-a" "30278d652d787a877b256311811abc7373b3ce0defd9ad6ba7de3da8c2b475b9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating json_path/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating redis_json/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] warning: /tmp/fixit/json_path/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `ijson` dependency) [INFO] [stderr] warning: /tmp/fixit/redis_json/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `ijson` dependency) [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling linkme-impl v0.3.27 [INFO] [stderr] Checking object v0.36.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking linkme v0.3.27 [INFO] [stderr] Compiling redis-module-macros-internals v2.0.7 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling redis-module v2.0.7 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Compiling serde_syn v0.1.0 [INFO] [stderr] Compiling redis-module-macros v2.0.7 [INFO] [stderr] Checking bson v2.11.0 [INFO] [stderr] Checking ijson v0.1.3 (https://github.com/RedisJSON/ijson?rev=e0119ac74f6c4ee918718ee122c3948b74ebeba8#e0119ac7) [INFO] [stderr] Checking json_path v0.1.0 (/tmp/fixit/json_path) [INFO] [stderr] Migrating json_path/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `json_path` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> json_path/src/lib.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | path: $path: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] 136 | path: $path: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] --> json_path/src/lib.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | path: $path: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] 147 | path: $path:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * json_path/src/lib.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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> json_path/src/lib.rs:136:16 [INFO] [stderr] | [INFO] [stderr] 136 | path: $path: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] --> json_path/src/lib.rs:147:16 [INFO] [stderr] | [INFO] [stderr] 147 | path: $path:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Checking redis_json v99.99.99 (/tmp/fixit/redis_json) [INFO] [stderr] Migrating json_path/tests/array_filter.rs from 2021 edition to 2024 [INFO] [stderr] Migrating json_path/src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: methods `contains_key`, `keys`, `is_empty`, `is_array`, `is_double`, and `get_str` are never used [INFO] [stdout] --> json_path/src/select_value.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait SelectValue: Debug + Eq + PartialEq + Default + Clone + Serialize { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 22 | fn get_type(&self) -> SelectValueType; [INFO] [stdout] 23 | fn contains_key(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fn values<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] 25 | fn keys<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn is_empty(&self) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn is_array(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | fn is_double(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | fn get_str(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_key`, `keys`, `is_empty`, `is_array`, `is_double`, and `get_str` are never used [INFO] [stdout] --> json_path/src/select_value.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait SelectValue: Debug + Eq + PartialEq + Default + Clone + Serialize { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 22 | fn get_type(&self) -> SelectValueType; [INFO] [stdout] 23 | fn contains_key(&self, key: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fn values<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] 25 | fn keys<'a>(&'a self) -> Option + 'a>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn is_empty(&self) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn is_array(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | fn is_double(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | fn get_str(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating json_path/tests/return_type.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating json_path/tests/jsonpath_examples.rs from 2021 edition to 2024 [INFO] [stderr] Migrating redis_json/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rejson` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * redis_json/src/c_api.rs [INFO] [stderr] * redis_json/src/lib.rs [INFO] [stderr] * redis_json/src/redisjson.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] --> redis_json/src/c_api.rs:324:21 [INFO] [stderr] | [INFO] [stderr] 324 | get_manage: $get_manager_expr: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] --> redis_json/src/c_api.rs:325:31 [INFO] [stderr] | [INFO] [stderr] 325 | pre_command_function: $pre_command_function_expr: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] --> redis_json/src/lib.rs:90:18 [INFO] [stderr] | [INFO] [stderr] 90 | pre_command: $pre_command_expr: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] --> redis_json/src/lib.rs:91:15 [INFO] [stderr] | [INFO] [stderr] 91 | get_mngr: $get_mngr_expr: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] --> redis_json/src/lib.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | run: $run_expr: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] --> redis_json/src/lib.rs:110:31 [INFO] [stderr] | [INFO] [stderr] 110 | pre_command_function: $pre_command_function_expr: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] --> redis_json/src/lib.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | get_manage: $get_manager_expr: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] --> redis_json/src/lib.rs:112:18 [INFO] [stderr] | [INFO] [stderr] 112 | version: $version: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] --> redis_json/src/lib.rs:113:15 [INFO] [stderr] | [INFO] [stderr] 113 | init: $init_func:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> redis_json/src/redisjson.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 108 | impl<'a> Path<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 109 | #[must_use] [INFO] [stderr] 110 | pub fn new(path: &'a str) -> Path { [INFO] [stderr] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:329:11 [INFO] [stdout] | [INFO] [stdout] 329 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 329 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 341 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:361:11 [INFO] [stdout] | [INFO] [stdout] 361 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 361 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 375 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 384 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 384 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:393:11 [INFO] [stdout] | [INFO] [stdout] 393 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 393 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 402 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:411:11 [INFO] [stdout] | [INFO] [stdout] 411 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 411 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 420 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 429 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 438 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 447 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:456:11 [INFO] [stdout] | [INFO] [stdout] 456 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 456 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:465:11 [INFO] [stdout] | [INFO] [stdout] 465 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 465 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:478:11 [INFO] [stdout] | [INFO] [stdout] 478 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 478 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:491:11 [INFO] [stdout] | [INFO] [stdout] 491 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 491 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:502:11 [INFO] [stdout] | [INFO] [stdout] 502 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 502 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:511:11 [INFO] [stdout] | [INFO] [stdout] 511 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 511 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:524:11 [INFO] [stdout] | [INFO] [stdout] 524 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 524 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 529 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 529 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:535:11 [INFO] [stdout] | [INFO] [stdout] 535 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 535 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:541:11 [INFO] [stdout] | [INFO] [stdout] 541 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 541 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:550:11 [INFO] [stdout] | [INFO] [stdout] 550 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 550 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:559:11 [INFO] [stdout] | [INFO] [stdout] 559 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 559 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:569:11 [INFO] [stdout] | [INFO] [stdout] 569 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 569 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> redis_json/src/c_api.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | get_manage: $get_manager_expr: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] 324 | get_manage: $get_manager_expr: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] --> redis_json/src/c_api.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | pre_command_function: $pre_command_function_expr: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] 325 | pre_command_function: $pre_command_function_expr:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> redis_json/src/redisjson.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> Path<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 109 | #[must_use] [INFO] [stdout] 110 | pub fn new(path: &'a str) -> Path { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> redis_json/src/lib.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | pre_command: $pre_command_expr: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] 90 | pre_command: $pre_command_expr: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] --> redis_json/src/lib.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | get_mngr: $get_mngr_expr: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] 91 | get_mngr: $get_mngr_expr: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] --> redis_json/src/lib.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | run: $run_expr: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] 92 | run: $run_expr: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] --> redis_json/src/lib.rs:110:58 [INFO] [stdout] | [INFO] [stdout] 110 | pre_command_function: $pre_command_function_expr: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] 110 | pre_command_function: $pre_command_function_expr: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] --> redis_json/src/lib.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | get_manage: $get_manager_expr: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] 111 | get_manage: $get_manager_expr: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] --> redis_json/src/lib.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | version: $version: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] 112 | version: $version: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] --> redis_json/src/lib.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | init: $init_func: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] 113 | init: $init_func:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> redis_json/src/redisjson.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | Box::from_raw(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> redis_json/src/redisjson.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub unsafe extern "C" fn free(value: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Ok(Some(v)) = h.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match h.get_value() { Ok(Some(v)) => { [INFO] [stdout] 72 | return v; [INFO] [stdout] 73 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Ok(Some(v)) = h.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match h.get_value() { Ok(Some(v)) => { [INFO] [stdout] 87 | return v; [INFO] [stdout] 88 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | while let Ok(arg) = args.next_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | while let Some(s) = args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | while let Some(s) = args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:322:11 [INFO] [stdout] | [INFO] [stdout] 322 | while let Ok(key) = args.next_arg() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:962:8 [INFO] [stdout] | [INFO] [stdout] 962 | if let Ok(val) = args.next_arg() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:965:5 [INFO] [stdout] | [INFO] [stdout] 965 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 962 ~ match args.next_arg() { Ok(val) => { [INFO] [stdout] 963 | path = Path::new(path_or_json); [INFO] [stdout] 964 | json = val.try_as_str()?; [INFO] [stdout] 965 ~ } _ => { [INFO] [stdout] 966 | path = Path::new(default_path()); [INFO] [stdout] 967 | json = path_or_json; [INFO] [stdout] 968 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1412:19 [INFO] [stdout] | [INFO] [stdout] 1412 | let path = if let Some(arg) = args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1434:5 [INFO] [stdout] | [INFO] [stdout] 1434 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1412 ~ let path = match args.next() { Some(arg) => { [INFO] [stdout] 1413 | if arg.try_as_str()?.eq_ignore_ascii_case(CMD_ARG_FORMAT) { [INFO] [stdout] ... [INFO] [stdout] 1433 | } [INFO] [stdout] 1434 ~ } _ => { [INFO] [stdout] 1435 | None [INFO] [stdout] 1436 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1414:16 [INFO] [stdout] | [INFO] [stdout] 1414 | if let Ok(next) = args.next_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1426:13 [INFO] [stdout] | [INFO] [stdout] 1426 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1414 ~ match args.next_str() { Ok(next) => { [INFO] [stdout] 1415 | format_options.format = ReplyFormat::from_str(next)?; [INFO] [stdout] ... [INFO] [stdout] 1425 | args.next() [INFO] [stdout] 1426 ~ } _ => { [INFO] [stdout] 1427 | // If only the FORMAT subcommand is provided, then it's the path [INFO] [stdout] 1428 | Some(arg) [INFO] [stdout] 1429 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(res) = func(v)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ match func(v)? { Some(res) => { [INFO] [stdout] 63 | *v = res; [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | e.remove(); [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(res) = func(v)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 81 ~ match func(v)? { Some(res) => { [INFO] [stdout] 82 | *v = res; [INFO] [stdout] 83 ~ } _ => { [INFO] [stdout] 84 | arr.remove(idx); [INFO] [stdout] 85 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(n) = n.as_number() { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match n.as_number() { Some(n) => { [INFO] [stdout] 224 | if !n.has_decimal_point() { [INFO] [stdout] ... [INFO] [stdout] 230 | } [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | Err(RedisError::Str("result is not a number")) [INFO] [stdout] 233 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | if let serde_json::Value::String(s) = json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 390 ~ match json { serde_json::Value::String(s) => { [INFO] [stdout] 391 | let mut res = None; [INFO] [stdout] ... [INFO] [stdout] 399 | res.ok_or_else(|| RedisError::String(err_msg_json_path_doesnt_exist())) [INFO] [stdout] 400 ~ } _ => { [INFO] [stdout] 401 | Err(RedisError::String(err_msg_json_expected( [INFO] [stdout] ... [INFO] [stdout] 404 | ))) [INFO] [stdout] 405 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating json_path/tests/filter.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rejson` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * redis_json/src/c_api.rs [INFO] [stderr] * redis_json/src/lib.rs [INFO] [stderr] * redis_json/src/redisjson.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] --> redis_json/src/c_api.rs:324:21 [INFO] [stderr] | [INFO] [stderr] 324 | get_manage: $get_manager_expr: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] --> redis_json/src/c_api.rs:325:31 [INFO] [stderr] | [INFO] [stderr] 325 | pre_command_function: $pre_command_function_expr: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] --> redis_json/src/lib.rs:90:18 [INFO] [stderr] | [INFO] [stderr] 90 | pre_command: $pre_command_expr: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] --> redis_json/src/lib.rs:91:15 [INFO] [stderr] | [INFO] [stderr] 91 | get_mngr: $get_mngr_expr: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] --> redis_json/src/lib.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | run: $run_expr: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] --> redis_json/src/lib.rs:110:31 [INFO] [stderr] | [INFO] [stderr] 110 | pre_command_function: $pre_command_function_expr: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] --> redis_json/src/lib.rs:111:21 [INFO] [stderr] | [INFO] [stderr] 111 | get_manage: $get_manager_expr: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] --> redis_json/src/lib.rs:112:18 [INFO] [stderr] | [INFO] [stderr] 112 | version: $version: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] --> redis_json/src/lib.rs:113:15 [INFO] [stderr] | [INFO] [stderr] 113 | init: $init_func:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> redis_json/src/redisjson.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 108 | impl<'a> Path<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 109 | #[must_use] [INFO] [stderr] 110 | pub fn new(path: &'a str) -> Path { [INFO] [stderr] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:329:11 [INFO] [stdout] | [INFO] [stdout] 329 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 329 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 341 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:361:11 [INFO] [stdout] | [INFO] [stdout] 361 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 361 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 375 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 384 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 384 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:393:11 [INFO] [stdout] | [INFO] [stdout] 393 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 393 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 402 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:411:11 [INFO] [stdout] | [INFO] [stdout] 411 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 411 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 420 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 429 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 438 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 447 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:456:11 [INFO] [stdout] | [INFO] [stdout] 456 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 456 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:465:11 [INFO] [stdout] | [INFO] [stdout] 465 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 465 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:478:11 [INFO] [stdout] | [INFO] [stdout] 478 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 478 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:491:11 [INFO] [stdout] | [INFO] [stdout] 491 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 491 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:502:11 [INFO] [stdout] | [INFO] [stdout] 502 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 502 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:511:11 [INFO] [stdout] | [INFO] [stdout] 511 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 511 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:524:11 [INFO] [stdout] | [INFO] [stdout] 524 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 524 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 529 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 529 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:535:11 [INFO] [stdout] | [INFO] [stdout] 535 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 535 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:541:11 [INFO] [stdout] | [INFO] [stdout] 541 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 541 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:550:11 [INFO] [stdout] | [INFO] [stdout] 550 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 550 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:559:11 [INFO] [stdout] | [INFO] [stdout] 559 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 559 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> redis_json/src/c_api.rs:569:11 [INFO] [stdout] | [INFO] [stdout] 569 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] ::: redis_json/src/lib.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | / redis_json_module_create! { [INFO] [stdout] 241 | | data_types: [REDIS_JSON_TYPE], [INFO] [stdout] 242 | | pre_command_function: pre_command, [INFO] [stdout] 243 | | get_manage: Some(ivalue_manager::RedisIValueJsonKeyManager{phantom:PhantomData}), [INFO] [stdout] ... | [INFO] [stdout] 246 | | info: dummy_info, [INFO] [stdout] 247 | | } [INFO] [stdout] | |_- in this macro invocation [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 #123757 [INFO] [stdout] = note: this warning originates in the macro `redis_json_module_export_shared_api` which comes from the expansion of the macro `redis_json_module_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 569 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> redis_json/src/c_api.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | get_manage: $get_manager_expr: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] 324 | get_manage: $get_manager_expr: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] --> redis_json/src/c_api.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | pre_command_function: $pre_command_function_expr: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] 325 | pre_command_function: $pre_command_function_expr:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> redis_json/src/redisjson.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> Path<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 109 | #[must_use] [INFO] [stdout] 110 | pub fn new(path: &'a str) -> Path { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> redis_json/src/lib.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | pre_command: $pre_command_expr: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] 90 | pre_command: $pre_command_expr: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] --> redis_json/src/lib.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | get_mngr: $get_mngr_expr: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] 91 | get_mngr: $get_mngr_expr: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] --> redis_json/src/lib.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | run: $run_expr: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] 92 | run: $run_expr: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] --> redis_json/src/lib.rs:110:58 [INFO] [stdout] | [INFO] [stdout] 110 | pre_command_function: $pre_command_function_expr: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] 110 | pre_command_function: $pre_command_function_expr: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] --> redis_json/src/lib.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | get_manage: $get_manager_expr: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] 111 | get_manage: $get_manager_expr: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] --> redis_json/src/lib.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | version: $version: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] 112 | version: $version: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] --> redis_json/src/lib.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | init: $init_func: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] 113 | init: $init_func:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> redis_json/src/redisjson.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | Box::from_raw(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> redis_json/src/redisjson.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub unsafe extern "C" fn free(value: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Ok(Some(v)) = h.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match h.get_value() { Ok(Some(v)) => { [INFO] [stdout] 72 | return v; [INFO] [stdout] 73 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if let Ok(Some(v)) = h.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/c_api.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match h.get_value() { Ok(Some(v)) => { [INFO] [stdout] 87 | return v; [INFO] [stdout] 88 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | while let Ok(arg) = args.next_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | while let Some(s) = args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | while let Some(s) = args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:322:11 [INFO] [stdout] | [INFO] [stdout] 322 | while let Ok(key) = args.next_arg() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:962:8 [INFO] [stdout] | [INFO] [stdout] 962 | if let Ok(val) = args.next_arg() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:965:5 [INFO] [stdout] | [INFO] [stdout] 965 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 962 ~ match args.next_arg() { Ok(val) => { [INFO] [stdout] 963 | path = Path::new(path_or_json); [INFO] [stdout] 964 | json = val.try_as_str()?; [INFO] [stdout] 965 ~ } _ => { [INFO] [stdout] 966 | path = Path::new(default_path()); [INFO] [stdout] 967 | json = path_or_json; [INFO] [stdout] 968 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1412:19 [INFO] [stdout] | [INFO] [stdout] 1412 | let path = if let Some(arg) = args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1434:5 [INFO] [stdout] | [INFO] [stdout] 1434 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1412 ~ let path = match args.next() { Some(arg) => { [INFO] [stdout] 1413 | if arg.try_as_str()?.eq_ignore_ascii_case(CMD_ARG_FORMAT) { [INFO] [stdout] ... [INFO] [stdout] 1433 | } [INFO] [stdout] 1434 ~ } _ => { [INFO] [stdout] 1435 | None [INFO] [stdout] 1436 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1414:16 [INFO] [stdout] | [INFO] [stdout] 1414 | if let Ok(next) = args.next_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/commands.rs:1426:13 [INFO] [stdout] | [INFO] [stdout] 1426 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1414 ~ match args.next_str() { Ok(next) => { [INFO] [stdout] 1415 | format_options.format = ReplyFormat::from_str(next)?; [INFO] [stdout] ... [INFO] [stdout] 1425 | args.next() [INFO] [stdout] 1426 ~ } _ => { [INFO] [stdout] 1427 | // If only the FORMAT subcommand is provided, then it's the path [INFO] [stdout] 1428 | Some(arg) [INFO] [stdout] 1429 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(res) = func(v)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ match func(v)? { Some(res) => { [INFO] [stdout] 63 | *v = res; [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | e.remove(); [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(res) = func(v)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 81 ~ match func(v)? { Some(res) => { [INFO] [stdout] 82 | *v = res; [INFO] [stdout] 83 ~ } _ => { [INFO] [stdout] 84 | arr.remove(idx); [INFO] [stdout] 85 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(n) = n.as_number() { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match n.as_number() { Some(n) => { [INFO] [stdout] 224 | if !n.has_decimal_point() { [INFO] [stdout] ... [INFO] [stdout] 230 | } [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | Err(RedisError::Str("result is not a number")) [INFO] [stdout] 233 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | if let serde_json::Value::String(s) = json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> redis_json/src/ivalue_manager.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 390 ~ match json { serde_json::Value::String(s) => { [INFO] [stdout] 391 | let mut res = None; [INFO] [stdout] ... [INFO] [stdout] 399 | res.ok_or_else(|| RedisError::String(err_msg_json_path_doesnt_exist())) [INFO] [stdout] 400 ~ } _ => { [INFO] [stdout] 401 | Err(RedisError::String(err_msg_json_expected( [INFO] [stdout] ... [INFO] [stdout] 404 | ))) [INFO] [stdout] 405 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating json_path/tests/op.rs from 2021 edition to 2024 [INFO] [stderr] Migrating json_path/tests/common.rs from 2021 edition to 2024 [INFO] [stderr] Migrating json_path/tests/paths.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.62s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: failed to load manifest for workspace member `/tmp/fixit/json_path` [INFO] [stderr] referenced by workspace at `/tmp/fixit/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse manifest at `/tmp/fixit/json_path/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] `default_features` is unsupported as of the 2024 edition; instead use `default-features` [INFO] [stderr] (in the `ijson` dependency) [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" "30278d652d787a877b256311811abc7373b3ce0defd9ad6ba7de3da8c2b475b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30278d652d787a877b256311811abc7373b3ce0defd9ad6ba7de3da8c2b475b9", kill_on_drop: false }` [INFO] [stdout] 30278d652d787a877b256311811abc7373b3ce0defd9ad6ba7de3da8c2b475b9