[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] checking gemini-15/fuzz against try#9cfe725f0995b018340c519db1b2f3cf8a7e0631 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgemini-15%2Ffuzz" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 31% (166/527) Updating files: 32% (169/527) Updating files: 33% (174/527) Updating files: 34% (180/527) Updating files: 35% (185/527) Updating files: 36% (190/527) Updating files: 37% (195/527) Updating files: 38% (201/527) Updating files: 39% (206/527) Updating files: 40% (211/527) Updating files: 41% (217/527) Updating files: 42% (222/527) Updating files: 43% (227/527) Updating files: 44% (232/527) Updating files: 45% (238/527) Updating files: 46% (243/527) Updating files: 47% (248/527) Updating files: 48% (253/527) Updating files: 49% (259/527) Updating files: 50% (264/527) Updating files: 51% (269/527) Updating files: 52% (275/527) Updating files: 53% (280/527) Updating files: 54% (285/527) Updating files: 55% (290/527) Updating files: 56% (296/527) Updating files: 57% (301/527) Updating files: 58% (306/527) Updating files: 59% (311/527) Updating files: 60% (317/527) Updating files: 61% (322/527) Updating files: 62% (327/527) Updating files: 63% (333/527) Updating files: 64% (338/527) Updating files: 65% (343/527) Updating files: 66% (348/527) Updating files: 67% (354/527) Updating files: 68% (359/527) Updating files: 69% (364/527) Updating files: 70% (369/527) Updating files: 71% (375/527) Updating files: 72% (380/527) Updating files: 73% (385/527) Updating files: 74% (390/527) Updating files: 75% (396/527) Updating files: 76% (401/527) Updating files: 77% (406/527) Updating files: 78% (412/527) Updating files: 79% (417/527) Updating files: 80% (422/527) Updating files: 81% (427/527) Updating files: 82% (433/527) Updating files: 83% (438/527) Updating files: 84% (443/527) Updating files: 85% (448/527) Updating files: 86% (454/527) Updating files: 87% (459/527) Updating files: 88% (464/527) Updating files: 88% (466/527) Updating files: 89% (470/527) Updating files: 90% (475/527) Updating files: 91% (480/527) Updating files: 92% (485/527) Updating files: 93% (491/527) Updating files: 94% (496/527) Updating files: 95% (501/527) Updating files: 96% (506/527) Updating files: 97% (512/527) 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 9cfe725f0995b018340c519db1b2f3cf8a7e0631 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "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-12/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" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1e5b6e3892885f0f5a1f782cf071df3ef1c030223d28d58806986b51bf86b0c [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" "e1e5b6e3892885f0f5a1f782cf071df3ef1c030223d28d58806986b51bf86b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1e5b6e3892885f0f5a1f782cf071df3ef1c030223d28d58806986b51bf86b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e5b6e3892885f0f5a1f782cf071df3ef1c030223d28d58806986b51bf86b0c", kill_on_drop: false }` [INFO] [stdout] e1e5b6e3892885f0f5a1f782cf071df3ef1c030223d28d58806986b51bf86b0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be23b0e2d553fca472ab7b5c07bac0bebaa3c82fdd60998ac307a580b1c48999 [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" "be23b0e2d553fca472ab7b5c07bac0bebaa3c82fdd60998ac307a580b1c48999", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking rusticata-macros v0.4.1 [INFO] [stderr] Checking ntp-parser v0.2.1 [INFO] [stderr] Checking der-parser v0.5.5 [INFO] [stderr] Checking ipsec-parser v0.3.0 [INFO] [stderr] Checking kerberos-parser v0.1.4 [INFO] [stderr] Checking 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: 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] [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 25.09s [INFO] running `Command { std: "docker" "inspect" "be23b0e2d553fca472ab7b5c07bac0bebaa3c82fdd60998ac307a580b1c48999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be23b0e2d553fca472ab7b5c07bac0bebaa3c82fdd60998ac307a580b1c48999", kill_on_drop: false }` [INFO] [stdout] be23b0e2d553fca472ab7b5c07bac0bebaa3c82fdd60998ac307a580b1c48999