[INFO] cloning repository https://github.com/gemini-15/fuzz
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gemini-15/fuzz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgemini-15%2Ffuzz", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgemini-15%2Ffuzz'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 98752f9c2f60b5f063941e6f85c1130fb94873df
[INFO] testing gemini-15/fuzz against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgemini-15%2Ffuzz" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  97% (514/527)
Updating files:  98% (517/527)
Updating files:  99% (522/527)
Updating files: 100% (527/527)
Updating files: 100% (527/527), done.
[INFO] validating manifest of git repo https://github.com/gemini-15/fuzz on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gemini-15/fuzz
[INFO] finished tweaking git repo https://github.com/gemini-15/fuzz
[INFO] tweaked toml for git repo https://github.com/gemini-15/fuzz written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/gemini-15/fuzz already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crc v1.7.0
[INFO] [stderr]   Downloaded ipsec-parser v0.3.0
[INFO] [stderr]   Downloaded rusticata-macros v0.4.1
[INFO] [stderr]   Downloaded der-parser v0.5.5
[INFO] [stderr]   Downloaded kerberos-parser v0.1.4
[INFO] [stderr]   Downloaded ntp-parser v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3d72e205c34289ad92158c8e9c5ec6724c2d9b1f0c2aa76e8684906c1b16c0f
[INFO] running `Command { std: "docker" "start" "-a" "e3d72e205c34289ad92158c8e9c5ec6724c2d9b1f0c2aa76e8684906c1b16c0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3d72e205c34289ad92158c8e9c5ec6724c2d9b1f0c2aa76e8684906c1b16c0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3d72e205c34289ad92158c8e9c5ec6724c2d9b1f0c2aa76e8684906c1b16c0f", kill_on_drop: false }`
[INFO] [stdout] e3d72e205c34289ad92158c8e9c5ec6724c2d9b1f0c2aa76e8684906c1b16c0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d9e66697e6fa02ac8a77ce2bfc5de42f82140317946cc4736a8cc227227f5ef
[INFO] running `Command { std: "docker" "start" "-a" "9d9e66697e6fa02ac8a77ce2bfc5de42f82140317946cc4736a8cc227227f5ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling build_const v0.2.1
[INFO] [stderr]    Compiling crc v1.7.0
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling nom v3.2.1
[INFO] [stderr]    Compiling rusticata-macros v0.4.1
[INFO] [stderr]    Compiling ntp-parser v0.2.1
[INFO] [stderr]    Compiling der-parser v0.5.5
[INFO] [stderr]    Compiling ipsec-parser v0.3.0
[INFO] [stderr]    Compiling kerberos-parser v0.1.4
[INFO] [stderr]    Compiling suricata v4.1.7-fmtp (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/core.rs:188:1
[INFO] [stdout]     |
[INFO] [stdout] 188 |   /// Extern functions operating on Flow.
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 189 | / extern {
[INFO] [stdout] 190 | |     pub fn FlowGetLastTimeAsParts(flow: &Flow, secs: *mut u64, usecs: *mut u64);
[INFO] [stdout] 191 | | }
[INFO] [stdout]     | |_- rustdoc does not generate documentation for extern block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/json.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 |   /// Expose the jansson functions we need.
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 | / extern {
[INFO] [stdout] 29 | |     fn json_object() -> *mut JsonT;
[INFO] [stdout] 30 | |     fn json_object_set_new(js: *mut JsonT, key: *const c_char,
[INFO] [stdout] 31 | |                            val: *mut JsonT) -> u32;
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     fn SCJsonBool(val: bool) -> *mut JsonT;
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | |_- rustdoc does not generate documentation for extern block
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/smb.rs:707:9
[INFO] [stdout]     |
[INFO] [stdout] 707 |         (self.rec_type == hdr.rec_type && self.ssn_id == hdr.ssn_id &&
[INFO] [stdout]     |         ^
[INFO] [stdout] 708 |          self.msg_id == hdr.msg_id)
[INFO] [stdout]     |                                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 707 ~         self.rec_type == hdr.rec_type && self.ssn_id == hdr.ssn_id &&
[INFO] [stdout] 708 ~          self.msg_id == hdr.msg_id
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             (them < us)
[INFO] [stdout]     |             ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -             (them < us)
[INFO] [stdout] 156 +             them < us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |             (them > us)
[INFO] [stdout]     |             ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -             (them > us)
[INFO] [stdout] 159 +             them > us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             (them == us)
[INFO] [stdout]     |             ^          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -             (them == us)
[INFO] [stdout] 162 +             them == us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |             (them != us)
[INFO] [stdout]     |             ^          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 165 -             (them != us)
[INFO] [stdout] 165 +             them != us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `file_size`
[INFO] [stdout]   --> src/filetracker.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     file_size: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `FileTransferTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/filetracker.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/conf.rs:40:47
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if ConfGet(CString::new(key).unwrap().as_ptr(), &mut vptr) != 1 {
[INFO] [stdout]    |                    -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/conf.rs:94:61
[INFO] [stdout]    |
[INFO] [stdout] 94 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/conf.rs:116:65
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/json.rs:83:60
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/json.rs:91:60
[INFO] [stdout]    |
[INFO] [stdout] 91 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/json.rs:99:60
[INFO] [stdout]    |
[INFO] [stdout] 99 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/json.rs:107:60
[INFO] [stdout]     |
[INFO] [stdout] 107 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/json.rs:115:60
[INFO] [stdout]     |
[INFO] [stdout] 115 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.40s
[INFO] running `Command { std: "docker" "inspect" "9d9e66697e6fa02ac8a77ce2bfc5de42f82140317946cc4736a8cc227227f5ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d9e66697e6fa02ac8a77ce2bfc5de42f82140317946cc4736a8cc227227f5ef", kill_on_drop: false }`
[INFO] [stdout] 9d9e66697e6fa02ac8a77ce2bfc5de42f82140317946cc4736a8cc227227f5ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d188b5a931fdce43ecfe5f0e40ca7663035f11cc7ed76756ac1b6d4fdf698943
[INFO] running `Command { std: "docker" "start" "-a" "d188b5a931fdce43ecfe5f0e40ca7663035f11cc7ed76756ac1b6d4fdf698943", kill_on_drop: false }`
[INFO] [stderr]    Compiling suricata v4.1.7-fmtp (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/core.rs:188:1
[INFO] [stdout]     |
[INFO] [stdout] 188 |   /// Extern functions operating on Flow.
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 189 | / extern {
[INFO] [stdout] 190 | |     pub fn FlowGetLastTimeAsParts(flow: &Flow, secs: *mut u64, usecs: *mut u64);
[INFO] [stdout] 191 | | }
[INFO] [stdout]     | |_- rustdoc does not generate documentation for extern block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/json.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 |   /// Expose the jansson functions we need.
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 | / extern {
[INFO] [stdout] 29 | |     fn json_object() -> *mut JsonT;
[INFO] [stdout] 30 | |     fn json_object_set_new(js: *mut JsonT, key: *const c_char,
[INFO] [stdout] 31 | |                            val: *mut JsonT) -> u32;
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     fn SCJsonBool(val: bool) -> *mut JsonT;
[INFO] [stdout] 40 | | }
[INFO] [stdout]    | |_- rustdoc does not generate documentation for extern block
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/smb.rs:707:9
[INFO] [stdout]     |
[INFO] [stdout] 707 |         (self.rec_type == hdr.rec_type && self.ssn_id == hdr.ssn_id &&
[INFO] [stdout]     |         ^
[INFO] [stdout] 708 |          self.msg_id == hdr.msg_id)
[INFO] [stdout]     |                                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 707 ~         self.rec_type == hdr.rec_type && self.ssn_id == hdr.ssn_id &&
[INFO] [stdout] 708 ~          self.msg_id == hdr.msg_id
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |             (them < us)
[INFO] [stdout]     |             ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -             (them < us)
[INFO] [stdout] 156 +             them < us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |             (them > us)
[INFO] [stdout]     |             ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -             (them > us)
[INFO] [stdout] 159 +             them > us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             (them == us)
[INFO] [stdout]     |             ^          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -             (them == us)
[INFO] [stdout] 162 +             them == us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/smb/detect.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |             (them != us)
[INFO] [stdout]     |             ^          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 165 -             (them != us)
[INFO] [stdout] 165 +             them != us
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `file_size`
[INFO] [stdout]   --> src/filetracker.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     file_size: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `FileTransferTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/filetracker.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/conf.rs:40:47
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if ConfGet(CString::new(key).unwrap().as_ptr(), &mut vptr) != 1 {
[INFO] [stdout]    |                    -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/conf.rs:94:61
[INFO] [stdout]    |
[INFO] [stdout] 94 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/conf.rs:116:65
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/json.rs:83:60
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/json.rs:91:60
[INFO] [stdout]    |
[INFO] [stdout] 91 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/json.rs:99:60
[INFO] [stdout]    |
[INFO] [stdout] 99 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/json.rs:107:60
[INFO] [stdout]     |
[INFO] [stdout] 107 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/json.rs:115:60
[INFO] [stdout]     |
[INFO] [stdout] 115 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stdout]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 7.07s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/suricata-650eef8d110fce55)
[INFO] running `Command { std: "docker" "inspect" "d188b5a931fdce43ecfe5f0e40ca7663035f11cc7ed76756ac1b6d4fdf698943", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d188b5a931fdce43ecfe5f0e40ca7663035f11cc7ed76756ac1b6d4fdf698943", kill_on_drop: false }`
[INFO] [stdout] d188b5a931fdce43ecfe5f0e40ca7663035f11cc7ed76756ac1b6d4fdf698943
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0017f5f14118e028020ad4a02c3cf0c8f745bd8ce3aa77e67d10998b24383adb
[INFO] running `Command { std: "docker" "start" "-a" "0017f5f14118e028020ad4a02c3cf0c8f745bd8ce3aa77e67d10998b24383adb", kill_on_drop: false }`
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/core.rs:188:1
[INFO] [stderr]     |
[INFO] [stderr] 188 |   /// Extern functions operating on Flow.
[INFO] [stderr]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 189 | / extern {
[INFO] [stderr] 190 | |     pub fn FlowGetLastTimeAsParts(flow: &Flow, secs: *mut u64, usecs: *mut u64);
[INFO] [stderr] 191 | | }
[INFO] [stderr]     | |_- rustdoc does not generate documentation for extern block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr]     = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/json.rs:27:1
[INFO] [stderr]    |
[INFO] [stderr] 27 |   /// Expose the jansson functions we need.
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 28 | / extern {
[INFO] [stderr] 29 | |     fn json_object() -> *mut JsonT;
[INFO] [stderr] 30 | |     fn json_object_set_new(js: *mut JsonT, key: *const c_char,
[INFO] [stderr] 31 | |                            val: *mut JsonT) -> u32;
[INFO] [stderr] ...  |
[INFO] [stderr] 39 | |     fn SCJsonBool(val: bool) -> *mut JsonT;
[INFO] [stderr] 40 | | }
[INFO] [stderr]    | |_- rustdoc does not generate documentation for extern block
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/smb/smb.rs:707:9
[INFO] [stderr]     |
[INFO] [stderr] 707 |         (self.rec_type == hdr.rec_type && self.ssn_id == hdr.ssn_id &&
[INFO] [stderr]     |         ^
[INFO] [stderr] 708 |          self.msg_id == hdr.msg_id)
[INFO] [stderr]     |                                   ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 707 ~         self.rec_type == hdr.rec_type && self.ssn_id == hdr.ssn_id &&
[INFO] [stderr] 708 ~          self.msg_id == hdr.msg_id
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/smb/detect.rs:156:13
[INFO] [stderr]     |
[INFO] [stderr] 156 |             (them < us)
[INFO] [stderr]     |             ^         ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 156 -             (them < us)
[INFO] [stderr] 156 +             them < us
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/smb/detect.rs:159:13
[INFO] [stderr]     |
[INFO] [stderr] 159 |             (them > us)
[INFO] [stderr]     |             ^         ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 159 -             (them > us)
[INFO] [stderr] 159 +             them > us
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/smb/detect.rs:162:13
[INFO] [stderr]     |
[INFO] [stderr] 162 |             (them == us)
[INFO] [stderr]     |             ^          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 162 -             (them == us)
[INFO] [stderr] 162 +             them == us
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/smb/detect.rs:165:13
[INFO] [stderr]     |
[INFO] [stderr] 165 |             (them != us)
[INFO] [stderr]     |             ^          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 165 -             (them != us)
[INFO] [stderr] 165 +             them != us
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `file_size`
[INFO] [stderr]   --> src/filetracker.rs:55:5
[INFO] [stderr]    |
[INFO] [stderr] 55 |     file_size: u64,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `FileTransferTracker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/filetracker.rs:53:10
[INFO] [stderr]    |
[INFO] [stderr] 53 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/conf.rs:40:47
[INFO] [stderr]    |
[INFO] [stderr] 40 |         if ConfGet(CString::new(key).unwrap().as_ptr(), &mut vptr) != 1 {
[INFO] [stderr]    |                    -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/conf.rs:94:61
[INFO] [stderr]    |
[INFO] [stderr] 94 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stderr]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/conf.rs:116:65
[INFO] [stderr]     |
[INFO] [stderr] 116 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stderr]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/json.rs:83:60
[INFO] [stderr]    |
[INFO] [stderr] 83 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stderr]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/json.rs:91:60
[INFO] [stderr]    |
[INFO] [stderr] 91 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stderr]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/json.rs:99:60
[INFO] [stderr]    |
[INFO] [stderr] 99 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stderr]    |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/json.rs:107:60
[INFO] [stderr]     |
[INFO] [stderr] 107 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stderr]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/json.rs:115:60
[INFO] [stderr]     |
[INFO] [stderr] 115 | ...                   CString::new(key).unwrap().as_ptr(),
[INFO] [stderr]     |                       -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: `suricata` (lib test) generated 16 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/suricata-650eef8d110fce55)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test dhcp::parser::tests::test_parse_client_id_too_short ... ok
[INFO] [stdout] test applayertemplate::parser::tests::test_parse_valid ... ok
[INFO] [stdout] test dns::dns::tests::test_dns_parse_response_tcp_short_payload ... ok
[INFO] [stdout] test dns::dns::tests::test_dns_parse_request_tcp_short_payload ... ok
[INFO] [stdout] test dns::dns::tests::test_dns_parse_request_tcp_valid ... ok
[INFO] [stdout] test dhcp::parser::tests::test_parse_discover ... ok
[INFO] [stdout] test dns::dns::tests::test_dns_parse_response_tcp_valid ... ok
[INFO] [stdout] test dns::parser::tests::test_dns_parse_name ... ok
[INFO] [stdout] test dns::parser::tests::test_dns_parse_name_double_pointer ... ok
[INFO] [stdout] test dns::parser::tests::test_dns_parse_name_with_pointer ... ok
[INFO] [stdout] test dns::parser::tests::test_dns_parse_request ... ok
[INFO] [stdout] test dns::parser::tests::test_dns_parse_response ... ok
[INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_accept ... ok
[INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_heartbeat ... ok
[INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_startup ... ok
[INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_valid ... ok
[INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_data ... ok
[INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_message_data ... ok
[INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_message_header ... ok
[INFO] [stdout] test ftp::test::test_pasv_response_too_large ... ok
[INFO] [stdout] test ftp::test::test_pasv_response_valid ... ok
[INFO] [stdout] test ikev2::ikev2::tests::test_ikev2_parse_request_valid ... ok
[INFO] [stdout] test json::tests::test_to_string ... ok
[INFO] [stdout] test ntp::ntp::tests::test_ntp_parse_request_valid ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0017f5f14118e028020ad4a02c3cf0c8f745bd8ce3aa77e67d10998b24383adb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0017f5f14118e028020ad4a02c3cf0c8f745bd8ce3aa77e67d10998b24383adb", kill_on_drop: false }`
[INFO] [stdout] 0017f5f14118e028020ad4a02c3cf0c8f745bd8ce3aa77e67d10998b24383adb
