[INFO] fetching crate cargo_crates-io_docs-rs_test 0.5.0... [INFO] checking cargo_crates-io_docs-rs_test-0.5.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate cargo_crates-io_docs-rs_test 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cargo_crates-io_docs-rs_test 0.5.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo_crates-io_docs-rs_test 0.5.0 [INFO] finished tweaking crates.io crate cargo_crates-io_docs-rs_test 0.5.0 [INFO] tweaked toml for crates.io crate cargo_crates-io_docs-rs_test 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages [INFO] [stderr] Adding bindgen v0.47.4 (latest: v0.69.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cexpr v0.3.6 (latest: v0.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clang-sys v0.26.4 (latest: v1.7.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding cty v0.1.5 (latest: v0.2.2) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.3) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding hashbrown v0.1.8 (latest: v0.14.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding libloading v0.5.2 (latest: v0.8.3) [INFO] [stderr] Adding nom v4.2.3 (latest: v7.1.3) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.79) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.35) [INFO] [stderr] Adding scopeguard v0.3.3 (latest: v1.2.0) [INFO] [stderr] Adding shlex v0.1.1 (latest: v1.3.0) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.0) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.4) [INFO] [stderr] Adding which v2.0.1 (latest: v6.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded which v2.0.1 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded hashbrown v0.1.8 [INFO] [stderr] Downloaded cexpr v0.3.6 [INFO] [stderr] Downloaded clang-sys v0.26.4 [INFO] [stderr] Downloaded bindgen v0.47.4 [INFO] [stderr] Downloaded cty v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdc1a6bbd80b6b2bb0613d7b3497e2b2a8125b32ada4d2496fe0eedef116e0dc [INFO] running `Command { std: "docker" "start" "-a" "cdc1a6bbd80b6b2bb0613d7b3497e2b2a8125b32ada4d2496fe0eedef116e0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdc1a6bbd80b6b2bb0613d7b3497e2b2a8125b32ada4d2496fe0eedef116e0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc1a6bbd80b6b2bb0613d7b3497e2b2a8125b32ada4d2496fe0eedef116e0dc", kill_on_drop: false }` [INFO] [stdout] cdc1a6bbd80b6b2bb0613d7b3497e2b2a8125b32ada4d2496fe0eedef116e0dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1ce6ee351735ec4c5dbed2e4799227685d7ba7185c921f2e8a875244873b3ca [INFO] running `Command { std: "docker" "start" "-a" "d1ce6ee351735ec4c5dbed2e4799227685d7ba7185c921f2e8a875244873b3ca", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bindgen v0.47.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking cty v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling cargo_crates-io_docs-rs_test v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: cargo_crates-io_docs-rs_test@0.5.0: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: cargo_crates-io_docs-rs_test@0.5.0: Compiler version doesn't include clang or GCC: "c++" "--version" [INFO] [stdout] error[E0432]: unresolved import `runng_sys` [INFO] [stdout] --> tests/tests.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use runng_sys::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `runng_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:5553 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_ctx_s > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of fie... [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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:6224 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_dialer_s > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of f... [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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:6919 [INFO] [stdout] | [INFO] [stdout] 3 | ...( unsafe { & ( * ( :: core :: ptr :: null :: < nng_listener_s > ( ) ) ) . id as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:7598 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_pipe_s > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of fi... [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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:8273 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_socket_s > ( ) ) ) . id as * const _ as usize } , 0usize , concat ! ( "Offset of f... [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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:9378 [INFO] [stdout] | [INFO] [stdout] 3 | ...nsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_inproc > ( ) ) ) . sa_family 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:9624 [INFO] [stdout] | [INFO] [stdout] 3 | ...nsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_inproc > ( ) ) ) . sa_name as * const _ as usize } , 2usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:10370 [INFO] [stdout] | [INFO] [stdout] 3 | ...unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_path > ( ) ) ) . sa_family as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:10612 [INFO] [stdout] | [INFO] [stdout] 3 | ...unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_path > ( ) ) ) . sa_path as * const _ as usize } , 2usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:11411 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_in6 > ( ) ) ) . sa_family as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:11651 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_in6 > ( ) ) ) . sa_port as * const _ as usize } , 2usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:11887 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_in6 > ( ) ) ) . sa_addr as * const _ as usize } , 4usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:12712 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_in > ( ) ) ) . sa_family as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:12950 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_in > ( ) ) ) . sa_port as * const _ as usize } , 2usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:13184 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_in > ( ) ) ) . sa_addr as * const _ as usize } , 4usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:13934 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_zt > ( ) ) ) . sa_family as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:14172 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_zt > ( ) ) ) . sa_nwid as * const _ as usize } , 8usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:14406 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_zt > ( ) ) ) . sa_nodeid 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:14645 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr_zt > ( ) ) ) . sa_port as * const _ as usize } , 24usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:15599 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr > ( ) ) ) . s_family 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:15829 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr > ( ) ) ) . s_ipc as * const _ as usize } , 0usize , concat ! ( "Offset 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:16053 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr > ( ) ) ) . s_inproc 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:16283 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr > ( ) ) ) . s_in6 as * const _ as usize } , 0usize , concat ! ( "Offset 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:16507 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr > ( ) ) ) . s_in as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:16729 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_sockaddr > ( ) ) ) . s_zt as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:17617 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_iov > ( ) ) ) . iov_buf as * const _ as usize } , 0usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:17835 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_iov > ( ) ) ) . iov_len 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:41234 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_rawurl as * const _ as usize } , 0usize , concat ! ( "Offset 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:41454 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_scheme as * const _ as usize } , 8usize , concat ! ( "Offset 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:41674 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_userinfo as * const _ as usize } , 16usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope [INFO] [stdout] --> tests/tests.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | let mut rep_socket = nng_socket { id: 0 }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_socket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:41899 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_host as * const _ as usize } , 24usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_rep0_open` in this scope [INFO] [stdout] --> tests/tests.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | nng_rep0_open(&mut rep_socket); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_rep0_open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_listen` in this scope [INFO] [stdout] --> tests/tests.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | nng_listen(rep_socket, url, null_mut(), 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_listen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope [INFO] [stdout] --> tests/tests.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let mut req_socket = nng_socket { id: 0 }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_socket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_req0_open` in this scope [INFO] [stdout] --> tests/tests.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | nng_req0_open(&mut req_socket); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_req0_open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_dial` in this scope [INFO] [stdout] --> tests/tests.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | nng_dial(req_socket, url, null_mut(), 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_dial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `nng_msg` in this scope [INFO] [stdout] --> tests/tests.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | let mut req_msg: *mut nng_msg = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_msg_alloc` in this scope [INFO] [stdout] --> tests/tests.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | nng_msg_alloc(&mut req_msg, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg_alloc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_msg_append_u32` in this scope [INFO] [stdout] --> tests/tests.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | nng_msg_append_u32(req_msg, val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg_append_u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:42116 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_hostname as * const _ as usize } , 32usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_sendmsg` in this scope [INFO] [stdout] --> tests/tests.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | nng_sendmsg(req_socket, req_msg, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_sendmsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `nng_msg` in this scope [INFO] [stdout] --> tests/tests.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | let mut recv_msg: *mut nng_msg = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_recvmsg` in this scope [INFO] [stdout] --> tests/tests.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | nng_recvmsg(rep_socket, &mut recv_msg, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_recvmsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_msg_trim_u32` in this scope [INFO] [stdout] --> tests/tests.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | nng_msg_trim_u32(recv_msg, &mut recv_val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg_trim_u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_close` in this scope [INFO] [stdout] --> tests/tests.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | nng_close(req_socket); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_close; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_close` in this scope [INFO] [stdout] --> tests/tests.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | nng_close(rep_socket); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_close; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:42341 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_port as * const _ as usize } , 40usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope [INFO] [stdout] --> tests/tests.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | let mut rep_socket = nng_socket { id: 0 }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_socket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_rep0_open` in this scope [INFO] [stdout] --> tests/tests.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(0, nng_rep0_open(&mut rep_socket)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_rep0_open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_listen` in this scope [INFO] [stdout] --> tests/tests.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(0, nng_listen(rep_socket, url, std::ptr::null_mut(), 0)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_listen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope [INFO] [stdout] --> tests/tests.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let mut req_socket = nng_socket { id: 0 }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_socket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_req0_open` in this scope [INFO] [stdout] --> tests/tests.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(0, nng_req0_open(&mut req_socket)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_req0_open; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_dial` in this scope [INFO] [stdout] --> tests/tests.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(0, nng_dial(req_socket, url, std::ptr::null_mut(), 0)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_dial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `nng_msg` in this scope [INFO] [stdout] --> tests/tests.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | let mut req_msg: *mut nng_msg = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:42558 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_path as * const _ as usize } , 48usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_msg_alloc` in this scope [INFO] [stdout] --> tests/tests.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(0, nng_msg_alloc(&mut req_msg, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg_alloc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_msg_append_u32` in this scope [INFO] [stdout] --> tests/tests.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(0, nng_msg_append_u32(req_msg, val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg_append_u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_sendmsg` in this scope [INFO] [stdout] --> tests/tests.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(0, nng_sendmsg(req_socket, req_msg, 0)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_sendmsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `nng_msg` in this scope [INFO] [stdout] --> tests/tests.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let mut recv_msg: *mut nng_msg = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_recvmsg` in this scope [INFO] [stdout] --> tests/tests.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(0, nng_recvmsg(rep_socket, &mut recv_msg, 0)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_recvmsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_msg_trim_u32` in this scope [INFO] [stdout] --> tests/tests.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(0, nng_msg_trim_u32(recv_msg, &mut recv_val)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_msg_trim_u32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_close` in this scope [INFO] [stdout] --> tests/tests.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | nng_close(req_socket); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_close; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nng_close` in this scope [INFO] [stdout] --> tests/tests.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | nng_close(rep_socket); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use cargo_crates_io_docs_rs_test::nng_close; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:42775 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_query as * const _ as usize } , 56usize , concat ! ( "Offset 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:42994 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_fragment as * const _ as usize } , 64usize , 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/cargo_crates-io_docs-rs_test-df8d8ecb7ab7a69b/out/bindings.rs:3:43219 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: core :: ptr :: null :: < nng_url > ( ) ) ) . u_requri as * const _ as usize } , 72usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: cargo_crates-io_docs-rs_test@0.5.0: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: cargo_crates-io_docs-rs_test@0.5.0: Compiler version doesn't include clang or GCC: "c++" "--version" [INFO] [stderr] [INFO] [stderr] error: could not compile `cargo_crates-io_docs-rs_test` (test "tests") due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "d1ce6ee351735ec4c5dbed2e4799227685d7ba7185c921f2e8a875244873b3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ce6ee351735ec4c5dbed2e4799227685d7ba7185c921f2e8a875244873b3ca", kill_on_drop: false }` [INFO] [stdout] d1ce6ee351735ec4c5dbed2e4799227685d7ba7185c921f2e8a875244873b3ca [INFO] checking cargo_crates-io_docs-rs_test-0.5.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate cargo_crates-io_docs-rs_test 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cargo_crates-io_docs-rs_test 0.5.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo_crates-io_docs-rs_test 0.5.0 [INFO] finished tweaking crates.io crate cargo_crates-io_docs-rs_test 0.5.0 [INFO] tweaked toml for crates.io crate cargo_crates-io_docs-rs_test 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da42951306eeefbe925ad89c1c537b4d81d30be158c21da3aaf9bf6961ee96fd [INFO] running `Command { std: "docker" "start" "-a" "da42951306eeefbe925ad89c1c537b4d81d30be158c21da3aaf9bf6961ee96fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da42951306eeefbe925ad89c1c537b4d81d30be158c21da3aaf9bf6961ee96fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da42951306eeefbe925ad89c1c537b4d81d30be158c21da3aaf9bf6961ee96fd", kill_on_drop: false }` [INFO] [stdout] da42951306eeefbe925ad89c1c537b4d81d30be158c21da3aaf9bf6961ee96fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70495f1ed02f4f56ca38833eb582ba9e750d24a23cba876e9f9ac560e884b33d [INFO] running `Command { std: "docker" "start" "-a" "70495f1ed02f4f56ca38833eb582ba9e750d24a23cba876e9f9ac560e884b33d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "70495f1ed02f4f56ca38833eb582ba9e750d24a23cba876e9f9ac560e884b33d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70495f1ed02f4f56ca38833eb582ba9e750d24a23cba876e9f9ac560e884b33d", kill_on_drop: false }` [INFO] [stdout] 70495f1ed02f4f56ca38833eb582ba9e750d24a23cba876e9f9ac560e884b33d