[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.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgemini-15%2Ffuzz" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/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.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-21/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.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2495e966feb73a65c8cce2a9053baeeb657b7639d5ce2c4fa01fedee951f00a [INFO] running `Command { std: "docker" "start" "-a" "a2495e966feb73a65c8cce2a9053baeeb657b7639d5ce2c4fa01fedee951f00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2495e966feb73a65c8cce2a9053baeeb657b7639d5ce2c4fa01fedee951f00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2495e966feb73a65c8cce2a9053baeeb657b7639d5ce2c4fa01fedee951f00a", kill_on_drop: false }` [INFO] [stdout] a2495e966feb73a65c8cce2a9053baeeb657b7639d5ce2c4fa01fedee951f00a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2cc3713ab4b9e3441c27abafe4b5d5ff60203af2702e46ac9d5ffb4bb108872 [INFO] running `Command { std: "docker" "start" "-a" "b2cc3713ab4b9e3441c27abafe4b5d5ff60203af2702e46ac9d5ffb4bb108872", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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] [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "b2cc3713ab4b9e3441c27abafe4b5d5ff60203af2702e46ac9d5ffb4bb108872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cc3713ab4b9e3441c27abafe4b5d5ff60203af2702e46ac9d5ffb4bb108872", kill_on_drop: false }` [INFO] [stdout] b2cc3713ab4b9e3441c27abafe4b5d5ff60203af2702e46ac9d5ffb4bb108872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b044587dfc054b18b3ce9a8b4f88f92d8baeaa5018fadf17eea70910e8410ec9 [INFO] running `Command { std: "docker" "start" "-a" "b044587dfc054b18b3ce9a8b4f88f92d8baeaa5018fadf17eea70910e8410ec9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^ [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] [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.85s [INFO] running `Command { std: "docker" "inspect" "b044587dfc054b18b3ce9a8b4f88f92d8baeaa5018fadf17eea70910e8410ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b044587dfc054b18b3ce9a8b4f88f92d8baeaa5018fadf17eea70910e8410ec9", kill_on_drop: false }` [INFO] [stdout] b044587dfc054b18b3ce9a8b4f88f92d8baeaa5018fadf17eea70910e8410ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f5911126350f5af2c35233cf0c48336fc45b26a66b71ec000115092544a9dc5 [INFO] running `Command { std: "docker" "start" "-a" "2f5911126350f5af2c35233cf0c48336fc45b26a66b71ec000115092544a9dc5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/suricata-fcdab4b0af424340) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test applayertemplate::parser::tests::test_parse_valid ... ok [INFO] [stdout] test dhcp::parser::tests::test_parse_client_id_too_short ... ok [INFO] [stdout] test dhcp::parser::tests::test_parse_discover ... 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_valid ... 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::parser::tests::test_fmtp_parse_message_header ... ok [INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_data ... 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 dns::dns::tests::test_dns_parse_response_tcp_short_payload ... ok [INFO] [stdout] test dns::parser::tests::test_dns_parse_name ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_heartbeat ... ok [INFO] [stdout] test ftp::test::test_pasv_response_too_large ... ok [INFO] [stdout] test fmtp::parser::tests::test_fmtp_parse_message_data ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_valid ... ok [INFO] [stdout] test fmtp::fmtp::tests::test_fmtp_parse_message_startup ... 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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f5911126350f5af2c35233cf0c48336fc45b26a66b71ec000115092544a9dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5911126350f5af2c35233cf0c48336fc45b26a66b71ec000115092544a9dc5", kill_on_drop: false }` [INFO] [stdout] 2f5911126350f5af2c35233cf0c48336fc45b26a66b71ec000115092544a9dc5