[INFO] crate cargo_crates-io_docs-rs_test 0.5.0 is already in cache
[INFO] checking cargo_crates-io_docs-rs_test-0.5.0 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate cargo_crates-io_docs-rs_test 0.5.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate cargo_crates-io_docs-rs_test 0.5.0 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-4/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4ae39ebbc1a755d05f9523c6fb7bf74e86504eb132c1337531ff97511b59a08d
[INFO] running `"docker" "start" "-a" "4ae39ebbc1a755d05f9523c6fb7bf74e86504eb132c1337531ff97511b59a08d"`
[INFO] [stderr]    Compiling bindgen v0.47.3
[INFO] [stderr]     Checking cty v0.1.5
[INFO] [stderr]    Compiling cargo_crates-io_docs-rs_test v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `runng_sys`
[INFO] [stderr]  --> tests/tests.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     use runng_sys::*;
[INFO] [stderr]   |         ^^^^^^^^^ use of undeclared type or module `runng_sys`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope
[INFO] [stderr]   --> tests/tests.rs:14:34
[INFO] [stderr]    |
[INFO] [stderr] 14 |             let mut rep_socket = nng_socket { id: 0 };
[INFO] [stderr]    |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_socket;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_rep0_open` in this scope
[INFO] [stderr]   --> tests/tests.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 |             nng_rep0_open(&mut rep_socket);
[INFO] [stderr]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_rep0_open;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_listen` in this scope
[INFO] [stderr]   --> tests/tests.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |             nng_listen(rep_socket, url, null_mut(), 0);
[INFO] [stderr]    |             ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_listen;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope
[INFO] [stderr]   --> tests/tests.rs:19:34
[INFO] [stderr]    |
[INFO] [stderr] 19 |             let mut req_socket = nng_socket { id: 0 };
[INFO] [stderr]    |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_socket;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_req0_open` in this scope
[INFO] [stderr]   --> tests/tests.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |             nng_req0_open(&mut req_socket);
[INFO] [stderr]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_req0_open;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_dial` in this scope
[INFO] [stderr]   --> tests/tests.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 |             nng_dial(req_socket, url, null_mut(), 0);
[INFO] [stderr]    |             ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_dial;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `nng_msg` in this scope
[INFO] [stderr]   --> tests/tests.rs:24:35
[INFO] [stderr]    |
[INFO] [stderr] 24 |             let mut req_msg: *mut nng_msg = null_mut();
[INFO] [stderr]    |                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_msg_alloc` in this scope
[INFO] [stderr]   --> tests/tests.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 |             nng_msg_alloc(&mut req_msg, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg_alloc;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_msg_append_u32` in this scope
[INFO] [stderr]   --> tests/tests.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 |             nng_msg_append_u32(req_msg, val);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg_append_u32;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_sendmsg` in this scope
[INFO] [stderr]   --> tests/tests.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 29 |             nng_sendmsg(req_socket, req_msg, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_sendmsg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `nng_msg` in this scope
[INFO] [stderr]   --> tests/tests.rs:32:36
[INFO] [stderr]    |
[INFO] [stderr] 32 |             let mut recv_msg: *mut nng_msg = null_mut();
[INFO] [stderr]    |                                    ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_recvmsg` in this scope
[INFO] [stderr]   --> tests/tests.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |             nng_recvmsg(rep_socket, &mut recv_msg, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_recvmsg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_msg_trim_u32` in this scope
[INFO] [stderr]   --> tests/tests.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |             nng_msg_trim_u32(recv_msg, &mut recv_val);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg_trim_u32;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_close` in this scope
[INFO] [stderr]   --> tests/tests.rs:41:13
[INFO] [stderr]    |
[INFO] [stderr] 41 |             nng_close(req_socket);
[INFO] [stderr]    |             ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_close;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_close` in this scope
[INFO] [stderr]   --> tests/tests.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |             nng_close(rep_socket);
[INFO] [stderr]    |             ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_close;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope
[INFO] [stderr]   --> tests/tests.rs:53:34
[INFO] [stderr]    |
[INFO] [stderr] 53 |             let mut rep_socket = nng_socket { id: 0 };
[INFO] [stderr]    |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_socket;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_rep0_open` in this scope
[INFO] [stderr]   --> tests/tests.rs:54:27
[INFO] [stderr]    |
[INFO] [stderr] 54 |             assert_eq!(0, nng_rep0_open(&mut rep_socket));
[INFO] [stderr]    |                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_rep0_open;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_listen` in this scope
[INFO] [stderr]   --> tests/tests.rs:55:27
[INFO] [stderr]    |
[INFO] [stderr] 55 |             assert_eq!(0, nng_listen(rep_socket, url, std::ptr::null_mut(), 0));
[INFO] [stderr]    |                           ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_listen;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `nng_socket` in this scope
[INFO] [stderr]   --> tests/tests.rs:58:34
[INFO] [stderr]    |
[INFO] [stderr] 58 |             let mut req_socket = nng_socket { id: 0 };
[INFO] [stderr]    |                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_socket;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_req0_open` in this scope
[INFO] [stderr]   --> tests/tests.rs:59:27
[INFO] [stderr]    |
[INFO] [stderr] 59 |             assert_eq!(0, nng_req0_open(&mut req_socket));
[INFO] [stderr]    |                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_req0_open;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_dial` in this scope
[INFO] [stderr]   --> tests/tests.rs:60:27
[INFO] [stderr]    |
[INFO] [stderr] 60 |             assert_eq!(0, nng_dial(req_socket, url, std::ptr::null_mut(), 0));
[INFO] [stderr]    |                           ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_dial;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `nng_msg` in this scope
[INFO] [stderr]   --> tests/tests.rs:63:35
[INFO] [stderr]    |
[INFO] [stderr] 63 |             let mut req_msg: *mut nng_msg = std::ptr::null_mut();
[INFO] [stderr]    |                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_msg_alloc` in this scope
[INFO] [stderr]   --> tests/tests.rs:64:27
[INFO] [stderr]    |
[INFO] [stderr] 64 |             assert_eq!(0, nng_msg_alloc(&mut req_msg, 0));
[INFO] [stderr]    |                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg_alloc;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_msg_append_u32` in this scope
[INFO] [stderr]   --> tests/tests.rs:67:27
[INFO] [stderr]    |
[INFO] [stderr] 67 |             assert_eq!(0, nng_msg_append_u32(req_msg, val));
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg_append_u32;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_sendmsg` in this scope
[INFO] [stderr]   --> tests/tests.rs:68:27
[INFO] [stderr]    |
[INFO] [stderr] 68 |             assert_eq!(0, nng_sendmsg(req_socket, req_msg, 0));
[INFO] [stderr]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_sendmsg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `nng_msg` in this scope
[INFO] [stderr]   --> tests/tests.rs:71:36
[INFO] [stderr]    |
[INFO] [stderr] 71 |             let mut recv_msg: *mut nng_msg = std::ptr::null_mut();
[INFO] [stderr]    |                                    ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_recvmsg` in this scope
[INFO] [stderr]   --> tests/tests.rs:72:27
[INFO] [stderr]    |
[INFO] [stderr] 72 |             assert_eq!(0, nng_recvmsg(rep_socket, &mut recv_msg, 0));
[INFO] [stderr]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_recvmsg;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_msg_trim_u32` in this scope
[INFO] [stderr]   --> tests/tests.rs:75:27
[INFO] [stderr]    |
[INFO] [stderr] 75 |             assert_eq!(0, nng_msg_trim_u32(recv_msg, &mut recv_val));
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_msg_trim_u32;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_close` in this scope
[INFO] [stderr]   --> tests/tests.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |             nng_close(req_socket);
[INFO] [stderr]    |             ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_close;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `nng_close` in this scope
[INFO] [stderr]   --> tests/tests.rs:79:13
[INFO] [stderr]    |
[INFO] [stderr] 79 |             nng_close(rep_socket);
[INFO] [stderr]    |             ^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  |     use cargo_crates_io_docs_rs_test::nng_close;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 31 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `cargo_crates-io_docs-rs_test`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "4ae39ebbc1a755d05f9523c6fb7bf74e86504eb132c1337531ff97511b59a08d"`
[INFO] running `"docker" "rm" "-f" "4ae39ebbc1a755d05f9523c6fb7bf74e86504eb132c1337531ff97511b59a08d"`
[INFO] [stdout] 4ae39ebbc1a755d05f9523c6fb7bf74e86504eb132c1337531ff97511b59a08d
