[INFO] fetching crate redis-module 2.0.7... [INFO] checking redis-module-2.0.7 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate redis-module 2.0.7 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate redis-module 2.0.7 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "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-7-tc2/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" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4482a50086cd289cd4be293796ee2c5384b639437a6d3626c828c522799c47f [INFO] running `Command { std: "docker" "start" "-a" "d4482a50086cd289cd4be293796ee2c5384b639437a6d3626c828c522799c47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4482a50086cd289cd4be293796ee2c5384b639437a6d3626c828c522799c47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4482a50086cd289cd4be293796ee2c5384b639437a6d3626c828c522799c47f", kill_on_drop: false }` [INFO] [stdout] d4482a50086cd289cd4be293796ee2c5384b639437a6d3626c828c522799c47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b0ec8445597513b804056d10a278d666c84748fa15e376cd26d629d913b570b [INFO] running `Command { std: "docker" "start" "-a" "7b0ec8445597513b804056d10a278d666c84748fa15e376cd26d629d913b570b", 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 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 bindgen v0.66.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [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 quote v1.0.33 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling redis-module-macros-internals v2.0.7 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling linkme-impl v0.3.17 [INFO] [stderr] Checking linkme v0.3.17 [INFO] [stderr] Compiling cexpr v0.6.0 [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] 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: 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: 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 [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; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7b0ec8445597513b804056d10a278d666c84748fa15e376cd26d629d913b570b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0ec8445597513b804056d10a278d666c84748fa15e376cd26d629d913b570b", kill_on_drop: false }` [INFO] [stdout] 7b0ec8445597513b804056d10a278d666c84748fa15e376cd26d629d913b570b