[INFO] cloning repository https://github.com/pritamnikam/rust-peer-2-peer-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pritamnikam/rust-peer-2-peer-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpritamnikam%2Frust-peer-2-peer-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpritamnikam%2Frust-peer-2-peer-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4a10057f49e84bba363f1a47492e6d09c65f5c1 [INFO] testing pritamnikam/rust-peer-2-peer-example against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpritamnikam%2Frust-peer-2-peer-example" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pritamnikam/rust-peer-2-peer-example on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pritamnikam/rust-peer-2-peer-example [INFO] finished tweaking git repo https://github.com/pritamnikam/rust-peer-2-peer-example [INFO] tweaked toml for git repo https://github.com/pritamnikam/rust-peer-2-peer-example written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pritamnikam/rust-peer-2-peer-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dad56b41953ee82ec25269ab671903c680ee3b206f36dbc06e5c561fc1d4cf2 [INFO] running `Command { std: "docker" "start" "-a" "2dad56b41953ee82ec25269ab671903c680ee3b206f36dbc06e5c561fc1d4cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dad56b41953ee82ec25269ab671903c680ee3b206f36dbc06e5c561fc1d4cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dad56b41953ee82ec25269ab671903c680ee3b206f36dbc06e5c561fc1d4cf2", kill_on_drop: false }` [INFO] [stdout] 2dad56b41953ee82ec25269ab671903c680ee3b206f36dbc06e5c561fc1d4cf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80a18e92e33ae5969298ab5219bf7fc37940a373dcdbcac6fc8e2579b68e209c [INFO] running `Command { std: "docker" "start" "-a" "80a18e92e33ae5969298ab5219bf7fc37940a373dcdbcac6fc8e2579b68e209c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling value-bag v1.7.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.37 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling asn1_der v0.7.6 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.48/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' -C metadata=896155faff0e95f3 -C extra-filename=-896155faff0e95f3 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-17866bb1735f0e1c.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-7f744db84fede8e5.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-771db5337abf6923.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "80a18e92e33ae5969298ab5219bf7fc37940a373dcdbcac6fc8e2579b68e209c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a18e92e33ae5969298ab5219bf7fc37940a373dcdbcac6fc8e2579b68e209c", kill_on_drop: false }` [INFO] [stdout] 80a18e92e33ae5969298ab5219bf7fc37940a373dcdbcac6fc8e2579b68e209c [INFO] testing pritamnikam/rust-peer-2-peer-example against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpritamnikam%2Frust-peer-2-peer-example" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pritamnikam/rust-peer-2-peer-example on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pritamnikam/rust-peer-2-peer-example [INFO] finished tweaking git repo https://github.com/pritamnikam/rust-peer-2-peer-example [INFO] tweaked toml for git repo https://github.com/pritamnikam/rust-peer-2-peer-example written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pritamnikam/rust-peer-2-peer-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d0c302c0191070135e8a48a4df83d284834e89da2a5f737a4faa3a158d8bd5a [INFO] running `Command { std: "docker" "start" "-a" "0d0c302c0191070135e8a48a4df83d284834e89da2a5f737a4faa3a158d8bd5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d0c302c0191070135e8a48a4df83d284834e89da2a5f737a4faa3a158d8bd5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0c302c0191070135e8a48a4df83d284834e89da2a5f737a4faa3a158d8bd5a", kill_on_drop: false }` [INFO] [stdout] 0d0c302c0191070135e8a48a4df83d284834e89da2a5f737a4faa3a158d8bd5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32710b84bce425ed3c475773de505522d689ecf868ef834c3f025378ec438a58 [INFO] running `Command { std: "docker" "start" "-a" "32710b84bce425ed3c475773de505522d689ecf868ef834c3f025378ec438a58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling value-bag v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling winnow v0.5.37 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling asn1_der v0.7.6 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling if-watch v0.2.2 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling salsa20 v0.8.1 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling cuckoofilter v0.5.0 [INFO] [stderr] Compiling if-addrs v0.6.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling parity-send-wrapper v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling minicbor-derive v0.6.4 [INFO] [stderr] Compiling libp2p-swarm-derive v0.24.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-rustls v0.21.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Compiling polling v3.3.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling async-io v2.3.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling x25519-dalek v1.2.0 [INFO] [stderr] Compiling minicbor v0.8.1 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling js-sys v0.3.67 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling snow v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling trust-dns-proto v0.20.4 [INFO] [stderr] Compiling libp2p-core v0.29.0 [INFO] [stderr] Compiling libp2p-noise v0.32.0 [INFO] [stderr] Compiling libp2p-identify v0.30.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.32.0 [INFO] [stderr] Compiling libp2p-kad v0.31.0 [INFO] [stderr] Compiling libp2p-relay v0.3.0 [INFO] [stderr] Compiling libp2p-floodsub v0.30.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling multihash v0.14.0 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling libp2p-plaintext v0.29.0 [INFO] [stderr] Compiling yamux v0.9.0 [INFO] [stderr] Compiling soketto v0.4.2 [INFO] [stderr] Compiling libp2p-pnet v0.21.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.40 [INFO] [stderr] Compiling trust-dns-resolver v0.20.4 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling multiaddr v0.13.0 [INFO] [stderr] Compiling async-std-resolver v0.20.4 [INFO] [stderr] Compiling libp2p-swarm v0.30.0 [INFO] [stderr] Compiling libp2p-dns v0.29.0 [INFO] [stderr] Compiling libp2p-yamux v0.33.0 [INFO] [stderr] Compiling libp2p-deflate v0.29.0 [INFO] [stderr] Compiling libp2p-wasm-ext v0.29.0 [INFO] [stderr] Compiling libp2p-uds v0.29.0 [INFO] [stderr] Compiling libp2p-mplex v0.29.0 [INFO] [stderr] Compiling libp2p-tcp v0.29.0 [INFO] [stderr] Compiling libp2p-websocket v0.30.0 [INFO] [stderr] Compiling libp2p-ping v0.30.0 [INFO] [stderr] Compiling libp2p-mdns v0.31.0 [INFO] [stderr] Compiling libp2p-request-response v0.12.0 [INFO] [stderr] Compiling libp2p v0.39.1 [INFO] [stderr] Compiling rust-p2p-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | /// We initialize logging and create an async channel to communicate between different parts of the application. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pretty_env_logger::init(); [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | /// A transport is a set of network protocols that enables connection-oriented communication between peers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | / let transp = TokioTcpConfig::new() [INFO] [stdout] 89 | | .upgrade(upgrade::Version::V1) [INFO] [stdout] 90 | | .authenticate(NoiseConfig::xx(auth_keys).into_authenticated()) [INFO] [stdout] 91 | | .multiplex(mplex::MplexConfig::new()) [INFO] [stdout] 92 | | .boxed(); [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:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | /// The next concept is a NetworkBehaviour. This is the part within libp2p that actually defines the logic of the network and all peers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | / let mut behaviour = RecipeBehaviour { [INFO] [stdout] 96 | | floodsub: Floodsub::new(PEER_ID.clone()), [INFO] [stdout] 97 | | mdns: Mdns::new(Default::default()) [INFO] [stdout] 98 | | .await [INFO] [stdout] 99 | | .expect("can create mdns"), [INFO] [stdout] 100 | | response_sender, [INFO] [stdout] 101 | | }; [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:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | /// A Swarm manages the connections created using the transport and executes the network behavior we created, triggering and receiving events [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | /// and giving us a way to get to them from the outside. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | /// We create the Swarm with our transport, behavior, and peer ID. The executor part simply tells the Swarm to use the Tokio runtime to run [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | /// internally, but we could also use other async runtimes here. [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | /// internally, but we could also use other async runtimes here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | /// defined an async reader on STDIN, which reads the stream line by line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | /// So if we press enter, there will be a new incoming message. [INFO] [stdout] 118 | 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:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | /// So if we press enter, there will be a new incoming message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | 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:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | /// The only thing left to do is to start our Swarm [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | / Swarm::listen_on( [INFO] [stdout] 122 | | &mut swarm, [INFO] [stdout] 123 | | "/ip4/0.0.0.0/tcp/0" [INFO] [stdout] 124 | | .parse() [INFO] [stdout] 125 | | .expect("can get a local socket"), [INFO] [stdout] 126 | | ) [INFO] [stdout] 127 | | .expect("swarm can be started"); [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:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | /// The next part is to create our event loop, which will listen to events from STDIN, from the Swarm, and from our response channel defined above. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | / loop { [INFO] [stdout] 131 | | let evt = { [INFO] [stdout] 132 | | tokio::select! { [INFO] [stdout] 133 | | line = stdin.next_line() => Some(EventType::Input(line.expect("can get line").expect("can read line from stdin"))), [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [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:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / /// Let's add some event handling logic: [INFO] [stdout] 143 | | /// [INFO] [stdout] 144 | | /// If there is an event, we match on it and see if it’s a Response or an Input event. Let’s look at the Input events only for n... [INFO] [stdout] 145 | | /// [INFO] [stdout] ... | [INFO] [stdout] 151 | | /// publish r {recipeId} publishes a given recipe [INFO] [stdout] 152 | | /// create r {recipeName}|{recipeIngredients}|{recipeInstructions creates a new recipe with the given data and an incrementing ID [INFO] [stdout] | |_________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 153 | / if let Some(event) = evt { [INFO] [stdout] 154 | | match event { [INFO] [stdout] 155 | | EventType::Response(resp) => { [INFO] [stdout] 156 | | let json = serde_json::to_string(&resp).expect("can jsonify response"); [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snow v0.8.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "32710b84bce425ed3c475773de505522d689ecf868ef834c3f025378ec438a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32710b84bce425ed3c475773de505522d689ecf868ef834c3f025378ec438a58", kill_on_drop: false }` [INFO] [stdout] 32710b84bce425ed3c475773de505522d689ecf868ef834c3f025378ec438a58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54e7a238e5bf545d438bf21f92e9b93281ae656f6040042828a5fd13f04307db [INFO] running `Command { std: "docker" "start" "-a" "54e7a238e5bf545d438bf21f92e9b93281ae656f6040042828a5fd13f04307db", kill_on_drop: false }` [INFO] [stderr] Compiling rust-p2p-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | /// We initialize logging and create an async channel to communicate between different parts of the application. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pretty_env_logger::init(); [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | /// A transport is a set of network protocols that enables connection-oriented communication between peers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | / let transp = TokioTcpConfig::new() [INFO] [stdout] 89 | | .upgrade(upgrade::Version::V1) [INFO] [stdout] 90 | | .authenticate(NoiseConfig::xx(auth_keys).into_authenticated()) [INFO] [stdout] 91 | | .multiplex(mplex::MplexConfig::new()) [INFO] [stdout] 92 | | .boxed(); [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:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | /// The next concept is a NetworkBehaviour. This is the part within libp2p that actually defines the logic of the network and all peers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | / let mut behaviour = RecipeBehaviour { [INFO] [stdout] 96 | | floodsub: Floodsub::new(PEER_ID.clone()), [INFO] [stdout] 97 | | mdns: Mdns::new(Default::default()) [INFO] [stdout] 98 | | .await [INFO] [stdout] 99 | | .expect("can create mdns"), [INFO] [stdout] 100 | | response_sender, [INFO] [stdout] 101 | | }; [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:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | /// A Swarm manages the connections created using the transport and executes the network behavior we created, triggering and receiving events [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | /// and giving us a way to get to them from the outside. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | /// We create the Swarm with our transport, behavior, and peer ID. The executor part simply tells the Swarm to use the Tokio runtime to run [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | /// internally, but we could also use other async runtimes here. [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | /// internally, but we could also use other async runtimes here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stdout] 111 | | .executor(Box::new(|fut| { [INFO] [stdout] 112 | | tokio::spawn(fut); [INFO] [stdout] 113 | | })) [INFO] [stdout] 114 | | .build(); [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:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | /// defined an async reader on STDIN, which reads the stream line by line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | /// So if we press enter, there will be a new incoming message. [INFO] [stdout] 118 | 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:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | /// So if we press enter, there will be a new incoming message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 118 | 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:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | /// The only thing left to do is to start our Swarm [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | / Swarm::listen_on( [INFO] [stdout] 122 | | &mut swarm, [INFO] [stdout] 123 | | "/ip4/0.0.0.0/tcp/0" [INFO] [stdout] 124 | | .parse() [INFO] [stdout] 125 | | .expect("can get a local socket"), [INFO] [stdout] 126 | | ) [INFO] [stdout] 127 | | .expect("swarm can be started"); [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:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | /// The next part is to create our event loop, which will listen to events from STDIN, from the Swarm, and from our response channel defined above. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | / loop { [INFO] [stdout] 131 | | let evt = { [INFO] [stdout] 132 | | tokio::select! { [INFO] [stdout] 133 | | line = stdin.next_line() => Some(EventType::Input(line.expect("can get line").expect("can read line from stdin"))), [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [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:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / /// Let's add some event handling logic: [INFO] [stdout] 143 | | /// [INFO] [stdout] 144 | | /// If there is an event, we match on it and see if it’s a Response or an Input event. Let’s look at the Input events only for n... [INFO] [stdout] 145 | | /// [INFO] [stdout] ... | [INFO] [stdout] 151 | | /// publish r {recipeId} publishes a given recipe [INFO] [stdout] 152 | | /// create r {recipeName}|{recipeIngredients}|{recipeInstructions creates a new recipe with the given data and an incrementing ID [INFO] [stdout] | |_________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 153 | / if let Some(event) = evt { [INFO] [stdout] 154 | | match event { [INFO] [stdout] 155 | | EventType::Response(resp) => { [INFO] [stdout] 156 | | let json = serde_json::to_string(&resp).expect("can jsonify response"); [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snow v0.8.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "54e7a238e5bf545d438bf21f92e9b93281ae656f6040042828a5fd13f04307db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e7a238e5bf545d438bf21f92e9b93281ae656f6040042828a5fd13f04307db", kill_on_drop: false }` [INFO] [stdout] 54e7a238e5bf545d438bf21f92e9b93281ae656f6040042828a5fd13f04307db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d8e4daea1a5cef4d0ce8b665956ff13c873f64f9fb2e78dcb197b83c4a9b688e [INFO] running `Command { std: "docker" "start" "-a" "d8e4daea1a5cef4d0ce8b665956ff13c873f64f9fb2e78dcb197b83c4a9b688e", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | /// We initialize logging and create an async channel to communicate between different parts of the application. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 78 | pretty_env_logger::init(); [INFO] [stderr] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | /// A transport is a set of network protocols that enables connection-oriented communication between peers. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 88 | / let transp = TokioTcpConfig::new() [INFO] [stderr] 89 | | .upgrade(upgrade::Version::V1) [INFO] [stderr] 90 | | .authenticate(NoiseConfig::xx(auth_keys).into_authenticated()) [INFO] [stderr] 91 | | .multiplex(mplex::MplexConfig::new()) [INFO] [stderr] 92 | | .boxed(); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | /// The next concept is a NetworkBehaviour. This is the part within libp2p that actually defines the logic of the network and all peers. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 95 | / let mut behaviour = RecipeBehaviour { [INFO] [stderr] 96 | | floodsub: Floodsub::new(PEER_ID.clone()), [INFO] [stderr] 97 | | mdns: Mdns::new(Default::default()) [INFO] [stderr] 98 | | .await [INFO] [stderr] 99 | | .expect("can create mdns"), [INFO] [stderr] 100 | | response_sender, [INFO] [stderr] 101 | | }; [INFO] [stderr] | |______- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | /// A Swarm manages the connections created using the transport and executes the network behavior we created, triggering and receiving events [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stderr] 111 | | .executor(Box::new(|fut| { [INFO] [stderr] 112 | | tokio::spawn(fut); [INFO] [stderr] 113 | | })) [INFO] [stderr] 114 | | .build(); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | /// and giving us a way to get to them from the outside. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stderr] 111 | | .executor(Box::new(|fut| { [INFO] [stderr] 112 | | tokio::spawn(fut); [INFO] [stderr] 113 | | })) [INFO] [stderr] 114 | | .build(); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | /// [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stderr] 111 | | .executor(Box::new(|fut| { [INFO] [stderr] 112 | | tokio::spawn(fut); [INFO] [stderr] 113 | | })) [INFO] [stderr] 114 | | .build(); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | /// We create the Swarm with our transport, behavior, and peer ID. The executor part simply tells the Swarm to use the Tokio runtime to run [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 109 | /// internally, but we could also use other async runtimes here. [INFO] [stderr] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stderr] 111 | | .executor(Box::new(|fut| { [INFO] [stderr] 112 | | tokio::spawn(fut); [INFO] [stderr] 113 | | })) [INFO] [stderr] 114 | | .build(); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | /// internally, but we could also use other async runtimes here. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 110 | / let mut swarm = SwarmBuilder::new(transp, behaviour, PEER_ID.clone()) [INFO] [stderr] 111 | | .executor(Box::new(|fut| { [INFO] [stderr] 112 | | tokio::spawn(fut); [INFO] [stderr] 113 | | })) [INFO] [stderr] 114 | | .build(); [INFO] [stderr] | |_________________- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | /// defined an async reader on STDIN, which reads the stream line by line. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 117 | /// So if we press enter, there will be a new incoming message. [INFO] [stderr] 118 | let mut stdin = tokio::io::BufReader::new(tokio::io::stdin()).lines(); [INFO] [stderr] | ---------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | /// So if we press enter, there will be a new incoming message. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 118 | let mut stdin = tokio::io::BufReader::new(tokio::io::stdin()).lines(); [INFO] [stderr] | ---------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | /// The only thing left to do is to start our Swarm [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 121 | / Swarm::listen_on( [INFO] [stderr] 122 | | &mut swarm, [INFO] [stderr] 123 | | "/ip4/0.0.0.0/tcp/0" [INFO] [stderr] 124 | | .parse() [INFO] [stderr] 125 | | .expect("can get a local socket"), [INFO] [stderr] 126 | | ) [INFO] [stderr] 127 | | .expect("swarm can be started"); [INFO] [stderr] | |___________________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | /// The next part is to create our event loop, which will listen to events from STDIN, from the Swarm, and from our response channel defined above. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 130 | / loop { [INFO] [stderr] 131 | | let evt = { [INFO] [stderr] 132 | | tokio::select! { [INFO] [stderr] 133 | | line = stdin.next_line() => Some(EventType::Input(line.expect("can get line").expect("can read line from stdin"))), [INFO] [stderr] ... | [INFO] [stderr] 170 | | } [INFO] [stderr] 171 | | } [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | / /// Let's add some event handling logic: [INFO] [stderr] 143 | | /// [INFO] [stderr] 144 | | /// If there is an event, we match on it and see if it’s a Response or an Input event. Let’s look at the Input events only for n... [INFO] [stderr] 145 | | /// [INFO] [stderr] ... | [INFO] [stderr] 151 | | /// publish r {recipeId} publishes a given recipe [INFO] [stderr] 152 | | /// create r {recipeName}|{recipeIngredients}|{recipeInstructions creates a new recipe with the given data and an incrementing ID [INFO] [stderr] | |_________________________________________________________________________________________________________________________________________^ [INFO] [stderr] 153 | / if let Some(event) = evt { [INFO] [stderr] 154 | | match event { [INFO] [stderr] 155 | | EventType::Response(resp) => { [INFO] [stderr] 156 | | let json = serde_json::to_string(&resp).expect("can jsonify response"); [INFO] [stderr] ... | [INFO] [stderr] 169 | | } [INFO] [stderr] 170 | | } [INFO] [stderr] | |_________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: `rust-p2p-example` (bin "rust-p2p-example" test) generated 13 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snow v0.8.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_p2p_example-fd10a66fdd741459) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d8e4daea1a5cef4d0ce8b665956ff13c873f64f9fb2e78dcb197b83c4a9b688e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e4daea1a5cef4d0ce8b665956ff13c873f64f9fb2e78dcb197b83c4a9b688e", kill_on_drop: false }` [INFO] [stdout] d8e4daea1a5cef4d0ce8b665956ff13c873f64f9fb2e78dcb197b83c4a9b688e