[INFO] fetching crate cassandra-cpp-sys 0.12.3...
[INFO] checking cassandra-cpp-sys-0.12.3 against beta-2021-10-15 for beta-1.56-3
[INFO] extracting crate cassandra-cpp-sys 0.12.3 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate cassandra-cpp-sys 0.12.3 on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cassandra-cpp-sys 0.12.3
[INFO] finished tweaking crates.io crate cassandra-cpp-sys 0.12.3
[INFO] tweaked toml for crates.io crate cassandra-cpp-sys 0.12.3 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate crates.io crate cassandra-cpp-sys 0.12.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a033bae9bc9987102c4d065a54d683dc504977fbf6ff3431d2505c4c7ad794a0
[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" "a033bae9bc9987102c4d065a54d683dc504977fbf6ff3431d2505c4c7ad794a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a033bae9bc9987102c4d065a54d683dc504977fbf6ff3431d2505c4c7ad794a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a033bae9bc9987102c4d065a54d683dc504977fbf6ff3431d2505c4c7ad794a0", kill_on_drop: false }`
[INFO] [stdout] a033bae9bc9987102c4d065a54d683dc504977fbf6ff3431d2505c4c7ad794a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 18015dbbd66de75bb7be378e1114c10fca9b5d2e8f422f7972b2930d70abd898
[INFO] running `Command { std: "docker" "start" "-a" "18015dbbd66de75bb7be378e1114c10fca9b5d2e8f422f7972b2930d70abd898", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]    Compiling cassandra-cpp-sys v0.12.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking regex v1.4.6
[INFO] [stderr]     Checking env_logger v0.8.3
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/async.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut cluster = create_cluster();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/async.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |           let query = CString::new(
[INFO] [stdout]    |  _____________________-
[INFO] [stdout] 17 | |             "INSERT INTO async (key, bln, flt, dbl, i32, i64) VALUES (?, ?, ?, ?, ?, ?);",
[INFO] [stdout] 18 | |         )
[INFO] [stdout] 19 | |         .unwrap()
[INFO] [stdout]    | |_________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout] 20 |           .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]   --> examples/async.rs:29:64
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 CString::new(format!("{}{}", key, i)).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: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/named_parameters.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let rc = cass_future_error_code(future);
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> examples/named_parameters.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let result = match cass_future_error_code(future) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> examples/named_parameters.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let result = match connect_session(session, cluster) {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]    --> examples/named_parameters.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             rc => {
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/named_parameters.rs:76:44
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let k = CString::new("k").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: `#[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]   --> examples/named_parameters.rs:77:44
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let b = 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]   --> examples/named_parameters.rs:78:44
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let f = CString::new("f").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]   --> examples/named_parameters.rs:79:44
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let d = CString::new("d").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]   --> examples/named_parameters.rs:80:48
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let i32 = CString::new("i32").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]   --> examples/named_parameters.rs:81:48
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let i64 = CString::new("i64").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]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/basic.rs:31:59
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let statement = cass_statement_new(query.unwrap().as_ptr(), 6);
[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]   --> examples/basic.rs:33:77
[INFO] [stdout]    |
[INFO] [stdout] 33 |         cass_statement_bind_string(statement, 0, 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]   --> examples/basic.rs:64:73
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 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: 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]   --> examples/basic.rs:66:77
[INFO] [stdout]    |
[INFO] [stdout] 66 |         cass_statement_bind_string(statement, 0, 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]    --> examples/named_parameters.rs:119:42
[INFO] [stdout]     |
[INFO] [stdout] 119 |             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]    --> examples/named_parameters.rs:137:87
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         cass_row_get_column_by_name(row, CString::new("BLN").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]    --> examples/named_parameters.rs:141:87
[INFO] [stdout]     |
[INFO] [stdout] 141 |                         cass_row_get_column_by_name(row, CString::new("dbl").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]    --> examples/named_parameters.rs:145:87
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         cass_row_get_column_by_name(row, CString::new("flt").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]    --> examples/named_parameters.rs:149:91
[INFO] [stdout]     |
[INFO] [stdout] 149 |                         cass_row_get_column_by_name(row, CString::new("\"i32\"").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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/named_parameters.rs:153:87
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         cass_row_get_column_by_name(row, CString::new("i64").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: unused variable: `result`
[INFO] [stdout]   --> examples/maps.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let result = match cass_future_error_code(future) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> examples/simple.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let result = match cass_future_error_code(connect_future) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/simple.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     rc => {
[INFO] [stdout]    |                     ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/simple.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |             rc => {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/paging.rs:31:77
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[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]   --> examples/paging.rs:37:91
[INFO] [stdout]    |
[INFO] [stdout] 37 |             cass_statement_bind_string(statement, 1, CString::new(i.to_string()).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]   --> examples/paging.rs:59:73
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[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: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/uuid.rs:29:61
[INFO] [stdout]    |
[INFO] [stdout] 29 |             cass_statement_new(CString::new(query).unwrap().as_ptr(), 3);
[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]   --> examples/uuid.rs:31:77
[INFO] [stdout]    |
[INFO] [stdout] 31 |         cass_statement_bind_string(statement, 0, 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]   --> examples/uuid.rs:33:79
[INFO] [stdout]    |
[INFO] [stdout] 33 |         cass_statement_bind_string(statement, 2, CString::new(entry).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]   --> examples/uuid.rs:60:73
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 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: 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]   --> examples/uuid.rs:62:77
[INFO] [stdout]    |
[INFO] [stdout] 62 |         cass_statement_bind_string(statement, 0, 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]   --> examples/uuid.rs:82:57
[INFO] [stdout]    |
[INFO] [stdout] 82 |                         &mut 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]   --> examples/simple.rs:18:85
[INFO] [stdout]    |
[INFO] [stdout] 18 |         cass_cluster_set_contact_points(cluster, CString::new("127.0.0.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: `#[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]   --> examples/simple.rs:27:81
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[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]   --> examples/simple.rs:41:72
[INFO] [stdout]    |
[INFO] [stdout] 41 | ...                   CString::new("keyspace_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] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `select_from_maps`
[INFO] [stdout]   --> examples/maps.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn select_from_maps(session: &mut CassSession, key: &str) -> Result<(), CassError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/ssl.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut file = try!(File::open(file));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/maps.rs:25:73
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[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]   --> examples/maps.rs:27:77
[INFO] [stdout]    |
[INFO] [stdout] 27 |         cass_statement_bind_string(statement, 0, 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]   --> examples/maps.rs:31:87
[INFO] [stdout]    |
[INFO] [stdout] 31 |             cass_collection_append_string(collection, CString::new(item.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]   --> examples/maps.rs:58:73
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 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: 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]   --> examples/maps.rs:60:77
[INFO] [stdout]    |
[INFO] [stdout] 60 |         cass_statement_bind_string(statement, 0, 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: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/ssl.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let cert_size = try!(file.metadata()).len() as usize;
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> examples/ssl.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let byte_len = try!(file.read_to_end(&mut cert));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/batch.rs:20:87
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let future = &mut *cass_session_prepare(session, CString::new(query).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]   --> examples/batch.rs:48:86
[INFO] [stdout]    |
[INFO] [stdout] 48 |             cass_statement_bind_string(statement, 0, CString::new(pair.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]   --> examples/batch.rs:49:88
[INFO] [stdout]    |
[INFO] [stdout] 49 |             cass_statement_bind_string(statement, 1, CString::new(pair.value).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]   --> examples/batch.rs:55:79
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let statement1 = cass_statement_new(CString::new(statement1).unwrap().as_ptr(), 0);
[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]   --> examples/batch.rs:62:79
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let statement2 = cass_statement_new(CString::new(statement2).unwrap().as_ptr(), 2);
[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: unused variable: `rc`
[INFO] [stdout]    --> examples/ssl.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |                     rc => {
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/collections.rs:21:73
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[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]   --> examples/collections.rs:22:77
[INFO] [stdout]    |
[INFO] [stdout] 22 |         cass_statement_bind_string(statement, 0, 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]   --> examples/collections.rs:26:83
[INFO] [stdout]    |
[INFO] [stdout] 26 |             cass_collection_append_string(collection, CString::new(item).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]   --> examples/collections.rs:51:73
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 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: 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]   --> examples/collections.rs:53:77
[INFO] [stdout]    |
[INFO] [stdout] 53 |         cass_statement_bind_string(statement, 0, 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]   --> examples/batch.rs:67:78
[INFO] [stdout]    |
[INFO] [stdout] 67 |         cass_statement_bind_string(statement2, 0, 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]   --> examples/batch.rs:68:80
[INFO] [stdout]    |
[INFO] [stdout] 68 |         cass_statement_bind_string(statement2, 1, CString::new(value).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: 6 warnings emitted
[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]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/bind_by_name.rs:24:87
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let future = &mut *cass_session_prepare(session, CString::new(query).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]   --> examples/bind_by_name.rs:52:42
[INFO] [stdout]    |
[INFO] [stdout] 52 |             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]   --> examples/bind_by_name.rs:53:40
[INFO] [stdout]    |
[INFO] [stdout] 53 |             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]   --> examples/bind_by_name.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 57 |             CString::new("bln").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]   --> examples/bind_by_name.rs:62:42
[INFO] [stdout]    |
[INFO] [stdout] 62 |             CString::new("flt").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]   --> examples/bind_by_name.rs:67:42
[INFO] [stdout]    |
[INFO] [stdout] 67 |             CString::new("dbl").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]   --> examples/bind_by_name.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |             CString::new("i32").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]   --> examples/bind_by_name.rs:77:42
[INFO] [stdout]    |
[INFO] [stdout] 77 |             CString::new("i64").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]    --> examples/bind_by_name.rs:114:42
[INFO] [stdout]     |
[INFO] [stdout] 114 |             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]    --> examples/bind_by_name.rs:115:40
[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: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> examples/bind_by_name.rs:133:87
[INFO] [stdout]     |
[INFO] [stdout] 133 |                         cass_row_get_column_by_name(row, CString::new("bln").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]    --> examples/bind_by_name.rs:137:87
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         cass_row_get_column_by_name(row, CString::new("dbl").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]    --> examples/bind_by_name.rs:141:87
[INFO] [stdout]     |
[INFO] [stdout] 141 |                         cass_row_get_column_by_name(row, CString::new("flt").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]    --> examples/bind_by_name.rs:145:87
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         cass_row_get_column_by_name(row, CString::new("i32").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]    --> examples/bind_by_name.rs:149:87
[INFO] [stdout]     |
[INFO] [stdout] 149 |                         cass_row_get_column_by_name(row, CString::new("i64").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]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/udt.rs:24:73
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[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]   --> examples/udt.rs:31:47
[INFO] [stdout]    |
[INFO] [stdout] 31 |             CString::new("examples").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]   --> examples/udt.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |             CString::new("address").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]   --> examples/udt.rs:41:52
[INFO] [stdout]    |
[INFO] [stdout] 41 |             CString::new("phone_numbers").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: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/udt.rs:55:57
[INFO] [stdout]    |
[INFO] [stdout] 55 |                         CString::new("phone1").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]   --> examples/udt.rs:60:57
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         CString::new("phone2").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]   --> examples/udt.rs:69:53
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     CString::new("street").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]   --> examples/udt.rs:74:51
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     CString::new("city").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]   --> examples/udt.rs:79:50
[INFO] [stdout]    |
[INFO] [stdout] 79 |                     CString::new("zip").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]   --> examples/udt.rs:84:52
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     CString::new("phone").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]    --> examples/udt.rs:115:73
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[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]    --> examples/udt.rs:129:86
[INFO] [stdout]     |
[INFO] [stdout] 129 |                         cass_row_get_column_by_name(row, CString::new("id").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]    --> examples/udt.rs:131:91
[INFO] [stdout]     |
[INFO] [stdout] 131 |                         cass_row_get_column_by_name(row, CString::new("address").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: unused variable: `rc`
[INFO] [stdout]   --> examples/tuple.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let rc = cass_future_error_code(future);
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc`
[INFO] [stdout]   --> examples/tuple.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             rc => print_error(future),
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_rc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/ssl.rs:44:85
[INFO] [stdout]    |
[INFO] [stdout] 44 |         cass_cluster_set_contact_points(cluster, CString::new("127.0.0.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: `#[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]   --> examples/ssl.rs:68:81
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[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]   --> examples/ssl.rs:82:72
[INFO] [stdout]    |
[INFO] [stdout] 82 | ...                   CString::new("keyspace_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] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/prepared.rs:26:73
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 6);
[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]   --> examples/prepared.rs:28:77
[INFO] [stdout]    |
[INFO] [stdout] 28 |         cass_statement_bind_string(statement, 0, 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]   --> examples/prepared.rs:56:87
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let future = &mut *cass_session_prepare(session, CString::new(query).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]   --> examples/prepared.rs:82:77
[INFO] [stdout]    |
[INFO] [stdout] 82 |         cass_statement_bind_string(statement, 0, 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: variable does not need to be mutable
[INFO] [stdout]    --> examples/tuple.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut session = &mut *cass_session_new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]   --> examples/tuple.rs:23:79
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let statement = &mut *cass_statement_new(CString::new(query).unwrap().as_ptr(), 2);
[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]   --> examples/tuple.rs:56:73
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let statement = cass_statement_new(CString::new(query).unwrap().as_ptr(), 0);
[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]   --> examples/tuple.rs:71:86
[INFO] [stdout]    |
[INFO] [stdout] 71 |                         cass_row_get_column_by_name(row, CString::new("id").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]   --> examples/tuple.rs:73:88
[INFO] [stdout]    |
[INFO] [stdout] 73 |                         cass_row_get_column_by_name(row, CString::new("item").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: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[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]   --> examples/examples_util/mod.rs:42:61
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let statement = cass_statement_new(cstring.unwrap().as_ptr(), 0);
[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]    --> examples/schema_meta.rs:115:88
[INFO] [stdout]     |
[INFO] [stdout] 115 |         cass_schema_meta_keyspace_by_name(schema_meta, CString::new(keyspace).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]    --> examples/schema_meta.rs:205:88
[INFO] [stdout]     |
[INFO] [stdout] 205 |         cass_schema_meta_keyspace_by_name(schema_meta, CString::new(keyspace).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]    --> examples/schema_meta.rs:209:90
[INFO] [stdout]     |
[INFO] [stdout] 209 |             cass_keyspace_meta_table_by_name(keyspace_meta, CString::new(table).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]    --> examples/schema_meta.rs:228:85
[INFO] [stdout]     |
[INFO] [stdout] 228 |         cass_cluster_set_contact_points(cluster, CString::new("127.0.0.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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.90s
[INFO] running `Command { std: "docker" "inspect" "18015dbbd66de75bb7be378e1114c10fca9b5d2e8f422f7972b2930d70abd898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18015dbbd66de75bb7be378e1114c10fca9b5d2e8f422f7972b2930d70abd898", kill_on_drop: false }`
[INFO] [stdout] 18015dbbd66de75bb7be378e1114c10fca9b5d2e8f422f7972b2930d70abd898
