[INFO] fetching crate redis-module 2.0.7... [INFO] testing redis-module-2.0.7 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate redis-module 2.0.7 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate redis-module 2.0.7 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 redis-module-macros-internals v2.0.7 [INFO] [stderr] Downloaded linkme-impl v0.3.17 [INFO] [stderr] Downloaded linkme v0.3.17 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded bindgen v0.66.1 [INFO] [stderr] Downloaded redis v0.23.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3842c584f4cc34859b499d80214f12dcc0ae4ee2929713d5dc413c4660401a68 [INFO] running `Command { std: "docker" "start" "-a" "3842c584f4cc34859b499d80214f12dcc0ae4ee2929713d5dc413c4660401a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3842c584f4cc34859b499d80214f12dcc0ae4ee2929713d5dc413c4660401a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3842c584f4cc34859b499d80214f12dcc0ae4ee2929713d5dc413c4660401a68", kill_on_drop: false }` [INFO] [stdout] 3842c584f4cc34859b499d80214f12dcc0ae4ee2929713d5dc413c4660401a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c6a2c3c39e6538b1d852d05c46b810f2af88311af54bbadc0774af32f69ce5aa [INFO] running `Command { std: "docker" "start" "-a" "c6a2c3c39e6538b1d852d05c46b810f2af88311af54bbadc0774af32f69ce5aa", 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 glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling nix v0.26.4 [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 which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling redis-module-macros-internals v2.0.7 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling linkme-impl v0.3.17 [INFO] [stderr] Compiling linkme v0.3.17 [INFO] [stderr] Compiling redis-module v2.0.7 (/opt/rustwide/workdir) [INFO] [stdout] error: 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: `#[deny(invalid_null_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stream.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | key: &RedisKey, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/context/mod.rs:1218:37 [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn add_section(self, name: &'a str) -> InfoContextBuilderSectionBuilder { [INFO] [stdout] | ^^ -------------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/key.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 180 | ) -> Result { [INFO] [stdout] | -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 180 | ) -> Result, RedisError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/key.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn as_string_dma(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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] error: could not compile `redis-module` (lib) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c6a2c3c39e6538b1d852d05c46b810f2af88311af54bbadc0774af32f69ce5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a2c3c39e6538b1d852d05c46b810f2af88311af54bbadc0774af32f69ce5aa", kill_on_drop: false }` [INFO] [stdout] c6a2c3c39e6538b1d852d05c46b810f2af88311af54bbadc0774af32f69ce5aa