[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgemini-15%2Ffuzz" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/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.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-0/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0be3c1a573825359e36cdd0c9124bef3fa3f5b40227aca28d9c61f27f37444f4 [INFO] running `Command { std: "docker" "start" "-a" "0be3c1a573825359e36cdd0c9124bef3fa3f5b40227aca28d9c61f27f37444f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0be3c1a573825359e36cdd0c9124bef3fa3f5b40227aca28d9c61f27f37444f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be3c1a573825359e36cdd0c9124bef3fa3f5b40227aca28d9c61f27f37444f4", kill_on_drop: false }` [INFO] [stdout] 0be3c1a573825359e36cdd0c9124bef3fa3f5b40227aca28d9c61f27f37444f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 313f0f19b1632869b63ae4e201d9513df62580471d53d119593ab94d0682a3df [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "313f0f19b1632869b63ae4e201d9513df62580471d53d119593ab94d0682a3df", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [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: 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] 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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.59s [INFO] running `Command { std: "docker" "inspect" "313f0f19b1632869b63ae4e201d9513df62580471d53d119593ab94d0682a3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313f0f19b1632869b63ae4e201d9513df62580471d53d119593ab94d0682a3df", kill_on_drop: false }` [INFO] [stdout] 313f0f19b1632869b63ae4e201d9513df62580471d53d119593ab94d0682a3df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ee20a7c445c91b891504b00afdd42b83d6cdf09d196275091d98a4d8ac7de04 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9ee20a7c445c91b891504b00afdd42b83d6cdf09d196275091d98a4d8ac7de04", kill_on_drop: false }` [INFO] [stderr] Compiling suricata v4.1.7-fmtp (/opt/rustwide/workdir) [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] 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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "9ee20a7c445c91b891504b00afdd42b83d6cdf09d196275091d98a4d8ac7de04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee20a7c445c91b891504b00afdd42b83d6cdf09d196275091d98a4d8ac7de04", kill_on_drop: false }` [INFO] [stdout] 9ee20a7c445c91b891504b00afdd42b83d6cdf09d196275091d98a4d8ac7de04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e63bc163791eb3c1d0ded70f033cdf2635af4c2257a69f86dbcd10764c0d5e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4e63bc163791eb3c1d0ded70f033cdf2635af4c2257a69f86dbcd10764c0d5e3", kill_on_drop: false }` [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] 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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: remove these parentheses [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 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/suricata-7107383998928a66) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test applayertemplate::parser::tests::test_parse_valid ... 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 dns::dns::tests::test_dns_parse_response_tcp_short_payload ... ok [INFO] [stdout] test dhcp::parser::tests::test_parse_client_id_too_short ... ok [INFO] [stdout] test dns::dns::tests::test_dns_parse_response_tcp_valid ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_name_with_pointer ... 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::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_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 dns::parser::tests::test_dns_parse_name ... ok [INFO] [stdout] test ftp::test::test_pasv_response_too_large ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_accept ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_response ... ok [INFO] [stdout] test dhcp::parser::tests::test_parse_discover ... ok [INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_data ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_name_double_pointer ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_request ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_valid ... 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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e63bc163791eb3c1d0ded70f033cdf2635af4c2257a69f86dbcd10764c0d5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e63bc163791eb3c1d0ded70f033cdf2635af4c2257a69f86dbcd10764c0d5e3", kill_on_drop: false }` [INFO] [stdout] 4e63bc163791eb3c1d0ded70f033cdf2635af4c2257a69f86dbcd10764c0d5e3