[INFO] fetching crate qjs 0.1.2... [INFO] checking qjs-0.1.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate qjs 0.1.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate qjs 0.1.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qjs 0.1.2 [INFO] finished tweaking crates.io crate qjs 0.1.2 [INFO] tweaked toml for crates.io crate qjs 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate qjs 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded filetime v0.2.7 [INFO] [stderr] Downloaded getrandom v0.1.9 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded tar v0.4.26 [INFO] [stderr] Downloaded rand v0.7.0 [INFO] [stderr] Downloaded regex-syntax v0.6.11 [INFO] [stderr] Downloaded wasi v0.5.0 [INFO] [stderr] Downloaded if_chain v1.0.0 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded pretty_env_logger v0.3.0 [INFO] [stderr] Downloaded cc v1.0.40 [INFO] [stderr] Downloaded proc-macro2 v1.0.0 [INFO] [stderr] Downloaded syn v1.0.1 [INFO] [stderr] Downloaded cfile v0.5.0 [INFO] [stderr] Downloaded foreign-types-macros v0.1.0 [INFO] [stderr] Downloaded platforms v0.2.0 [INFO] [stderr] Downloaded proc-macro-hack v0.5.9 [INFO] [stderr] Downloaded quote v1.0.0 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] [stderr] Downloaded regex v1.2.1 [INFO] [stderr] Downloaded pkg-config v0.3.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2a833b28b8c2420180ee12a8808c4f53dee83ff4e30b3516627f1fd34b2f4c4 [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" "e2a833b28b8c2420180ee12a8808c4f53dee83ff4e30b3516627f1fd34b2f4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2a833b28b8c2420180ee12a8808c4f53dee83ff4e30b3516627f1fd34b2f4c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a833b28b8c2420180ee12a8808c4f53dee83ff4e30b3516627f1fd34b2f4c4", kill_on_drop: false }` [INFO] [stdout] e2a833b28b8c2420180ee12a8808c4f53dee83ff4e30b3516627f1fd34b2f4c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54886cae010016fec11fdebdf4a06bdca5820cd93072699fc4cc0777224457d4 [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" "54886cae010016fec11fdebdf4a06bdca5820cd93072699fc4cc0777224457d4", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Checking foreign-types-shared v0.2.0 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking cc v1.0.40 [INFO] [stderr] Checking platforms v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rust-lzma v0.4.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling filetime v0.2.7 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking pretty_env_logger v0.3.0 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling foreign-types-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling qjs-derive-support v0.1.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Checking foreign-types v0.4.0 [INFO] [stderr] Checking cfile v0.5.0 [INFO] [stderr] Compiling qjs-sys v0.1.2 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling cstr-macros v0.1.6 [INFO] [stderr] Checking cstr v0.1.7 [INFO] [stderr] Compiling qjs-derive v0.1.1 [INFO] [stderr] Checking qjs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ExtractValue` [INFO] [stdout] --> src/cfunc.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | use crate::{Context, Eval, ExtractValue, Runtime}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctxt` [INFO] [stdout] --> src/cfunc.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | let ctxt = Context::new(&rt); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/cfunc.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let hello: fn(String) -> String = hello; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/atom.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 114 | / CString::new(s) [INFO] [stdout] 115 | | .expect("atom string should not contain an internal 0 byte") [INFO] [stdout] | |________________________________________________________________________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 116 | .as_ptr(), [INFO] [stdout] | ^^^^^^ this pointer will be invalid [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/error.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | CString::new(msg).expect("msg").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/error.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | CString::new(msg).expect("msg").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/error.rs:278:49 [INFO] [stdout] | [INFO] [stdout] 278 | CString::new(msg).expect("msg").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/error.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 288 | CString::new(msg).expect("msg").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/error.rs:298:49 [INFO] [stdout] | [INFO] [stdout] 298 | CString::new(msg).expect("msg").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/module.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | CString::new(name).expect("name").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/prop.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | CString::new(*self).expect("prop").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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/atom.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 114 | / CString::new(s) [INFO] [stdout] 115 | | .expect("atom string should not contain an internal 0 byte") [INFO] [stdout] | |________________________________________________________________________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 116 | .as_ptr(), [INFO] [stdout] | ^^^^^^ this pointer will be invalid [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/error.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | CString::new(msg).expect("msg").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/error.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | CString::new(msg).expect("msg").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/error.rs:278:49 [INFO] [stdout] | [INFO] [stdout] 278 | CString::new(msg).expect("msg").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/error.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 288 | CString::new(msg).expect("msg").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/error.rs:298:49 [INFO] [stdout] | [INFO] [stdout] 298 | CString::new(msg).expect("msg").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/module.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | CString::new(name).expect("name").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/prop.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | CString::new(*self).expect("prop").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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "54886cae010016fec11fdebdf4a06bdca5820cd93072699fc4cc0777224457d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54886cae010016fec11fdebdf4a06bdca5820cd93072699fc4cc0777224457d4", kill_on_drop: false }` [INFO] [stdout] 54886cae010016fec11fdebdf4a06bdca5820cd93072699fc4cc0777224457d4