[INFO] fetching crate redis-module 2.0.7... [INFO] testing redis-module-2.0.7 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate redis-module 2.0.7 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate redis-module 2.0.7 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d38b93bfbe097092b666f096a36e3290b60d99ede22830231583d58a81e46c97 [INFO] running `Command { std: "docker" "start" "-a" "d38b93bfbe097092b666f096a36e3290b60d99ede22830231583d58a81e46c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d38b93bfbe097092b666f096a36e3290b60d99ede22830231583d58a81e46c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d38b93bfbe097092b666f096a36e3290b60d99ede22830231583d58a81e46c97", kill_on_drop: false }` [INFO] [stdout] d38b93bfbe097092b666f096a36e3290b60d99ede22830231583d58a81e46c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41562274c2daabef8961f0a7b95bdacbcae77471d2592abdc4591eee320f08a4 [INFO] running `Command { std: "docker" "start" "-a" "41562274c2daabef8961f0a7b95bdacbcae77471d2592abdc4591eee320f08a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling addr2line v0.21.0 [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.80s [INFO] running `Command { std: "docker" "inspect" "41562274c2daabef8961f0a7b95bdacbcae77471d2592abdc4591eee320f08a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41562274c2daabef8961f0a7b95bdacbcae77471d2592abdc4591eee320f08a4", kill_on_drop: false }` [INFO] [stdout] 41562274c2daabef8961f0a7b95bdacbcae77471d2592abdc4591eee320f08a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 932bb5de93a21c9d8a2e89599beb69af5275b29db5eda59efa45bbc0b4f0bbde [INFO] running `Command { std: "docker" "start" "-a" "932bb5de93a21c9d8a2e89599beb69af5275b29db5eda59efa45bbc0b4f0bbde", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling redis-module-macros-internals v2.0.7 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling idna v0.4.0 [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_struct.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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[E0432]: unresolved import `redis_module_macros` [INFO] [stdout] --> examples/info_handler_macro.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] warning: use of deprecated method `redis_module::InfoContext::add_info_section`: Please use [`InfoContext::builder`] instead. [INFO] [stdout] --> examples/info_handler_macro.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | if ctx.add_info_section(Some("info")) == 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/info_handler_macro.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | ctx.add_info_field_str("field", "value"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(String, Vec<(String, ...)>): From<...>` is not satisfied [INFO] [stdout] --> examples/info_handler_struct.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | ctx.build_one_section(data) [INFO] [stdout] | ----------------- ^^^^ the trait `From` is not implemented for `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>)` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [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 `Info` 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_struct-3cb63fff0d93a430.long-type-1138272012113841398.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] [stderr] error: could not compile `redis-module` (example "info_handler_macro") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-module` (example "info_handler_struct") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-module` (example "info_handler_builder") due to 1 previous error [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] [stderr] error: could not compile `redis-module` (example "test_helper") due to 1 previous error; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "932bb5de93a21c9d8a2e89599beb69af5275b29db5eda59efa45bbc0b4f0bbde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932bb5de93a21c9d8a2e89599beb69af5275b29db5eda59efa45bbc0b4f0bbde", kill_on_drop: false }` [INFO] [stdout] 932bb5de93a21c9d8a2e89599beb69af5275b29db5eda59efa45bbc0b4f0bbde