[INFO] fetching crate cat-rs 0.1.0-alpha.0... [INFO] testing cat-rs-0.1.0-alpha.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate cat-rs 0.1.0-alpha.0 into /workspace/builds/worker-104/source [INFO] validating manifest of crates.io crate cat-rs 0.1.0-alpha.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-104/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded bindgen v0.51.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3434cc49a20982e1a8a27fe7afd1cb0c674e0d6d6864bcb7b75e800338676f92 [INFO] running `Command { std: "docker" "start" "-a" "3434cc49a20982e1a8a27fe7afd1cb0c674e0d6d6864bcb7b75e800338676f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3434cc49a20982e1a8a27fe7afd1cb0c674e0d6d6864bcb7b75e800338676f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3434cc49a20982e1a8a27fe7afd1cb0c674e0d6d6864bcb7b75e800338676f92", kill_on_drop: false }` [INFO] [stdout] 3434cc49a20982e1a8a27fe7afd1cb0c674e0d6d6864bcb7b75e800338676f92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3829bf0933e5f01feaa59aa48baf28a77bf8a9c205c5a6a62b007f4a9452a57b [INFO] running `Command { std: "docker" "start" "-a" "3829bf0933e5f01feaa59aa48baf28a77bf8a9c205c5a6a62b007f4a9452a57b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [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] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling num_cpus v1.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling cexpr v0.3.6 [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] [stderr] Compiling 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: `#[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] Finished dev [unoptimized + debuginfo] target(s) in 25.26s [INFO] running `Command { std: "docker" "inspect" "3829bf0933e5f01feaa59aa48baf28a77bf8a9c205c5a6a62b007f4a9452a57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3829bf0933e5f01feaa59aa48baf28a77bf8a9c205c5a6a62b007f4a9452a57b", kill_on_drop: false }` [INFO] [stdout] 3829bf0933e5f01feaa59aa48baf28a77bf8a9c205c5a6a62b007f4a9452a57b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c60517fdd63ab74487fea45d7504aaffe2999536ad9ca01bd461b657ea14070 [INFO] running `Command { std: "docker" "start" "-a" "5c60517fdd63ab74487fea45d7504aaffe2999536ad9ca01bd461b657ea14070", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [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] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling cat-rs v0.1.0-alpha.0 (/opt/rustwide/workdir) [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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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-6eca0eb46aa7edad/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 test [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "5c60517fdd63ab74487fea45d7504aaffe2999536ad9ca01bd461b657ea14070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c60517fdd63ab74487fea45d7504aaffe2999536ad9ca01bd461b657ea14070", kill_on_drop: false }` [INFO] [stdout] 5c60517fdd63ab74487fea45d7504aaffe2999536ad9ca01bd461b657ea14070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 349d2a820d7c0b13aa15d6050c9a6ba51403f5e151cf886fa61e8ae96a3f3e14 [INFO] running `Command { std: "docker" "start" "-a" "349d2a820d7c0b13aa15d6050c9a6ba51403f5e151cf886fa61e8ae96a3f3e14", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/lib.rs:107:60 [INFO] [stderr] | [INFO] [stderr] 107 | CString::new(self.appkey.clone()).unwrap().as_ptr(), [INFO] [stderr] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `cat-rs` (lib) generated 1 warning [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:2496 [INFO] [stderr] | [INFO] [stderr] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . addData as * const _ as usize } , 0usize , concat ! ( "Offset ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:2721 [INFO] [stderr] | [INFO] [stderr] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . addKV as * const _ as usize } , 8usize , concat ! ( "Offset of... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:2942 [INFO] [stderr] | [INFO] [stderr] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . setStatus as * const _ as usize } , 16usize , concat ! ( "Offs... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:3172 [INFO] [stderr] | [INFO] [stderr] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . setTimestamp as * const _ as usize } , 24usize , concat ! ( "O... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:3408 [INFO] [stderr] | [INFO] [stderr] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < _CatMessage > ( ) ) ) . complete as * const _ as usize } , 32usize , concat ! ( "Offse... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:6842 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addData as * const _ as usize } , 0usize , concat ! ( "Offse... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:7075 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addKV as * const _ as usize } , 8usize , concat ! ( "Offset ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:7304 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setStatus as * const _ as usize } , 16usize , concat ! ( "Of... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:7542 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setTimestamp as * const _ as usize } , 24usize , concat ! ( ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:7786 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . complete as * const _ as usize } , 32usize , concat ! ( "Off... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:8022 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . addChild as * const _ as usize } , 40usize , concat ! ( "Off... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:8258 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setDurationInMillis as * const _ as usize } , 48usize , conc... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:8516 [INFO] [stderr] | [INFO] [stderr] 3 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < _CatTransaction > ( ) ) ) . setDurationStart as * const _ as usize } , 56usize , concat ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:9469 [INFO] [stderr] | [INFO] [stderr] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . encoderType as * const _ as usize } , 0usize , concat ! ( "O... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:9712 [INFO] [stderr] | [INFO] [stderr] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableHeartbeat as * const _ as usize } , 4usize , concat ! ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:9963 [INFO] [stderr] | [INFO] [stderr] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableSampling as * const _ as usize } , 8usize , concat ! (... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:10212 [INFO] [stderr] | [INFO] [stderr] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableMultiprocessing as * const _ as usize } , 12usize , co... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-6eca0eb46aa7edad/out/ffi.rs:3:10476 [INFO] [stderr] | [INFO] [stderr] 3 | ... unsafe { & ( * ( :: std :: ptr :: null :: < _CatClientConfig > ( ) ) ) . enableDebugLog as * const _ as usize } , 16usize , concat ! ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] [INFO] [stderr] warning: `cat-rs` (lib test) generated 19 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cat_rs-3a59926aa8e60986) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test ffi::bindgen_test_layout__CatClientConfig ... ok [INFO] [stdout] test ffi::bindgen_test_layout__CatMessage ... ok [INFO] [stderr] Doc-tests cat-rs [INFO] [stdout] test ffi::bindgen_test_layout__CatTransaction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - logEvent (line 252) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 8) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "349d2a820d7c0b13aa15d6050c9a6ba51403f5e151cf886fa61e8ae96a3f3e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349d2a820d7c0b13aa15d6050c9a6ba51403f5e151cf886fa61e8ae96a3f3e14", kill_on_drop: false }` [INFO] [stdout] 349d2a820d7c0b13aa15d6050c9a6ba51403f5e151cf886fa61e8ae96a3f3e14