[INFO] fetching crate rvs-c-api 0.5.0...
[INFO] checking rvs-c-api-0.5.0 against nightly-2024-02-05 for check-cfg-2
[INFO] extracting crate rvs-c-api 0.5.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate rvs-c-api 0.5.0 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rvs-c-api 0.5.0
[INFO] finished tweaking crates.io crate rvs-c-api 0.5.0
[INFO] tweaked toml for crates.io crate rvs-c-api 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rvs v0.5.0
[INFO] [stderr]   Downloaded rvs-parser v0.5.0
[INFO] [stderr]   Downloaded peg-macros v0.6.3
[INFO] [stderr]   Downloaded peg-runtime v0.6.3
[INFO] [stderr]   Downloaded peg v0.6.3
[INFO] [stderr]   Downloaded difference v2.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8503c39721e5a7b6ba56ddcf778d86b2b394cc114d5940f93b71c7001774bcd
[INFO] running `Command { std: "docker" "start" "-a" "b8503c39721e5a7b6ba56ddcf778d86b2b394cc114d5940f93b71c7001774bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8503c39721e5a7b6ba56ddcf778d86b2b394cc114d5940f93b71c7001774bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8503c39721e5a7b6ba56ddcf778d86b2b394cc114d5940f93b71c7001774bcd", kill_on_drop: false }`
[INFO] [stdout] b8503c39721e5a7b6ba56ddcf778d86b2b394cc114d5940f93b71c7001774bcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65325b64079b564108ceb46a478fd6efce8c82c7d86425b6b5e0e89ebff354a0
[INFO] running `Command { std: "docker" "start" "-a" "65325b64079b564108ceb46a478fd6efce8c82c7d86425b6b5e0e89ebff354a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]     Checking peg v0.6.3
[INFO] [stderr]     Checking rvs-parser v0.5.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tempfile v3.10.0
[INFO] [stderr]     Checking rvs v0.5.0
[INFO] [stderr]     Checking rvs-c-api v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rvsc.rs:215:14
[INFO] [stdout]     |
[INFO] [stdout] 215 |     unsafe { Box::from_raw(context) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 215 |     unsafe { let _ = Box::from_raw(context); };
[INFO] [stdout]     |              +++++++                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rvsc.rs:226:9
[INFO] [stdout]     |
[INFO] [stdout] 226 |         Box::from_raw(context);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let _ = Box::from_raw(context);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rvsc.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |         Box::from_raw(model);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 235 |         let _ = Box::from_raw(model);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/error.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Box::from_raw(err);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let _ = Box::from_raw(err);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rvsc.rs:215:14
[INFO] [stdout]     |
[INFO] [stdout] 215 |     unsafe { Box::from_raw(context) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 215 |     unsafe { let _ = Box::from_raw(context); };
[INFO] [stdout]     |              +++++++                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rvsc.rs:226:9
[INFO] [stdout]     |
[INFO] [stdout] 226 |         Box::from_raw(context);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let _ = Box::from_raw(context);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rvsc.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |         Box::from_raw(model);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 235 |         let _ = Box::from_raw(model);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/error.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Box::from_raw(err);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let _ = Box::from_raw(err);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/tests/mod.rs:29:61
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let handle = rvs_get(model, CString::new(name).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]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/tests/rvs_context_new.rs:11:70
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error);
[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/tests/rvs_seed.rs:5:61
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), seed, error);
[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/tests/rvs_seed.rs:9:49
[INFO] [stdout]   |
[INFO] [stdout] 9 |     rvs_parse(context, CString::new(s).unwrap().as_ptr(), error);
[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/tests/rvs_seed.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_parse.rs:9:70
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error);
[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/tests/rvs_parse.rs:14:49
[INFO] [stdout]    |
[INFO] [stdout] 14 |         CString::new("import import;").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/tests/rvs_parse.rs:33:61
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_parse.rs:36:54
[INFO] [stdout]    |
[INFO] [stdout] 36 |     rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error);
[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/tests/rvs_parse.rs:43:60
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_parse.rs:56:61
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_parse.rs:59:58
[INFO] [stdout]    |
[INFO] [stdout] 59 |     rvs_parse(context, CString::new("a=[0,1];").unwrap().as_ptr(), error);
[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/tests/rvs_parse.rs:66:60
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_parse.rs:79:61
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_parse.rs:84:49
[INFO] [stdout]    |
[INFO] [stdout] 84 |         CString::new("a = 1;\n1 = b;").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/tests/rvs_parse.rs:100:70
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error);
[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/tests/rvs_parse.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | /         CString::new("../examples/basic.rvs;b = 3")
[INFO] [stdout] 106 | |             .unwrap()
[INFO] [stdout]     | |_____________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout] 107 |               .as_ptr(),
[INFO] [stdout]     |                ^^^^^^ this pointer will be invalid
[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/tests/rvs_parse.rs:116:60
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_parse.rs:122:60
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let handle = rvs_get(model, CString::new("b").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/tests/rvs_parse.rs:135:61
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_parse.rs:140:46
[INFO] [stdout]     |
[INFO] [stdout] 140 |         CString::new("a = 0;a = 1").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/tests/rvs_parse.rs:145:55
[INFO] [stdout]     |
[INFO] [stdout] 145 |     rvs_parse(context, CString::new("a = 2").unwrap().as_ptr(), error);
[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/tests/rvs_parse.rs:152:60
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_get.rs:6:61
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_get.rs:13:60
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_get.rs:22:61
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_get.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 25 |     rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error);
[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/tests/rvs_get.rs:32:60
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_next.rs:6:61
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_next.rs:9:54
[INFO] [stdout]   |
[INFO] [stdout] 9 |     rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error);
[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/tests/rvs_next.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let handle = rvs_get(model, CString::new("a").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/tests/rvs_next.rs:33:61
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error);
[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/tests/rvs_next.rs:36:54
[INFO] [stdout]    |
[INFO] [stdout] 36 |     rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error);
[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/tests/rvs_write_definitions.rs:30:70
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error);
[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/tests/rvs_write_definitions.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |         CString::new(input.to_str().unwrap()).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/tests/rvs_write_definitions.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 50 | /         CString::new(output.to_string_lossy().as_bytes())
[INFO] [stdout] 51 | |             .unwrap()
[INFO] [stdout]    | |_____________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout] 52 |               .as_ptr(),
[INFO] [stdout]    |                ^^^^^^ this pointer will be invalid
[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: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.32s
[INFO] running `Command { std: "docker" "inspect" "65325b64079b564108ceb46a478fd6efce8c82c7d86425b6b5e0e89ebff354a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65325b64079b564108ceb46a478fd6efce8c82c7d86425b6b5e0e89ebff354a0", kill_on_drop: false }`
[INFO] [stdout] 65325b64079b564108ceb46a478fd6efce8c82c7d86425b6b5e0e89ebff354a0
