[INFO] fetching crate cat-rs 0.1.0-alpha.0... [INFO] checking cat-rs-0.1.0-alpha.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate cat-rs 0.1.0-alpha.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate cat-rs 0.1.0-alpha.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-15/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca2f45f221ab9b84c44bd45e5ce900782c5376f0c7ee67d1141753933bba83ff [INFO] running `Command { std: "docker" "start" "-a" "ca2f45f221ab9b84c44bd45e5ce900782c5376f0c7ee67d1141753933bba83ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca2f45f221ab9b84c44bd45e5ce900782c5376f0c7ee67d1141753933bba83ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca2f45f221ab9b84c44bd45e5ce900782c5376f0c7ee67d1141753933bba83ff", kill_on_drop: false }` [INFO] [stdout] ca2f45f221ab9b84c44bd45e5ce900782c5376f0c7ee67d1141753933bba83ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a018cf92a70168c50d07253fa31fa5a9d03b0fbe9a1e9e9c58ad1d5f5d0ff3e [INFO] running `Command { std: "docker" "start" "-a" "6a018cf92a70168c50d07253fa31fa5a9d03b0fbe9a1e9e9c58ad1d5f5d0ff3e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] log v0.4.8: std [INFO] [stderr] [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking serde v1.0.102 [INFO] [stderr] Compiling cat-rs v0.1.0-alpha.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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: `#[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] [stderr] Migrating examples/client.rs from 2018 edition to 2021 [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: `#[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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.40s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cat-rs v0.1.0-alpha.0 (/tmp/fixit) [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking mio-uds v0.6.7 [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 v0.1.22 [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: `#[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] --> 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: `#[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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cat-rs-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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-61ff156a8a8f9e4c/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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.65s [INFO] running `Command { std: "docker" "inspect" "6a018cf92a70168c50d07253fa31fa5a9d03b0fbe9a1e9e9c58ad1d5f5d0ff3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a018cf92a70168c50d07253fa31fa5a9d03b0fbe9a1e9e9c58ad1d5f5d0ff3e", kill_on_drop: false }` [INFO] [stdout] 6a018cf92a70168c50d07253fa31fa5a9d03b0fbe9a1e9e9c58ad1d5f5d0ff3e