[INFO] fetching crate cargo_crates-io_docs-rs_test 0.5.0... [INFO] checking cargo_crates-io_docs-rs_test-0.5.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate cargo_crates-io_docs-rs_test 0.5.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate cargo_crates-io_docs-rs_test 0.5.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cty v0.1.5 [INFO] [stderr] Downloaded bindgen v0.47.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e79b5692b56f73b68a75dcecce54f7b627f16094d86a67bf6a53bc88f1982b1 [INFO] running `Command { std: "docker" "start" "-a" "1e79b5692b56f73b68a75dcecce54f7b627f16094d86a67bf6a53bc88f1982b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e79b5692b56f73b68a75dcecce54f7b627f16094d86a67bf6a53bc88f1982b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e79b5692b56f73b68a75dcecce54f7b627f16094d86a67bf6a53bc88f1982b1", kill_on_drop: false }` [INFO] [stdout] 1e79b5692b56f73b68a75dcecce54f7b627f16094d86a67bf6a53bc88f1982b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 888bef1f7cda1527d110d3730c7ef35378cdfd0e8bba6fe56ab8455cd6987aef [INFO] running `Command { std: "docker" "start" "-a" "888bef1f7cda1527d110d3730c7ef35378cdfd0e8bba6fe56ab8455cd6987aef", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.47.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking cty v0.1.5 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling addr2line v0.15.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] [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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-a07bfec2ab4e2903/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] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-a07bfec2ab4e2903/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] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-a07bfec2ab4e2903/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] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-a07bfec2ab4e2903/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] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cargo_crates-io_docs-rs_test-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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-a07bfec2ab4e2903/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[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] 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] 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] 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] 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] 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] error: could not compile `cargo_crates-io_docs-rs_test` due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "888bef1f7cda1527d110d3730c7ef35378cdfd0e8bba6fe56ab8455cd6987aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888bef1f7cda1527d110d3730c7ef35378cdfd0e8bba6fe56ab8455cd6987aef", kill_on_drop: false }` [INFO] [stdout] 888bef1f7cda1527d110d3730c7ef35378cdfd0e8bba6fe56ab8455cd6987aef