libp2p-kad 0.13.1

Kademlia protocol for libp2p
Documentation
Build #198371 2019-11-13T14:03:41.206896+00:00
# rustc version
rustc 1.40.0-nightly (4f03f4a98 2019-11-12)# docs.rs version
docsrs 0.6.0 (ba87ff2 2019-11-11)# build log
[INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/libp2p-kad-0.13.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libp2p-kad-0.13.1/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" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20191112-1.40.0-nightly-4f03f4a98 --static-root-path / --disable-per-crate-search --extern-html-root-url libp2p_secio=https://docs.rs/libp2p-secio/0.13.0 --extern-html-root-url rand=https://docs.rs/rand/0.7.2 --extern-html-root-url smallvec=https://docs.rs/smallvec/0.6.13 --extern-html-root-url tokio_io=https://docs.rs/tokio-io/0.1.12 --extern-html-root-url log=https://docs.rs/log/0.4.8 --extern-html-root-url futures=https://docs.rs/futures/0.1.29 --extern-html-root-url sha2=https://docs.rs/sha2/0.8.0 --extern-html-root-url void=https://docs.rs/void/1.0.2 --extern-html-root-url parity_multiaddr=https://docs.rs/parity-multiaddr/0.6.0 --extern-html-root-url libp2p_tcp=https://docs.rs/libp2p-tcp/0.13.0 --extern-html-root-url fnv=https://docs.rs/fnv/1.0.6 --extern-html-root-url uint=https://docs.rs/uint/0.8.2 --extern-html-root-url protobuf=https://docs.rs/protobuf/2.8.1 --extern-html-root-url either=https://docs.rs/either/1.5.3 --extern-html-root-url bytes=https://docs.rs/bytes/0.4.12 --extern-html-root-url quickcheck=https://docs.rs/quickcheck/0.9.0 --extern-html-root-url tokio_codec=https://docs.rs/tokio-codec/0.1.1 --extern-html-root-url libp2p_swarm=https://docs.rs/libp2p-swarm/0.3.0 --extern-html-root-url tokio=https://docs.rs/tokio/0.1.22 --extern-html-root-url wasm_timer=https://docs.rs/wasm-timer/0.1.3 --extern-html-root-url parity_multihash=https://docs.rs/parity-multihash/0.2.0 --extern-html-root-url libp2p_core=https://docs.rs/libp2p-core/0.13.1 --extern-html-root-url libp2p_yamux=https://docs.rs/libp2p-yamux/0.13.0 --extern-html-root-url unsigned_varint=https://docs.rs/unsigned-varint/0.2.3 --extern-html-root-url arrayvec=https://docs.rs/arrayvec/0.5.1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3c238aa29e738677bded4a4e3c03c4a192b815c582f9b1dbb94b48a6f329c51d
[INFO] running `"docker" "start" "-a" "3c238aa29e738677bded4a4e3c03c4a192b815c582f9b1dbb94b48a6f329c51d"`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling cc v1.0.47
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling syn v1.0.8
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling subtle v2.2.1
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling serde v1.0.102
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking arrayref v0.3.5
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling protobuf v2.8.1
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking data-encoding v2.1.2
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking bs58 v0.3.0
[INFO] [stderr]     Checking untrusted v0.7.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking zeroize v1.0.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking rustc-hex v2.0.1
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling clear_on_drop v0.2.3
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling ring v0.16.9
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking lock_api v0.3.1
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking tokio-executor v0.1.8
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking tokio-timer v0.2.11
[INFO] [stderr]     Checking uint v0.8.2
[INFO] [stderr]     Checking unicode-normalization v0.1.9
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking backtrace v0.3.40
[INFO] [stderr]     Checking wasm-timer v0.1.3
[INFO] [stderr]     Checking tokio-io v0.1.12
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking sha2 v0.8.0
[INFO] [stderr]     Checking sha3 v0.8.2
[INFO] [stderr]     Checking sha-1 v0.8.1
[INFO] [stderr]     Checking blake2 v0.8.1
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]    Compiling curve25519-dalek v1.2.3
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking rw-stream-sink v0.1.2
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking url v2.1.0
[INFO] [stderr]     Checking hmac-drbg v0.2.0
[INFO] [stderr]     Checking unsigned-varint v0.2.3
[INFO] [stderr]     Checking libsecp256k1 v0.3.2
[INFO] [stderr]     Checking parity-multihash v0.2.0
[INFO] [stderr]     Checking multistream-select v0.6.0
[INFO] [stderr]     Checking parity-multiaddr v0.6.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling asn1_der_derive v0.1.2
[INFO] [stderr]     Checking asn1_der v0.6.3
[INFO] [stderr]     Checking failure v0.1.6
[INFO] [stderr]     Checking ed25519-dalek v1.0.0-pre.2
[INFO] [stderr]     Checking libp2p-core v0.13.1
[INFO] [stderr]     Checking libp2p-swarm v0.3.0
[INFO] [stderr]  Documenting libp2p-kad v0.13.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: `[Kademlia::poll]` cannot be resolved, ignoring it...
[INFO] [stderr]     --> src/behaviour.rs:1443:10
[INFO] [stderr]      |
[INFO] [stderr] 1443 | /// See [`Kademlia::poll`].
[INFO] [stderr]      |          ^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(intra_doc_link_resolution_failure)]` on by default
[INFO] [stderr]      = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[kbucket::KBucketsTable]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/kbucket.rs:38:24
[INFO] [stderr]    |
[INFO] [stderr] 38 | //! [`KBucketsTable`]: kbucket::KBucketsTable
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[kbucket::PendingEntry]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/kbucket.rs:40:23
[INFO] [stderr]    |
[INFO] [stderr] 40 | //! [`PendingEntry`]: kbucket::PendingEntry
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[kbucket::AppliedPending]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/kbucket.rs:37:25
[INFO] [stderr]    |
[INFO] [stderr] 37 | //! [`AppliedPending`]: kbucket::AppliedPending
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[kbucket::KBucketsTable::take_applied_pending]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/kbucket.rs:39:31
[INFO] [stderr]    |
[INFO] [stderr] 39 | //! [`take_applied_pending`]: kbucket::KBucketsTable::take_applied_pending
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[kbucket::KBucketsTable::entry]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/kbucket.rs:35:16
[INFO] [stderr]    |
[INFO] [stderr] 35 | //! [`entry`]: kbucket::KBucketsTable::entry
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[kbucket::KBucketsTable::closest]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/kbucket.rs:36:18
[INFO] [stderr]    |
[INFO] [stderr] 36 | //! [`closest`]: kbucket::KBucketsTable::closest
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[Key::from_distance]` cannot be resolved, ignoring it...
[INFO] [stderr]    --> src/kbucket.rs:472:61
[INFO] [stderr]     |
[INFO] [stderr] 472 |     /// rise to a random key falling into this bucket. See [`Key::from_distance`].
[INFO] [stderr]     |                                                             ^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[protocol::KademliaProtocolConfig]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/protocol.rs:29:33
[INFO] [stderr]    |
[INFO] [stderr] 29 | //! [`KademliaProtocolConfig`]: protocol::KademliaProtocolConfig
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[protocol::KadRequestMsg]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/protocol.rs:30:24
[INFO] [stderr]    |
[INFO] [stderr] 30 | //! [`KadRequestMsg`]: protocol::KadRequestMsg
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[protocol::KadResponseMsg]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/protocol.rs:31:25
[INFO] [stderr]    |
[INFO] [stderr] 31 | //! [`KadResponseMsg`]: protocol::KadResponseMsg
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[Kademlia::poll]` cannot be resolved, ignoring it...
[INFO] [stderr]     --> src/behaviour.rs:1443:10
[INFO] [stderr]      |
[INFO] [stderr] 1443 | /// See [`Kademlia::poll`].
[INFO] [stderr]      |          ^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]      |
[INFO] [stderr]      = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[KademliaEvent::AddProviderResult]` cannot be resolved, ignoring it...
[INFO] [stderr]    --> src/behaviour.rs:479:23
[INFO] [stderr]     |
[INFO] [stderr] 479 |     /// delivered in [`KademliaEvent::AddProviderResult`].
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[jobs::PutRecordJob]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/jobs.rs:44:10
[INFO] [stderr]    |
[INFO] [stderr] 44 | //!   * [`jobs::PutRecordJob`]: For (re-)publication and (re-)replication of
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[jobs::AddProviderJob]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/jobs.rs:47:10
[INFO] [stderr]    |
[INFO] [stderr] 47 | //!   * [`jobs::AddProviderJob`]: For (re-)publication of provider records.
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `[peers::PeersIterState::Finished]` cannot be resolved, ignoring it...
[INFO] [stderr]   --> src/query/peers.rs:39:19
[INFO] [stderr]    |
[INFO] [stderr] 39 | //! [`Finished`]: peers::PeersIterState::Finished
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 47.97s
[INFO] running `"docker" "inspect" "3c238aa29e738677bded4a4e3c03c4a192b815c582f9b1dbb94b48a6f329c51d"`
[INFO] running `"docker" "rm" "-f" "3c238aa29e738677bded4a4e3c03c4a192b815c582f9b1dbb94b48a6f329c51d"`
[INFO] [stdout] 3c238aa29e738677bded4a4e3c03c4a192b815c582f9b1dbb94b48a6f329c51d