[INFO] cloning repository https://github.com/anantasty/rust-libp2p-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anantasty/rust-libp2p-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanantasty%2Frust-libp2p-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanantasty%2Frust-libp2p-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7993e468bc1bb2102839338ed327307b667e2bc [INFO] checking anantasty/rust-libp2p-demo against try#77ee4623672f6bca3e33ba60b6479de48d44b1f9 for pr-99217 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanantasty%2Frust-libp2p-demo" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anantasty/rust-libp2p-demo on toolchain 77ee4623672f6bca3e33ba60b6479de48d44b1f9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anantasty/rust-libp2p-demo [INFO] finished tweaking git repo https://github.com/anantasty/rust-libp2p-demo [INFO] tweaked toml for git repo https://github.com/anantasty/rust-libp2p-demo written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/anantasty/rust-libp2p-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23fcaa4ac101c650212b218b7b6866c623046e01d9d7896bd72e027db7b99b9e [INFO] running `Command { std: "docker" "start" "-a" "23fcaa4ac101c650212b218b7b6866c623046e01d9d7896bd72e027db7b99b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23fcaa4ac101c650212b218b7b6866c623046e01d9d7896bd72e027db7b99b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23fcaa4ac101c650212b218b7b6866c623046e01d9d7896bd72e027db7b99b9e", kill_on_drop: false }` [INFO] [stdout] 23fcaa4ac101c650212b218b7b6866c623046e01d9d7896bd72e027db7b99b9e [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=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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+77ee4623672f6bca3e33ba60b6479de48d44b1f9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 719521c4cbf384ae0b4cd12f41ebc5f9a2de482bb9b7daf6a5dee60323e1b29d [INFO] running `Command { std: "docker" "start" "-a" "719521c4cbf384ae0b4cd12f41ebc5f9a2de482bb9b7daf6a5dee60323e1b29d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking signature v1.5.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking asn1_der v0.7.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Checking async-task v4.1.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking dtoa v1.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bimap v0.6.2 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking ed25519 v1.3.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.5.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking uint v0.9.3 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking if-addrs v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking salsa20 v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lru v0.7.2 [INFO] [stderr] Compiling snow v0.8.0 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking cuckoofilter v0.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling open-metrics-client-derive-text-encode v0.1.1 [INFO] [stderr] Compiling libp2p-swarm-derive v0.26.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking open-metrics-client v0.14.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking js-sys v0.3.56 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.29 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking x25519-dalek v1.2.0 [INFO] [stderr] Checking async-std v1.10.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking netlink-sys v0.8.2 [INFO] [stderr] Checking soketto v0.7.1 [INFO] [stderr] Checking yamux v0.10.0 [INFO] [stderr] Checking unsigned-varint v0.7.1 [INFO] [stderr] Checking futures-rustls v0.22.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking multistream-select v0.11.0 [INFO] [stderr] Checking libp2p-pnet v0.22.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.2 [INFO] [stderr] Checking netlink-packet-utils v0.5.1 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking netlink-packet-core v0.4.2 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Checking netlink-packet-route v0.11.0 [INFO] [stderr] Checking netlink-proto v0.9.2 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking rtnetlink v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.20.4 [INFO] [stderr] Checking if-watch v1.0.0 [INFO] [stderr] Checking async-std-resolver v0.20.4 [INFO] [stderr] Compiling libp2p-core v0.31.1 [INFO] [stderr] Compiling libp2p-identify v0.33.0 [INFO] [stderr] Compiling libp2p-kad v0.34.0 [INFO] [stderr] Compiling libp2p-relay v0.6.1 [INFO] [stderr] Compiling libp2p-gossipsub v0.35.0 [INFO] [stderr] Compiling libp2p-floodsub v0.33.0 [INFO] [stderr] Compiling libp2p-noise v0.34.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.3.0 [INFO] [stderr] Compiling libp2p-autonat v0.1.0 [INFO] [stderr] Compiling libp2p-plaintext v0.31.0 [INFO] [stderr] Checking multihash v0.14.0 [INFO] [stderr] Checking multiaddr v0.13.0 [INFO] [stderr] Checking libp2p-swarm v0.33.0 [INFO] [stderr] Checking libp2p-websocket v0.33.0 [INFO] [stderr] Checking libp2p-dns v0.31.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.31.0 [INFO] [stderr] Checking libp2p-mplex v0.31.0 [INFO] [stderr] Checking libp2p-tcp v0.31.1 [INFO] [stderr] Checking libp2p-deflate v0.31.0 [INFO] [stderr] Checking libp2p-uds v0.31.0 [INFO] [stderr] Checking libp2p-yamux v0.35.0 [INFO] [stderr] Checking libp2p-ping v0.33.0 [INFO] [stderr] Checking libp2p-request-response v0.15.0 [INFO] [stderr] Checking libp2p-mdns v0.34.0 [INFO] [stderr] Checking libp2p-metrics v0.3.0 [INFO] [stderr] Checking libp2p v0.42.2 [INFO] [stderr] Checking p2p v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | /// Parse an Ok [MemoResponse] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | / if resp.receiver == PEER_ID.to_string() { [INFO] [stdout] 113 | | info!("Response from sender: {}", msg.source); [INFO] [stdout] 114 | | resp.data.iter().for_each(|r| info!("{:?}", r)); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | ... /// parse [MemoMode::ALL] to display all public memos of peers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | ... /// Handle specific peer response [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | / ... if peer_id == &PEER_ID.to_string(){ [INFO] [stdout] 129 | | ... info!("Received One request: {:?} from {:?}", req, msg.source); [INFO] [stdout] 130 | | ... respond_with_public_memos( [INFO] [stdout] 131 | | ... self.response_sender.clone(), [INFO] [stdout] 132 | | ... msg.source.to_string(), [INFO] [stdout] 133 | | ... ); [INFO] [stdout] 134 | | ... } [INFO] [stdout] | |_______________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | /// Handle the publish request [MemoMode::Publish]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | / MemoMode::Publish => { [INFO] [stdout] 138 | | info!("Received Publish request: {:?} from {:?}", req, msg.source); [INFO] [stdout] 139 | | let memo = req.memo.unwrap(); [INFO] [stdout] 140 | | add_published_memo( [INFO] [stdout] ... | [INFO] [stdout] 144 | | ); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | /// Handle the [MemoMode::PublishResponse] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | / MemoMode::PublishResponse => { [INFO] [stdout] 148 | | info!("Got a publish response: {:?} - {:?}", req, msg.source); [INFO] [stdout] 149 | | [INFO] [stdout] 150 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | /// Take values from stdin line by line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 389 | let mut stdin = tokio::io::BufReader::new(tokio::io::stdin()).lines(); [INFO] [stdout] | ---------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | /// Start the p2p swarm. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 391 | / Swarm::listen_on( [INFO] [stdout] 392 | | &mut swarm, [INFO] [stdout] 393 | | "/ip4/0.0.0.0/tcp/0" [INFO] [stdout] 394 | | .parse() [INFO] [stdout] 395 | | .expect("Can't get socket") [INFO] [stdout] 396 | | ) [INFO] [stdout] 397 | | .expect("Can't start swarm."); [INFO] [stdout] | |_____________________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | /// Parse an Ok [MemoResponse] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | / if resp.receiver == PEER_ID.to_string() { [INFO] [stdout] 113 | | info!("Response from sender: {}", msg.source); [INFO] [stdout] 114 | | resp.data.iter().for_each(|r| info!("{:?}", r)); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `doc` [INFO] [stdout] --> src/main.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | /// handle responses and events [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `tokio::select` [INFO] [stdout] --> src/main.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | tokio::select! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | /// Handle the inputs from stdin. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 422 | / EventType::Input(line) => match line.as_str() { [INFO] [stdout] 423 | | "ls p" => handle_list_peers(&mut swarm).await, [INFO] [stdout] 424 | | cmd if cmd.starts_with("ls m") => handle_list_memos(cmd, &mut swarm).await, [INFO] [stdout] 425 | | cmd if cmd.starts_with("create m") => handle_create_memo(cmd).await, [INFO] [stdout] 426 | | cmd if cmd.starts_with("publish m") => handle_publish_memos(cmd, &mut swarm).await, [INFO] [stdout] 427 | | _ => error!("Invalid command"), [INFO] [stdout] 428 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | ... /// parse [MemoMode::ALL] to display all public memos of peers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | ... /// Handle specific peer response [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | / ... if peer_id == &PEER_ID.to_string(){ [INFO] [stdout] 129 | | ... info!("Received One request: {:?} from {:?}", req, msg.source); [INFO] [stdout] 130 | | ... respond_with_public_memos( [INFO] [stdout] 131 | | ... self.response_sender.clone(), [INFO] [stdout] 132 | | ... msg.source.to_string(), [INFO] [stdout] 133 | | ... ); [INFO] [stdout] 134 | | ... } [INFO] [stdout] | |_______________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | /// Handle the publish request [MemoMode::Publish]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | / MemoMode::Publish => { [INFO] [stdout] 138 | | info!("Received Publish request: {:?} from {:?}", req, msg.source); [INFO] [stdout] 139 | | let memo = req.memo.unwrap(); [INFO] [stdout] 140 | | add_published_memo( [INFO] [stdout] ... | [INFO] [stdout] 144 | | ); [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | /// Handle the [MemoMode::PublishResponse] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | / MemoMode::PublishResponse => { [INFO] [stdout] 148 | | info!("Got a publish response: {:?} - {:?}", req, msg.source); [INFO] [stdout] 149 | | [INFO] [stdout] 150 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | /// Take values from stdin line by line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 389 | let mut stdin = tokio::io::BufReader::new(tokio::io::stdin()).lines(); [INFO] [stdout] | ---------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | /// Start the p2p swarm. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 391 | / Swarm::listen_on( [INFO] [stdout] 392 | | &mut swarm, [INFO] [stdout] 393 | | "/ip4/0.0.0.0/tcp/0" [INFO] [stdout] 394 | | .parse() [INFO] [stdout] 395 | | .expect("Can't get socket") [INFO] [stdout] 396 | | ) [INFO] [stdout] 397 | | .expect("Can't start swarm."); [INFO] [stdout] | |_____________________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `doc` [INFO] [stdout] --> src/main.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | /// handle responses and events [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `tokio::select` [INFO] [stdout] --> src/main.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | tokio::select! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | /// Handle the inputs from stdin. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 422 | / EventType::Input(line) => match line.as_str() { [INFO] [stdout] 423 | | "ls p" => handle_list_peers(&mut swarm).await, [INFO] [stdout] 424 | | cmd if cmd.starts_with("ls m") => handle_list_memos(cmd, &mut swarm).await, [INFO] [stdout] 425 | | cmd if cmd.starts_with("create m") => handle_create_memo(cmd).await, [INFO] [stdout] 426 | | cmd if cmd.starts_with("publish m") => handle_publish_memos(cmd, &mut swarm).await, [INFO] [stdout] 427 | | _ => error!("Invalid command"), [INFO] [stdout] 428 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "719521c4cbf384ae0b4cd12f41ebc5f9a2de482bb9b7daf6a5dee60323e1b29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719521c4cbf384ae0b4cd12f41ebc5f9a2de482bb9b7daf6a5dee60323e1b29d", kill_on_drop: false }` [INFO] [stdout] 719521c4cbf384ae0b4cd12f41ebc5f9a2de482bb9b7daf6a5dee60323e1b29d