[INFO] fetching crate cat-rs 0.1.0-alpha.0... [INFO] testing cat-rs-0.1.0-alpha.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate cat-rs 0.1.0-alpha.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate cat-rs 0.1.0-alpha.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-6/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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 which v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4270974631c837506248030249559599434ec581671800e0a39b0df0d0513df [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e4270974631c837506248030249559599434ec581671800e0a39b0df0d0513df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4270974631c837506248030249559599434ec581671800e0a39b0df0d0513df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4270974631c837506248030249559599434ec581671800e0a39b0df0d0513df", kill_on_drop: false }` [INFO] [stdout] e4270974631c837506248030249559599434ec581671800e0a39b0df0d0513df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f12826d7168db78107b43850dd475db8d7bd4db98838ff66ce47722ab41e6128 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f12826d7168db78107b43850dd475db8d7bd4db98838ff66ce47722ab41e6128", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling cexpr v0.3.6 [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 v1.0.102 [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 1m 15s [INFO] running `Command { std: "docker" "inspect" "f12826d7168db78107b43850dd475db8d7bd4db98838ff66ce47722ab41e6128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12826d7168db78107b43850dd475db8d7bd4db98838ff66ce47722ab41e6128", kill_on_drop: false }` [INFO] [stdout] f12826d7168db78107b43850dd475db8d7bd4db98838ff66ce47722ab41e6128 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 49a7018bc46e23887e09f49629b8d6040984d89aee6a55dab560151c34722a34 [INFO] running `Command { std: "docker" "start" "-a" "49a7018bc46e23887e09f49629b8d6040984d89aee6a55dab560151c34722a34", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [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 tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [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-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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 16.19s [INFO] running `Command { std: "docker" "inspect" "49a7018bc46e23887e09f49629b8d6040984d89aee6a55dab560151c34722a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a7018bc46e23887e09f49629b8d6040984d89aee6a55dab560151c34722a34", kill_on_drop: false }` [INFO] [stdout] 49a7018bc46e23887e09f49629b8d6040984d89aee6a55dab560151c34722a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e58c46ed11b0e5e6e1ac1fb001dadb2b2f7d26148cb2fa3641caff708064402 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0e58c46ed11b0e5e6e1ac1fb001dadb2b2f7d26148cb2fa3641caff708064402", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] running 3 tests [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: 1 warning emitted [INFO] [stderr] [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: dereferencing a null pointer [INFO] [stderr] --> /opt/rustwide/target/debug/build/cat-rs-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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-91f73eb3914cb356/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: 19 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cat_rs-67d2f360e7f2e7b6) [INFO] [stdout] test ffi::bindgen_test_layout__CatClientConfig ... ok [INFO] [stdout] test ffi::bindgen_test_layout__CatTransaction ... ok [INFO] [stdout] test ffi::bindgen_test_layout__CatMessage ... 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] [stderr] Doc-tests cat-rs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 8) ... ok [INFO] [stdout] test src/lib.rs - logEvent (line 252) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e58c46ed11b0e5e6e1ac1fb001dadb2b2f7d26148cb2fa3641caff708064402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e58c46ed11b0e5e6e1ac1fb001dadb2b2f7d26148cb2fa3641caff708064402", kill_on_drop: false }` [INFO] [stdout] 0e58c46ed11b0e5e6e1ac1fb001dadb2b2f7d26148cb2fa3641caff708064402