[INFO] fetching crate redis-module 2.0.7... [INFO] testing redis-module-2.0.7 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate redis-module 2.0.7 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate redis-module 2.0.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate redis-module 2.0.7 [INFO] tweaked toml for crates.io crate redis-module 2.0.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate redis-module 2.0.7 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate redis-module 2.0.7 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87260c27ccf5d1a14211dd12cef2bea87eb471a2b3f8a9542ef8b79c27ae706c [INFO] running `Command { std: "docker" "start" "-a" "87260c27ccf5d1a14211dd12cef2bea87eb471a2b3f8a9542ef8b79c27ae706c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87260c27ccf5d1a14211dd12cef2bea87eb471a2b3f8a9542ef8b79c27ae706c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87260c27ccf5d1a14211dd12cef2bea87eb471a2b3f8a9542ef8b79c27ae706c", kill_on_drop: false }` [INFO] [stdout] 87260c27ccf5d1a14211dd12cef2bea87eb471a2b3f8a9542ef8b79c27ae706c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c06c7bc5115886ca1728c1705ffff072ec42f8cc265d10be3ff4423110a23f [INFO] running `Command { std: "docker" "start" "-a" "17c06c7bc5115886ca1728c1705ffff072ec42f8cc265d10be3ff4423110a23f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling linkme-impl v0.3.17 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling redis-module-macros-internals v2.0.7 [INFO] [stderr] Compiling linkme v0.3.17 [INFO] [stderr] Compiling redis-module v2.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/raw.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | String::from_utf8(slice::from_raw_parts(format, 3).to_vec()).ok()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/raw.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | let format: *const u8 = ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_null_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | key: &RedisKey, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/mod.rs:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | unsafe { Box::from_raw(pd as *mut Option) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 856 | unsafe { let _ = Box::from_raw(pd as *mut Option); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:1218:48 [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/context/commands.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | unsafe{CString::from_raw(v.notes as *mut c_char)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 455 | unsafe{let _ = CString::from_raw(v.notes as *mut c_char);}; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/context/commands.rs:460:32 [INFO] [stdout] | [INFO] [stdout] 460 | unsafe{CString::from_raw(v.bs.keyword.keyword as *mut c_char)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 460 | unsafe{let _ = CString::from_raw(v.bs.keyword.keyword as *mut c_char);}; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_stream_iterator(&self, reverse: bool) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_stream_iterator(&self, reverse: bool) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 180 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | ) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn as_string_dma(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub fn as_string_dma(&self) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/logging.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | log::set_logger(&LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace)) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 160 | log::set_logger(&raw const LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace)) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.84s [INFO] running `Command { std: "docker" "inspect" "17c06c7bc5115886ca1728c1705ffff072ec42f8cc265d10be3ff4423110a23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c06c7bc5115886ca1728c1705ffff072ec42f8cc265d10be3ff4423110a23f", kill_on_drop: false }` [INFO] [stdout] 17c06c7bc5115886ca1728c1705ffff072ec42f8cc265d10be3ff4423110a23f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6374b46d315d80c289fe000d8293b00830a5d1b41fa106f6dccb18a3fc8dec28 [INFO] running `Command { std: "docker" "start" "-a" "6374b46d315d80c289fe000d8293b00830a5d1b41fa106f6dccb18a3fc8dec28", kill_on_drop: false }` [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling redis-module-macros-internals v2.0.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling redis-module v2.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stdout] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/raw.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | String::from_utf8(slice::from_raw_parts(format, 3).to_vec()).ok()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/raw.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | let format: *const u8 = ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_null_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | key: &RedisKey, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/mod.rs:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | unsafe { Box::from_raw(pd as *mut Option) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 856 | unsafe { let _ = Box::from_raw(pd as *mut Option); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:1218:48 [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/context/commands.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | unsafe{CString::from_raw(v.notes as *mut c_char)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 455 | unsafe{let _ = CString::from_raw(v.notes as *mut c_char);}; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/context/commands.rs:460:32 [INFO] [stdout] | [INFO] [stdout] 460 | unsafe{CString::from_raw(v.bs.keyword.keyword as *mut c_char)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 460 | unsafe{let _ = CString::from_raw(v.bs.keyword.keyword as *mut c_char);}; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_stream_iterator(&self, reverse: bool) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_stream_iterator(&self, reverse: bool) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 180 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | ) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn as_string_dma(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub fn as_string_dma(&self) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/logging.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | log::set_logger(&LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace)) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 160 | log::set_logger(&raw const LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace)) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling this function with a null pointer is undefined behavior, even if the result of the function is unused [INFO] [stdout] --> src/raw.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | String::from_utf8(slice::from_raw_parts(format, 3).to_vec()).ok()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit and [INFO] [stdout] note: null pointer originates from here [INFO] [stdout] --> src/raw.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | let format: *const u8 = ptr::null(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_null_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | key: &RedisKey, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/mod.rs:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | unsafe { Box::from_raw(pd as *mut Option) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 856 | unsafe { let _ = Box::from_raw(pd as *mut Option); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:1218:48 [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/context/commands.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | unsafe{CString::from_raw(v.notes as *mut c_char)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 455 | unsafe{let _ = CString::from_raw(v.notes as *mut c_char);}; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/context/commands.rs:460:32 [INFO] [stdout] | [INFO] [stdout] 460 | unsafe{CString::from_raw(v.bs.keyword.keyword as *mut c_char)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 460 | unsafe{let _ = CString::from_raw(v.bs.keyword.keyword as *mut c_char);}; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_stream_iterator(&self, reverse: bool) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_stream_iterator(&self, reverse: bool) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 180 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | ) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn as_string_dma(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub fn as_string_dma(&self) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/logging.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | log::set_logger(&LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace)) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 160 | log::set_logger(&raw const LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace)) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `redis_module_macros` [INFO] [stdout] --> examples/info_handler_builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use redis_module_macros::info_command_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `redis_module_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `redis_module_macros`, use `cargo add redis_module_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `redis_module_macros` [INFO] [stdout] --> examples/test_helper.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / redis_module! { [INFO] [stdout] 42 | | name: "test_helper", [INFO] [stdout] 43 | | version: 1, [INFO] [stdout] 44 | | allocator: (redis_module::alloc::RedisAlloc, redis_module::alloc::RedisAlloc), [INFO] [stdout] ... | [INFO] [stdout] 52 | | ], [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `redis_module_macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `redis_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redis_module::InfoContext::add_info_section`: Please use [`InfoContext::builder`] instead. [INFO] [stdout] --> examples/test_helper.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if ctx.add_info_section(Some("test_helper")) == Status::Ok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redis_module::InfoContext::add_info_field_str`: Please use [`InfoContext::builder`] instead. [INFO] [stdout] --> examples/test_helper.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | ctx.add_info_field_str("field", "value"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `redis_module_macros` [INFO] [stdout] --> examples/server_events.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis_module_macros::{config_changed_event_handler, cron_event_handler, flush_event_handler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `redis_module_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `redis_module_macros`, use `cargo add redis_module_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-module` (example "server_events") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `redis-module` (example "test_helper") due to 1 previous error; 2 warnings emitted [INFO] [stderr] error: could not compile `redis-module` (example "info_handler_builder") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `redis_module_macros` [INFO] [stdout] --> examples/info_handler_multiple_sections.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use redis_module_macros::{info_command_handler, InfoSection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `redis_module_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `redis_module_macros`, use `cargo add redis_module_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(String, Vec<(String, ...)>): From<...>` is not satisfied [INFO] [stdout] --> examples/info_handler_multiple_sections.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | let _ = ctx.build_one_section(data)?; [INFO] [stdout] | ----------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>)` [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `(T, T)` implements `From<[T; 2]>` [INFO] [stdout] `(T, T, T)` implements `From<[T; 3]>` [INFO] [stdout] `(T, T, T, T)` implements `From<[T; 4]>` [INFO] [stdout] `(T, T, T, T, T)` implements `From<[T; 5]>` [INFO] [stdout] `(T, T, T, T, T, T)` implements `From<[T; 6]>` [INFO] [stdout] `(T, T, T, T, T, T, T)` implements `From<[T; 7]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T)` implements `From<[T; 8]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T, T)` implements `From<[T; 9]>` [INFO] [stdout] and 6 others [INFO] [stdout] = note: required for `InfoSection1` to implement `Into<(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>)>` [INFO] [stdout] note: required by a bound in `InfoContext::build_one_section` [INFO] [stdout] --> /opt/rustwide/workdir/src/context/mod.rs:1259:33 [INFO] [stdout] | [INFO] [stdout] 1259 | pub fn build_one_section>(&self, data: T) -> RedisResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `InfoContext::build_one_section` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/info_handler_multiple_sections-c90e43d9f83505bb.long-type-10204980613099530459.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | fn test_string() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> tests/integration.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | .query(&mut con) [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 203 | .query::<()>(&mut con) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | fn test_scan() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> tests/integration.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | .query(&mut con) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 223 ~ .query::<()>(&mut con) [INFO] [stdout] 224 | .with_context(|| "failed to run string.set")?; [INFO] [stdout] ... [INFO] [stdout] 227 | .arg(&["y", "1"]) [INFO] [stdout] 228 ~ .query::<()>(&mut con) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:368:1 [INFO] [stdout] | [INFO] [stdout] 368 | fn test_key_space_notifications() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> tests/integration.rs:378:43 [INFO] [stdout] | [INFO] [stdout] 378 | let _ = redis::cmd("GET").arg(&["x"]).query(&mut con)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 378 | let _: () = redis::cmd("GET").arg(&["x"]).query(&mut con)?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(String, Vec<(String, ...)>): From<...>` is not satisfied [INFO] [stdout] --> examples/info_handler_multiple_sections.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | ctx.build_one_section(data) [INFO] [stdout] | ----------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>)` [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `(T, T)` implements `From<[T; 2]>` [INFO] [stdout] `(T, T, T)` implements `From<[T; 3]>` [INFO] [stdout] `(T, T, T, T)` implements `From<[T; 4]>` [INFO] [stdout] `(T, T, T, T, T)` implements `From<[T; 5]>` [INFO] [stdout] `(T, T, T, T, T, T)` implements `From<[T; 6]>` [INFO] [stdout] `(T, T, T, T, T, T, T)` implements `From<[T; 7]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T)` implements `From<[T; 8]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T, T)` implements `From<[T; 9]>` [INFO] [stdout] and 6 others [INFO] [stdout] = note: required for `InfoSection2` to implement `Into<(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>)>` [INFO] [stdout] note: required by a bound in `InfoContext::build_one_section` [INFO] [stdout] --> /opt/rustwide/workdir/src/context/mod.rs:1259:33 [INFO] [stdout] | [INFO] [stdout] 1259 | pub fn build_one_section>(&self, data: T) -> RedisResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `InfoContext::build_one_section` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/info_handler_multiple_sections-c90e43d9f83505bb.long-type-6779918650856860691.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | fn test_server_event() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> tests/integration.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | .query(&mut con) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 422 ~ .query::<()>(&mut con) [INFO] [stdout] 423 | .with_context(|| "failed to run flushall")?; [INFO] [stdout] ... [INFO] [stdout] 429 | redis::cmd("flushall") [INFO] [stdout] 430 ~ .query::<()>(&mut con) [INFO] [stdout] 431 | .with_context(|| "failed to run string.set")?; [INFO] [stdout] ... [INFO] [stdout] 438 | .arg(&["set", "maxmemory", "1"]) [INFO] [stdout] 439 ~ .query::<()>(&mut con) [INFO] [stdout] 440 | .with_context(|| "failed to run string.set")?; [INFO] [stdout] ... [INFO] [stdout] 447 | .arg(&["set", "maxmemory", "0"]) [INFO] [stdout] 448 ~ .query::<()>(&mut con) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:536:1 [INFO] [stdout] | [INFO] [stdout] 536 | fn test_response() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> tests/integration.rs:545:10 [INFO] [stdout] | [INFO] [stdout] 545 | .query(&mut con) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 545 | .query::<()>(&mut con) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> tests/integration.rs:654:1 [INFO] [stdout] | [INFO] [stdout] 654 | fn test_open_key_with_flags() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> tests/integration.rs:702:39 [INFO] [stdout] | [INFO] [stdout] 702 | redis::cmd("del").arg(&["x"]).query(&mut con)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 664 ~ .query::<()>(&mut con) [INFO] [stdout] 665 | .with_context(|| "failed to run DEBUG SET-ACTIVE-EXPIRE")?; [INFO] [stdout] ... [INFO] [stdout] 669 | .arg(&["x", "1"]) [INFO] [stdout] 670 ~ .query::<()>(&mut con) [INFO] [stdout] 671 | .with_context(|| "failed to run string.set")?; [INFO] [stdout] ... [INFO] [stdout] 675 | .arg(&["x", "1"]) [INFO] [stdout] 676 ~ .query::<()>(&mut con) [INFO] [stdout] 677 | .with_context(|| "failed to run expire")?; [INFO] [stdout] ... [INFO] [stdout] 701 | // Delete key and reset stats [INFO] [stdout] 702 ~ redis::cmd("del").arg(&["x"]).query::<()>(&mut con)?; [INFO] [stdout] 703 ~ redis::cmd("config").arg(&["RESETSTAT"]).query::<()>(&mut con)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-module` (example "info_handler_multiple_sections") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "6374b46d315d80c289fe000d8293b00830a5d1b41fa106f6dccb18a3fc8dec28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6374b46d315d80c289fe000d8293b00830a5d1b41fa106f6dccb18a3fc8dec28", kill_on_drop: false }` [INFO] [stdout] 6374b46d315d80c289fe000d8293b00830a5d1b41fa106f6dccb18a3fc8dec28