[INFO] fetching crate lightway-sys 0.1.0... [INFO] documenting lightway-sys-0.1.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate lightway-sys 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate lightway-sys 0.1.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lightway-sys 0.1.0 [INFO] finished tweaking crates.io crate lightway-sys 0.1.0 [INFO] tweaked toml for crates.io crate lightway-sys 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c978f2da6b09e7124df255d78b772dcf599318ff1859dc27e273a76ebd33a2c [INFO] running `Command { std: "docker" "start" "-a" "3c978f2da6b09e7124df255d78b772dcf599318ff1859dc27e273a76ebd33a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c978f2da6b09e7124df255d78b772dcf599318ff1859dc27e273a76ebd33a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c978f2da6b09e7124df255d78b772dcf599318ff1859dc27e273a76ebd33a2c", kill_on_drop: false }` [INFO] [stdout] 3c978f2da6b09e7124df255d78b772dcf599318ff1859dc27e273a76ebd33a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b74f5cde280f09a896bea67ae216aa172a0b7753a6bfaa52f479e8ef51aedfb6 [INFO] running `Command { std: "docker" "start" "-a" "b74f5cde280f09a896bea67ae216aa172a0b7753a6bfaa52f479e8ef51aedfb6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling autotools v0.2.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling wolfssl-sys v0.1.4 [INFO] [stderr] Compiling lightway-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c: In function 'he_wolf_dtls_read': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c:47:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 47 | if(conn->incoming_data_length > sz) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c: In function 'he_wolf_tls_read': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c:181:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 181 | if(sz < conn->incoming_data_left_to_read) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c: In function 'he_wolf_tls_write': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c:214:9: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 214 | if(sz < sizeof(conn->write_buffer)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/ssl_ctx.c: In function 'he_ssl_ctx_stop': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/ssl_ctx.c:266:48: warning: unused parameter 'context' [-Wunused-parameter] [INFO] [stderr] warning: 266 | he_return_code_t he_ssl_ctx_stop(he_ssl_ctx_t *context) { [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_noop': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:26:75: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 26 | he_return_code_t he_handle_msg_noop(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_ping': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:35:75: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 35 | he_return_code_t he_handle_msg_ping(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_pong': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:56:75: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 56 | he_return_code_t he_handle_msg_pong(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_config_ipv4': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:83:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 83 | if(length < sizeof(he_msg_config_ipv4_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_auth': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:171:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 171 | if(length < sizeof(he_msg_auth_hdr_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:184:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 184 | if(length < sizeof(he_msg_auth_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_data': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:304:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 304 | if(length < sizeof(he_msg_data_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_deprecated_13': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:342:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 342 | if(length < sizeof(he_deprecated_msg_13_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_auth_response_with_config': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:362:62: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 362 | int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_auth_response': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:370:84: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 370 | he_return_code_t he_handle_msg_auth_response(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_goodbye': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:379:78: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 379 | he_return_code_t he_handle_msg_goodbye(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_internal_is_ipv4_packet_valid': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:389:60: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 389 | bool he_internal_is_ipv4_packet_valid(uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/flow.c: In function 'he_internal_flow_process_message': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/flow.c:114:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 114 | if(conn->read_packet.packet_size < sizeof(he_msg_hdr_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] Documenting lightway-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `_server` [INFO] [stdout] --> /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/bindings.rs:3:79740 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " @brief Set the expected Distinguished Name (DN) of the server."] # [doc = " @param ctx A pointer to a valid SSL context"] # [doc = " @param distinguished_name A pointer to the distinguished name"] # [doc = " @return HE_SUCCESS The DN has been set"] # [doc = " @return HE_ERR_SSL_ERROR Generic failure - DN couldn't be set"] # [doc = " @note This must be set before calling he_ssl_ctx_start[_server]"] # [doc = ""] # [doc = " If this option is set, Helium will verify the DN name of the server's certificate to provide"] # [doc = " additional security. However, even without this set, Helium will still validate the certificate"] # [doc = " chain."] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @note This must be set before calling he_ssl_ctx_start[_server] [INFO] [stdout] ^^^^^^^ [INFO] [stdout] = note: no item named `_server` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `out` [INFO] [stdout] --> /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/bindings.rs:3:66070 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; # [doc = " @brief The prototype for the population of the network config"] # [doc = " @param conn A pointer to the connection that triggered this callback"] # [doc = " @param [out] config A valid pointer to a network_config_ipv4_t, to be populated by the host"] # [doc = " @param context A pointer to the user defined context"] # [doc = " @see he_conn_set_context Sets the value of the context pointer"] # [doc = ""] # [doc = " The host is expected to populate the provided he_network_config_ipv4_t* object with the"] # [doc = " correct values so that the client can successfully connect."] # [doc = ""] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param [out] config A valid pointer to a network_config_ipv4_t, to be populated by the host [INFO] [stdout] ^^^ [INFO] [stdout] = note: no item named `out` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "b74f5cde280f09a896bea67ae216aa172a0b7753a6bfaa52f479e8ef51aedfb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b74f5cde280f09a896bea67ae216aa172a0b7753a6bfaa52f479e8ef51aedfb6", kill_on_drop: false }` [INFO] [stdout] b74f5cde280f09a896bea67ae216aa172a0b7753a6bfaa52f479e8ef51aedfb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] e3aaf5e11147091742e9c4cc6ce171a9d91150bbf19d922bc0d5e78c4d0c495e [INFO] running `Command { std: "docker" "start" "-a" "e3aaf5e11147091742e9c4cc6ce171a9d91150bbf19d922bc0d5e78c4d0c495e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling build-target v0.4.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling autotools v0.2.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling wolfssl-sys v0.1.4 [INFO] [stderr] Compiling lightway-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c: In function 'he_wolf_dtls_read': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c:47:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 47 | if(conn->incoming_data_length > sz) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c: In function 'he_wolf_tls_read': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c:181:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 181 | if(sz < conn->incoming_data_left_to_read) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c: In function 'he_wolf_tls_write': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/wolf.c:214:9: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 214 | if(sz < sizeof(conn->write_buffer)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/ssl_ctx.c: In function 'he_ssl_ctx_stop': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/ssl_ctx.c:266:48: warning: unused parameter 'context' [-Wunused-parameter] [INFO] [stderr] warning: 266 | he_return_code_t he_ssl_ctx_stop(he_ssl_ctx_t *context) { [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_noop': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:26:75: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 26 | he_return_code_t he_handle_msg_noop(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_ping': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:35:75: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 35 | he_return_code_t he_handle_msg_ping(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_pong': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:56:75: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 56 | he_return_code_t he_handle_msg_pong(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_config_ipv4': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:83:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 83 | if(length < sizeof(he_msg_config_ipv4_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_auth': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:171:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 171 | if(length < sizeof(he_msg_auth_hdr_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:184:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 184 | if(length < sizeof(he_msg_auth_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_data': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:304:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 304 | if(length < sizeof(he_msg_data_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_deprecated_13': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:342:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 342 | if(length < sizeof(he_deprecated_msg_13_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_auth_response_with_config': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:362:62: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 362 | int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_auth_response': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:370:84: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 370 | he_return_code_t he_handle_msg_auth_response(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_handle_msg_goodbye': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:379:78: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 379 | he_return_code_t he_handle_msg_goodbye(he_conn_t *conn, uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c: In function 'he_internal_is_ipv4_packet_valid': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/msg_handlers.c:389:60: warning: unused parameter 'length' [-Wunused-parameter] [INFO] [stderr] warning: 389 | bool he_internal_is_ipv4_packet_valid(uint8_t *packet, int length) { [INFO] [stderr] warning: | ~~~~^~~~~~ [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/flow.c: In function 'he_internal_flow_process_message': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/lightway-core-1.1/src/he/flow.c:114:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 114 | if(conn->read_packet.packet_size < sizeof(he_msg_hdr_t)) { [INFO] [stderr] warning: | ^ [INFO] [stderr] Documenting lightway-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `_server` [INFO] [stdout] --> /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/bindings.rs:3:79740 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " @brief Set the expected Distinguished Name (DN) of the server."] # [doc = " @param ctx A pointer to a valid SSL context"] # [doc = " @param distinguished_name A pointer to the distinguished name"] # [doc = " @return HE_SUCCESS The DN has been set"] # [doc = " @return HE_ERR_SSL_ERROR Generic failure - DN couldn't be set"] # [doc = " @note This must be set before calling he_ssl_ctx_start[_server]"] # [doc = ""] # [doc = " If this option is set, Helium will verify the DN name of the server's certificate to provide"] # [doc = " additional security. However, even without this set, Helium will still validate the certificate"] # [doc = " chain."] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @note This must be set before calling he_ssl_ctx_start[_server] [INFO] [stdout] ^^^^^^^ [INFO] [stdout] = note: no item named `_server` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `out` [INFO] [stdout] --> /opt/rustwide/target/debug/build/lightway-sys-513937dd97602788/out/bindings.rs:3:66070 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; # [doc = " @brief The prototype for the population of the network config"] # [doc = " @param conn A pointer to the connection that triggered this callback"] # [doc = " @param [out] config A valid pointer to a network_config_ipv4_t, to be populated by the host"] # [doc = " @param context A pointer to the user defined context"] # [doc = " @see he_conn_set_context Sets the value of the context pointer"] # [doc = ""] # [doc = " The host is expected to populate the provided he_network_config_ipv4_t* object with the"] # [doc = " correct values so that the client can successfully connect."] # [doc = ""] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] @param [out] config A valid pointer to a network_config_ipv4_t, to be populated by the host [INFO] [stdout] ^^^ [INFO] [stdout] = note: no item named `out` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.39s [INFO] running `Command { std: "docker" "inspect" "e3aaf5e11147091742e9c4cc6ce171a9d91150bbf19d922bc0d5e78c4d0c495e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3aaf5e11147091742e9c4cc6ce171a9d91150bbf19d922bc0d5e78c4d0c495e", kill_on_drop: false }` [INFO] [stdout] e3aaf5e11147091742e9c4cc6ce171a9d91150bbf19d922bc0d5e78c4d0c495e