[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 beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgemini-15%2Ffuzz" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 31% (166/527) Checking out files: 32% (169/527) Checking out files: 33% (174/527) Checking out files: 34% (180/527) Checking out files: 35% (185/527) Checking out files: 36% (190/527) Checking out files: 37% (195/527) Checking out files: 38% (201/527) Checking out files: 39% (206/527) Checking out files: 40% (211/527) Checking out files: 41% (217/527) Checking out files: 42% (222/527) Checking out files: 43% (227/527) Checking out files: 44% (232/527) Checking out files: 45% (238/527) Checking out files: 46% (243/527) Checking out files: 47% (248/527) Checking out files: 48% (253/527) Checking out files: 49% (259/527) Checking out files: 50% (264/527) Checking out files: 51% (269/527) Checking out files: 52% (275/527) Checking out files: 53% (280/527) Checking out files: 54% (285/527) Checking out files: 55% (290/527) Checking out files: 56% (296/527) Checking out files: 57% (301/527) Checking out files: 58% (306/527) Checking out files: 59% (311/527) Checking out files: 60% (317/527) Checking out files: 61% (322/527) Checking out files: 62% (327/527) Checking out files: 63% (333/527) Checking out files: 64% (338/527) Checking out files: 65% (343/527) Checking out files: 66% (348/527) Checking out files: 67% (354/527) Checking out files: 68% (359/527) Checking out files: 69% (364/527) Checking out files: 70% (369/527) Checking out files: 71% (375/527) Checking out files: 72% (380/527) Checking out files: 73% (385/527) Checking out files: 74% (390/527) Checking out files: 75% (396/527) Checking out files: 76% (401/527) Checking out files: 77% (406/527) Checking out files: 78% (412/527) Checking out files: 79% (417/527) Checking out files: 80% (422/527) Checking out files: 81% (427/527) Checking out files: 82% (433/527) Checking out files: 83% (438/527) Checking out files: 84% (443/527) Checking out files: 85% (448/527) Checking out files: 86% (454/527) Checking out files: 87% (459/527) Checking out files: 88% (464/527) Checking out files: 89% (470/527) Checking out files: 90% (475/527) Checking out files: 91% (480/527) Checking out files: 92% (485/527) Checking out files: 93% (491/527) Checking out files: 94% (496/527) Checking out files: 95% (501/527) Checking out files: 96% (506/527) Checking out files: 97% (512/527) Checking out files: 97% (513/527) Checking out files: 98% (517/527) Checking out files: 99% (522/527) Checking out files: 100% (527/527) Checking out files: 100% (527/527), done. [INFO] validating manifest of git repo https://github.com/gemini-15/fuzz on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntp-parser v0.2.1 [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 ipsec-parser v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43867fe61bb10050694df4a82a56a8571546bb7d9c5012136be1c6d5cd994623 [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" "43867fe61bb10050694df4a82a56a8571546bb7d9c5012136be1c6d5cd994623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43867fe61bb10050694df4a82a56a8571546bb7d9c5012136be1c6d5cd994623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43867fe61bb10050694df4a82a56a8571546bb7d9c5012136be1c6d5cd994623", kill_on_drop: false }` [INFO] [stdout] 43867fe61bb10050694df4a82a56a8571546bb7d9c5012136be1c6d5cd994623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b82b3c4eadf5cdd949b4dc91200dfc72e7f93bbeb8140918e04111ed0f2ae9a0 [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" "b82b3c4eadf5cdd949b4dc91200dfc72e7f93bbeb8140918e04111ed0f2ae9a0", 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 26.32s [INFO] running `Command { std: "docker" "inspect" "b82b3c4eadf5cdd949b4dc91200dfc72e7f93bbeb8140918e04111ed0f2ae9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82b3c4eadf5cdd949b4dc91200dfc72e7f93bbeb8140918e04111ed0f2ae9a0", kill_on_drop: false }` [INFO] [stdout] b82b3c4eadf5cdd949b4dc91200dfc72e7f93bbeb8140918e04111ed0f2ae9a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de458979de0f217697b32d6098f4ad30e4325a47e005e9e66eb959f760e5bc8f [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" "de458979de0f217697b32d6098f4ad30e4325a47e005e9e66eb959f760e5bc8f", 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 19.25s [INFO] running `Command { std: "docker" "inspect" "de458979de0f217697b32d6098f4ad30e4325a47e005e9e66eb959f760e5bc8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de458979de0f217697b32d6098f4ad30e4325a47e005e9e66eb959f760e5bc8f", kill_on_drop: false }` [INFO] [stdout] de458979de0f217697b32d6098f4ad30e4325a47e005e9e66eb959f760e5bc8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", 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] d2cfbc389a6284b0576f1f68a56b729ffa067fd7be6b2f0a34a135b0a1e06b8c [INFO] running `Command { std: "docker" "start" "-a" "d2cfbc389a6284b0576f1f68a56b729ffa067fd7be6b2f0a34a135b0a1e06b8c", 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: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/suricata-5cfee0f4111f6383 [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test dhcp::parser::tests::test_parse_client_id_too_short ... ok [INFO] [stdout] test dns::dns::tests::test_dns_parse_request_tcp_short_payload ... 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 dhcp::parser::tests::test_parse_discover ... ok [INFO] [stdout] test dns::dns::tests::test_dns_parse_request_tcp_valid ... ok [INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_message_header ... 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 fmtp::fmtp::tests::test_fmtp_parse_message_heartbeat ... ok [INFO] [stdout] test ikev2::ikev2::tests::test_ikev2_parse_request_valid ... ok [INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_data ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_accept ... ok [INFO] [stdout] test ntp::ntp::tests::test_ntp_parse_request_valid ... ok [INFO] [stdout] test json::tests::test_to_string ... ok [INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_message_data ... ok [INFO] [stdout] test ftp::test::test_pasv_response_valid ... ok [INFO] [stdout] test ftp::test::test_pasv_response_too_large ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_request ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_name ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_startup ... ok [INFO] [stdout] test dns::dns::tests::test_dns_parse_response_tcp_valid ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_response ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2cfbc389a6284b0576f1f68a56b729ffa067fd7be6b2f0a34a135b0a1e06b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2cfbc389a6284b0576f1f68a56b729ffa067fd7be6b2f0a34a135b0a1e06b8c", kill_on_drop: false }` [INFO] [stdout] d2cfbc389a6284b0576f1f68a56b729ffa067fd7be6b2f0a34a135b0a1e06b8c