[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] building anantasty/rust-libp2p-demo against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanantasty%2Frust-libp2p-demo" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anantasty/rust-libp2p-demo on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "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-1/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" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80ab76f414c1d5e518285a88aa4ac07665ba1730d8ac5bf9b7c4a5572bc9075f [INFO] running `Command { std: "docker" "start" "-a" "80ab76f414c1d5e518285a88aa4ac07665ba1730d8ac5bf9b7c4a5572bc9075f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80ab76f414c1d5e518285a88aa4ac07665ba1730d8ac5bf9b7c4a5572bc9075f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ab76f414c1d5e518285a88aa4ac07665ba1730d8ac5bf9b7c4a5572bc9075f", kill_on_drop: false }` [INFO] [stdout] 80ab76f414c1d5e518285a88aa4ac07665ba1730d8ac5bf9b7c4a5572bc9075f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e288b6587e1553a4c5baec822d40f570d4e4e0799b3f66e44b0fc4f89a7384f [INFO] running `Command { std: "docker" "start" "-a" "5e288b6587e1553a4c5baec822d40f570d4e4e0799b3f66e44b0fc4f89a7384f", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling asn1_der v0.7.5 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling quick-error v1.2.3 [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 pkg-config v0.3.24 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling dtoa v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling bimap v0.6.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling parity-send-wrapper v0.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling instant v0.1.12 [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] Compiling itertools v0.10.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling if-addrs v0.7.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling salsa20 v0.9.0 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lru v0.7.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling snow v0.8.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [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 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 hmac-drbg v0.3.0 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling cuckoofilter v0.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling open-metrics-client v0.14.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.2 [INFO] [stderr] Compiling netlink-packet-utils v0.5.1 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling asynchronous-codec v0.6.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling trust-dns-proto v0.20.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling netlink-packet-core v0.4.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling netlink-packet-route v0.11.0 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling yamux v0.10.0 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling libp2p-pnet v0.22.0 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling x25519-dalek v1.2.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling netlink-sys v0.8.2 [INFO] [stderr] Compiling trust-dns-resolver v0.20.4 [INFO] [stderr] Compiling futures-rustls v0.22.0 [INFO] [stderr] Compiling multihash v0.14.0 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling libp2p-core v0.31.1 [INFO] [stderr] Compiling libp2p-relay v0.6.1 [INFO] [stderr] Compiling libp2p-gossipsub v0.35.0 [INFO] [stderr] Compiling libp2p-kad v0.34.0 [INFO] [stderr] Compiling libp2p-identify v0.33.0 [INFO] [stderr] Compiling libp2p-plaintext v0.31.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.3.0 [INFO] [stderr] Compiling libp2p-noise v0.34.0 [INFO] [stderr] Compiling libp2p-floodsub v0.33.0 [INFO] [stderr] Compiling libp2p-autonat v0.1.0 [INFO] [stderr] Compiling netlink-proto v0.9.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling multiaddr v0.13.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.29 [INFO] [stderr] Compiling rtnetlink v0.9.1 [INFO] [stderr] Compiling async-std-resolver v0.20.4 [INFO] [stderr] Compiling if-watch v1.0.0 [INFO] [stderr] Compiling libp2p-swarm v0.33.0 [INFO] [stderr] Compiling libp2p-mplex v0.31.0 [INFO] [stderr] Compiling libp2p-uds v0.31.0 [INFO] [stderr] Compiling libp2p-yamux v0.35.0 [INFO] [stderr] Compiling libp2p-wasm-ext v0.31.0 [INFO] [stderr] Compiling libp2p-deflate v0.31.0 [INFO] [stderr] Compiling libp2p-websocket v0.33.0 [INFO] [stderr] Compiling libp2p-dns v0.31.0 [INFO] [stderr] Compiling libp2p-tcp v0.31.1 [INFO] [stderr] Compiling libp2p-ping v0.33.0 [INFO] [stderr] Compiling libp2p-request-response v0.15.0 [INFO] [stderr] Compiling libp2p-mdns v0.34.0 [INFO] [stderr] Compiling libp2p-metrics v0.3.0 [INFO] [stderr] Compiling libp2p v0.42.2 [INFO] [stderr] Compiling 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 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "5e288b6587e1553a4c5baec822d40f570d4e4e0799b3f66e44b0fc4f89a7384f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e288b6587e1553a4c5baec822d40f570d4e4e0799b3f66e44b0fc4f89a7384f", kill_on_drop: false }` [INFO] [stdout] 5e288b6587e1553a4c5baec822d40f570d4e4e0799b3f66e44b0fc4f89a7384f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50f38ed18afd0cfa0f8c2fd47d368f653d403ef102f5742b3f0ec95d8f0fe3ac [INFO] running `Command { std: "docker" "start" "-a" "50f38ed18afd0cfa0f8c2fd47d368f653d403ef102f5742b3f0ec95d8f0fe3ac", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "50f38ed18afd0cfa0f8c2fd47d368f653d403ef102f5742b3f0ec95d8f0fe3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f38ed18afd0cfa0f8c2fd47d368f653d403ef102f5742b3f0ec95d8f0fe3ac", kill_on_drop: false }` [INFO] [stdout] 50f38ed18afd0cfa0f8c2fd47d368f653d403ef102f5742b3f0ec95d8f0fe3ac