[INFO] fetching crate cat-rs 0.1.0-alpha.0... [INFO] checking cat-rs-0.1.0-alpha.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate cat-rs 0.1.0-alpha.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate cat-rs 0.1.0-alpha.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cat-rs 0.1.0-alpha.0 [INFO] finished tweaking crates.io crate cat-rs 0.1.0-alpha.0 [INFO] tweaked toml for crates.io crate cat-rs 0.1.0-alpha.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate cat-rs 0.1.0-alpha.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-sync v0.1.7 [INFO] [stderr] Downloaded tokio-executor v0.1.8 [INFO] [stderr] Downloaded tokio-io v0.1.12 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded tokio-udp v0.1.5 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded cexpr v0.3.6 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded which v3.1.0 [INFO] [stderr] Downloaded bindgen v0.51.1 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded cc v1.0.47 [INFO] [stderr] Downloaded threadpool v1.7.1 [INFO] [stderr] Downloaded unicode-width v0.1.6 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] [stderr] Downloaded serde v1.0.102 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded clang-sys v0.28.1 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded tokio-fs v0.1.6 [INFO] [stderr] Downloaded tokio-tcp v0.1.3 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded crossbeam-queue v0.1.2 [INFO] [stderr] Downloaded tokio-threadpool v0.1.16 [INFO] [stderr] Downloaded tokio-timer v0.2.11 [INFO] [stderr] Downloaded tokio-current-thread v0.1.6 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded mio v0.6.19 [INFO] [stderr] Downloaded net2 v0.2.33 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded mio-uds v0.6.7 [INFO] [stderr] Downloaded tokio-codec v0.1.1 [INFO] [stderr] Downloaded num_cpus v1.11.0 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded lock_api v0.3.1 [INFO] [stderr] Downloaded smallvec v0.6.13 [INFO] [stderr] Downloaded parking_lot_core v0.6.2 [INFO] [stderr] Downloaded slab v0.4.2 [INFO] [stderr] Downloaded crossbeam-utils v0.6.6 [INFO] [stderr] Downloaded futures v0.1.29 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded tokio-reactor v0.1.10 [INFO] [stderr] Downloaded tokio-uds v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5cc67594a64904edb47f831cef44ad9491cd0f35f46f1d803471bf0c7126124 [INFO] running `Command { std: "docker" "start" "-a" "a5cc67594a64904edb47f831cef44ad9491cd0f35f46f1d803471bf0c7126124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5cc67594a64904edb47f831cef44ad9491cd0f35f46f1d803471bf0c7126124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5cc67594a64904edb47f831cef44ad9491cd0f35f46f1d803471bf0c7126124", kill_on_drop: false }` [INFO] [stdout] a5cc67594a64904edb47f831cef44ad9491cd0f35f46f1d803471bf0c7126124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cb3a30e24fa81f78b74613d18ddfe4276818f9ccbd5586b04e0ca97643a9a97 [INFO] running `Command { std: "docker" "start" "-a" "5cb3a30e24fa81f78b74613d18ddfe4276818f9ccbd5586b04e0ca97643a9a97", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling cat-rs v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `bindgen` is imported redundantly [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bindgen; [INFO] [stdout] | ^^^^^^^ the item `bindgen` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cc` is imported redundantly [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cc; [INFO] [stdout] | ^^ the item `cc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new(self.appkey.clone()).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | std::ffi::CString::new($data).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] ::: src/lib.rs:153:69 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | c!(type_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | c!(name_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | c!(status.to_string()), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | c!(data.to_string()), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | ffi::logMetricForCount(c!(name.to_string()), quantity as c_int); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:296:35 [INFO] [stdout] | [INFO] [stdout] 296 | ffi::logMetricForDuration(c!(name.to_string()), duration as c_ulonglong); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:2496 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . addData as * const _ as usize } , 0usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:2721 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . addKV as * const _ as usize } , 8usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:2942 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . setStatus as * const _ as usize } , 16usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:3172 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . setTimestamp as * const _ as usize } , 24usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:3408 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . complete as * const _ as usize } , 32usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:6842 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addData as * const _ as usize } , 0usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:7075 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addKV as * const _ as usize } , 8usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new(self.appkey.clone()).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:7304 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setStatus as * const _ as usize } , 16usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:7542 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setTimestamp as * const _ as usize } , 24usize , concat ! ( ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | std::ffi::CString::new($data).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] ::: src/lib.rs:153:69 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:7786 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . complete as * const _ as usize } , 32usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:8022 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addChild as * const _ as usize } , 40usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:8258 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setDurationInMillis as * const _ as usize } , 48usize , conc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:8516 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setDurationStart as * const _ as usize } , 56usize , concat ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:9469 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . encoderType as * const _ as usize } , 0usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:9712 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableHeartbeat as * const _ as usize } , 4usize , concat ! ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:9963 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableSampling as * const _ as usize } , 8usize , concat ! (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:10212 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableMultiprocessing as * const _ as usize } , 12usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-138f3d1ace8e96c6/out/ffi.rs:3:10476 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableDebugLog as * const _ as usize } , 16usize , concat ! ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | c!(type_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | c!(name_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | c!(status.to_string()), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | c!(data.to_string()), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | ffi::logMetricForCount(c!(name.to_string()), quantity as c_int); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:296:35 [INFO] [stdout] | [INFO] [stdout] 296 | ffi::logMetricForDuration(c!(name.to_string()), duration as c_ulonglong); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5cb3a30e24fa81f78b74613d18ddfe4276818f9ccbd5586b04e0ca97643a9a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb3a30e24fa81f78b74613d18ddfe4276818f9ccbd5586b04e0ca97643a9a97", kill_on_drop: false }` [INFO] [stdout] 5cb3a30e24fa81f78b74613d18ddfe4276818f9ccbd5586b04e0ca97643a9a97 [INFO] checking cat-rs-0.1.0-alpha.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate cat-rs 0.1.0-alpha.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cat-rs 0.1.0-alpha.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cat-rs 0.1.0-alpha.0 [INFO] finished tweaking crates.io crate cat-rs 0.1.0-alpha.0 [INFO] tweaked toml for crates.io crate cat-rs 0.1.0-alpha.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cat-rs 0.1.0-alpha.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b84f2a5bf4094db949129cd1d837326be941732793aaff3d3d5de23d301873c3 [INFO] running `Command { std: "docker" "start" "-a" "b84f2a5bf4094db949129cd1d837326be941732793aaff3d3d5de23d301873c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b84f2a5bf4094db949129cd1d837326be941732793aaff3d3d5de23d301873c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b84f2a5bf4094db949129cd1d837326be941732793aaff3d3d5de23d301873c3", kill_on_drop: false }` [INFO] [stdout] b84f2a5bf4094db949129cd1d837326be941732793aaff3d3d5de23d301873c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 714ccd1a7734be9fa8a9198cd21d1faca1b25f0180d05f6e9574f56430403087 [INFO] running `Command { std: "docker" "start" "-a" "714ccd1a7734be9fa8a9198cd21d1faca1b25f0180d05f6e9574f56430403087", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling cat-rs v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `bindgen` is imported redundantly [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bindgen; [INFO] [stdout] | ^^^^^^^ the item `bindgen` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cc` is imported redundantly [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cc; [INFO] [stdout] | ^^ the item `cc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new(self.appkey.clone()).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | std::ffi::CString::new($data).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] ::: src/lib.rs:153:69 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | c!(type_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | c!(name_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new(self.appkey.clone()).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | c!(status.to_string()), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | c!(data.to_string()), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | ffi::logMetricForCount(c!(name.to_string()), quantity as c_int); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:296:35 [INFO] [stdout] | [INFO] [stdout] 296 | ffi::logMetricForDuration(c!(name.to_string()), duration as c_ulonglong); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | std::ffi::CString::new($data).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] ::: src/lib.rs:153:69 [INFO] [stdout] | [INFO] [stdout] 153 | let tr = unsafe { newTransaction(c!(_type.clone()), c!(_name)) }; [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | c!(type_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | c!(name_.to_string()), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | c!(status.to_string()), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | c!(data.to_string()), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | ffi::newHeartBeat(c!(_type.to_string()), c!(_name.to_string())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | ffi::logMetricForCount(c!(name.to_string()), quantity as c_int); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mac.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | std::ffi::CString::new($expr).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] ::: src/lib.rs:296:35 [INFO] [stdout] | [INFO] [stdout] 296 | ffi::logMetricForDuration(c!(name.to_string()), duration as c_ulonglong); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: this warning originates in the macro `c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:2496 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . addData as * const _ as usize } , 0usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:2721 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . addKV as * const _ as usize } , 8usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:2942 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . setStatus as * const _ as usize } , 16usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:3172 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . setTimestamp as * const _ as usize } , 24usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:3408 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . complete as * const _ as usize } , 32usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:6842 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addData as * const _ as usize } , 0usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:7075 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addKV as * const _ as usize } , 8usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:7304 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setStatus as * const _ as usize } , 16usize , concat ! ( "Of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:7542 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setTimestamp as * const _ as usize } , 24usize , concat ! ( ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:7786 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . complete as * const _ as usize } , 32usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:8022 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addChild as * const _ as usize } , 40usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:8258 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setDurationInMillis as * const _ as usize } , 48usize , conc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:8516 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setDurationStart as * const _ as usize } , 56usize , concat ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:9469 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . encoderType as * const _ as usize } , 0usize , concat ! ( "O... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:9712 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableHeartbeat as * const _ as usize } , 4usize , concat ! ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:9963 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableSampling as * const _ as usize } , 8usize , concat ! (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:10212 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableMultiprocessing as * const _ as usize } , 12usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-85c76cdc99dcb9e1/out/ffi.rs:3:10476 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableDebugLog as * const _ as usize } , 16usize , concat ! ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "714ccd1a7734be9fa8a9198cd21d1faca1b25f0180d05f6e9574f56430403087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714ccd1a7734be9fa8a9198cd21d1faca1b25f0180d05f6e9574f56430403087", kill_on_drop: false }` [INFO] [stdout] 714ccd1a7734be9fa8a9198cd21d1faca1b25f0180d05f6e9574f56430403087