[INFO] fetching crate redis-module 2.0.7...
[INFO] checking redis-module-2.0.7 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate redis-module 2.0.7 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate redis-module 2.0.7 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-4-tc1/source/Cargo.toml
[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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded enum-primitive-derive v0.1.2
[INFO] [stderr]   Downloaded linkme v0.3.17
[INFO] [stderr]   Downloaded redis-module-macros-internals v2.0.7
[INFO] [stderr]   Downloaded serde v1.0.189
[INFO] [stderr]   Downloaded linkme-impl v0.3.17
[INFO] [stderr]   Downloaded serde_derive v1.0.189
[INFO] [stderr]   Downloaded prettyplease v0.2.15
[INFO] [stderr]   Downloaded redis v0.23.3
[INFO] [stderr]   Downloaded bindgen v0.66.1
[INFO] [stderr]   Downloaded rustix v0.38.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9cab52e85f883d729b694ed6fd5e9206788d84026c06c0a234fd4df11d80a6f8
[INFO] running `Command { std: "docker" "start" "-a" "9cab52e85f883d729b694ed6fd5e9206788d84026c06c0a234fd4df11d80a6f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9cab52e85f883d729b694ed6fd5e9206788d84026c06c0a234fd4df11d80a6f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cab52e85f883d729b694ed6fd5e9206788d84026c06c0a234fd4df11d80a6f8", kill_on_drop: false }`
[INFO] [stdout] 9cab52e85f883d729b694ed6fd5e9206788d84026c06c0a234fd4df11d80a6f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 814b65d4b8f936886326fc47f90b1d3fd47c7a2683b40126d444ab0891edc3f2
[INFO] running `Command { std: "docker" "start" "-a" "814b65d4b8f936886326fc47f90b1d3fd47c7a2683b40126d444ab0891edc3f2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling prettyplease v0.2.15
[INFO] [stderr]    Compiling rustix v0.38.20
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling linux-raw-sys v0.4.10
[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 syn v1.0.109
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling bindgen v0.66.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking gimli v0.28.0
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking object v0.32.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 anyhow v1.0.75
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling enum-primitive-derive v0.1.2
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling redis-module-macros-internals v2.0.7
[INFO] [stderr]    Compiling linkme-impl v0.3.17
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]     Checking redis v0.23.3
[INFO] [stderr]     Checking linkme v0.3.17
[INFO] [stderr]    Compiling redis-module v2.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]     --> src/context/mod.rs:1218:48
[INFO] [stdout]      |
[INFO] [stdout] 1161 | impl<'a> InfoContextBuilder<'a> {
[INFO] [stdout]      |      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 1218 |     pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder {
[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: elided lifetime has a name
[INFO] [stdout]     --> src/context/mod.rs:1218:48
[INFO] [stdout]      |
[INFO] [stdout] 1161 | impl<'a> InfoContextBuilder<'a> {
[INFO] [stdout]      |      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 1218 |     pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder {
[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: unused return value of `Box::<T>::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<F>) };
[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)]` 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<F>); };
[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: creating a shared reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` 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: unused return value of `Box::<T>::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<F>) };
[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)]` 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<F>); };
[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: creating a shared reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` 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 undeclared crate or module `redis_module_macros`
[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 undeclared crate or module `redis_module_macros`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>): From<Info>` 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<Info>` 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<T>`:
[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<T: Into<OneInfoSectionData>>(&self, data: T) -> RedisResult<()> {
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `InfoContext::build_one_section`
[INFO] [stdout] 
[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] [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: creating a shared reference to mutable static is discouraged
[INFO] [stdout]  --> examples/load_unload.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let before = GLOBAL_STATE.clone();
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]  --> examples/load_unload.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         GLOBAL_STATE.replace(format!("Args passed: {}", args.join(", ")));
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]  --> examples/load_unload.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let after = GLOBAL_STATE.clone();
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/load_unload.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let before = GLOBAL_STATE.take();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> examples/load_unload.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let after = GLOBAL_STATE.clone();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redis-module` (example "info_handler_struct") due to 2 previous errors
[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 issue #123748 <https://github.com/rust-lang/rust/issues/123748>
[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)]` 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 issue #123748 <https://github.com/rust-lang/rust/issues/123748>
[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 issue #123748 <https://github.com/rust-lang/rust/issues/123748>
[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] 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 issue #123748 <https://github.com/rust-lang/rust/issues/123748>
[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] error[E0432]: unresolved import `redis_module_macros`
[INFO] [stdout]  --> examples/proc_macro_commands.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use redis_module_macros::{command, RedisValue};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `redis_module_macros`
[INFO] [stdout] 
[INFO] [stdout] 
[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 undeclared crate or module `redis_module_macros`
[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 issue #123748 <https://github.com/rust-lang/rust/issues/123748>
[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] error: cannot find attribute `RedisValueAttr` in this scope
[INFO] [stdout]   --> examples/proc_macro_commands.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[RedisValueAttr{flatten: true}]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[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 issue #123748 <https://github.com/rust-lang/rust/issues/123748>
[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] [stdout] error[E0277]: the trait bound `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>): From<InfoSection1>` 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<InfoSection1>` is not implemented for `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>)`
[INFO] [stdout]      = help: the following other types implement trait `From<T>`:
[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<T: Into<OneInfoSectionData>>(&self, data: T) -> RedisResult<()> {
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `InfoContext::build_one_section`
[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 `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>): From<InfoSection2>` 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<InfoSection2>` is not implemented for `(std::string::String, Vec<(std::string::String, InfoContextBuilderFieldTopLevelValue)>)`
[INFO] [stdout]      = help: the following other types implement trait `From<T>`:
[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<T: Into<OneInfoSectionData>>(&self, data: T) -> RedisResult<()> {
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `InfoContext::build_one_section`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redis-module` (example "proc_macro_commands") due to 2 previous errors
[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_multiple_sections") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "814b65d4b8f936886326fc47f90b1d3fd47c7a2683b40126d444ab0891edc3f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "814b65d4b8f936886326fc47f90b1d3fd47c7a2683b40126d444ab0891edc3f2", kill_on_drop: false }`
[INFO] [stdout] 814b65d4b8f936886326fc47f90b1d3fd47c7a2683b40126d444ab0891edc3f2
