libp2prs-mdns 0.3.0

mdns protocol for libp2p
Build #380634 2021-04-23T08:22:35.598006+00:00
# rustc version
rustc 1.53.0-nightly (7f4afdf02 2021-04-22)# docs.rs version
docsrs 0.6.0 (c9d80ad 2021-04-18)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libp2prs-mdns-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libp2prs-mdns-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210422-1.53.0-nightly-7f4afdf02" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 68e4b0ec0d256e9b5a88ea5d5880859351910cabc3b1ca7da409065bdb8def19
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "68e4b0ec0d256e9b5a88ea5d5880859351910cabc3b1ca7da409065bdb8def19", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking futures-core v0.3.14
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking futures-sink v0.3.14
[INFO] [stderr]     Checking slab v0.4.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking futures-io v0.3.14
[INFO] [stderr]     Checking futures-task v0.3.14
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking subtle v2.4.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking unsigned-varint v0.5.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking signature v1.3.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking data-encoding v2.3.2
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking unsigned-varint v0.4.0
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]     Checking futures-channel v0.3.14
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking ed25519 v1.0.3
[INFO] [stderr]     Checking dns-parser v0.8.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling prost-build v0.6.1
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]     Checking sha2 v0.9.3
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]     Checking salsa20 v0.7.2
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking sha3 v0.8.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]     Checking hmac-drbg v0.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling prost-derive v0.6.1
[INFO] [stderr]    Compiling zeroize_derive v1.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling asn1_der_derive v0.1.2
[INFO] [stderr]     Checking libsecp256k1 v0.3.5
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]     Checking futures-util v0.3.14
[INFO] [stderr]    Compiling prost v0.6.1
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking pin-project v0.4.28
[INFO] [stderr]     Checking pin-project v1.0.7
[INFO] [stderr]     Checking asn1_der v0.6.3
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking futures-executor v0.3.14
[INFO] [stderr]    Compiling prost-types v0.6.1
[INFO] [stderr]     Checking curve25519-dalek v3.1.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking futures v0.3.14
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking libp2p-pnet v0.20.0
[INFO] [stderr]     Checking rw-stream-sink v0.2.1
[INFO] [stderr]     Checking libp2prs-runtime v0.3.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling libp2prs-core v0.3.0
[INFO] [stderr]    Compiling multihash-derive v0.7.1
[INFO] [stderr]     Checking multihash v0.13.2
[INFO] [stderr]     Checking libp2prs-multiaddr v0.3.0
[INFO] [stderr]  Documenting libp2prs-mdns v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `libp2prs_runtime::net`, `libp2prs_runtime::task`
[INFO] [stderr]   --> src/service.rs:43:24
[INFO] [stderr]    |
[INFO] [stderr] 43 | use libp2prs_runtime::{net::UdpSocket, task};
[INFO] [stderr]    |                        ^^^             ^^^^ no `task` in the root
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        could not find `net` in `libp2prs_runtime`
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `libp2prs-mdns`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name libp2prs_mdns src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi -Z unstable-options --emit=invocation-specific --resource-suffix -20210422-1.53.0-nightly-7f4afdf02 --static-root-path / --cap-lints warn --disable-per-crate-search -L dependency=/opt/rustwide/target/debug/deps --extern data_encoding=/opt/rustwide/target/debug/deps/libdata_encoding-5bfba520ca283036.rmeta --extern dns_parser=/opt/rustwide/target/debug/deps/libdns_parser-33aa4194d8c6386e.rmeta --extern either=/opt/rustwide/target/debug/deps/libeither-8ff107b96bb927c0.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-c710d5dbbc472bf5.rmeta --extern futures_timer=/opt/rustwide/target/debug/deps/libfutures_timer-7d1bcd782e634c42.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-df97b860f7a76404.rmeta --extern libp2prs_core=/opt/rustwide/target/debug/deps/liblibp2prs_core-ba90981b148b68f3.rmeta --extern libp2prs_runtime=/opt/rustwide/target/debug/deps/liblibp2prs_runtime-f057b3302dff8524.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-fbe57397162df1aa.rmeta --extern net2=/opt/rustwide/target/debug/deps/libnet2-5cdd85607c57d055.rmeta --extern nohash_hasher=/opt/rustwide/target/debug/deps/libnohash_hasher-7424ed56b86bcaf1.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-0ae47f63640f9470.rmeta --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-8429ec1d67aff896.rmeta --extern-html-root-url 'data_encoding=https://docs.rs/data-encoding/2.3.2/' --extern-html-root-url 'dns_parser=https://docs.rs/dns-parser/0.8.0/' --extern-html-root-url 'either=https://docs.rs/either/1.6.1/' --extern-html-root-url 'futures=https://docs.rs/futures/0.3.14/' --extern-html-root-url 'futures_timer=https://docs.rs/futures-timer/3.0.2/' --extern-html-root-url 'lazy_static=https://docs.rs/lazy_static/1.4.0/' --extern-html-root-url 'libp2prs_core=https://docs.rs/libp2prs-core/0.3.0/' --extern-html-root-url 'libp2prs_runtime=https://docs.rs/libp2prs-runtime/0.3.0/' --extern-html-root-url 'log=https://docs.rs/log/0.4.14/' --extern-html-root-url 'net2=https://docs.rs/net2/0.2.37/' --extern-html-root-url 'nohash_hasher=https://docs.rs/nohash-hasher/0.2.0/' --extern-html-root-url 'rand=https://docs.rs/rand/0.7.3/' --extern-html-root-url 'smallvec=https://docs.rs/smallvec/1.6.1/' -Zunstable-options --crate-version 0.3.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "68e4b0ec0d256e9b5a88ea5d5880859351910cabc3b1ca7da409065bdb8def19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68e4b0ec0d256e9b5a88ea5d5880859351910cabc3b1ca7da409065bdb8def19", kill_on_drop: false }`
[INFO] [stdout] 68e4b0ec0d256e9b5a88ea5d5880859351910cabc3b1ca7da409065bdb8def19