[INFO] fetching crate libp2p-episub 0.1.13...
[INFO] testing libp2p-episub-0.1.13 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate libp2p-episub 0.1.13 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate libp2p-episub 0.1.13 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-episub 0.1.13
[INFO] finished tweaking crates.io crate libp2p-episub 0.1.13
[INFO] tweaked toml for crates.io crate libp2p-episub 0.1.13 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 189 packages to latest compatible versions
[INFO] [stderr]       Adding asynchronous-codec v0.6.2 (available: v0.7.0)
[INFO] [stderr]       Adding libp2p-core v0.31.1 (available: v0.42.0)
[INFO] [stderr]       Adding libp2p-swarm v0.33.0 (available: v0.45.1)
[INFO] [stderr]       Adding multiaddr v0.13.0 (available: v0.18.2)
[INFO] [stderr]       Adding prost v0.9.0 (available: v0.13.3)
[INFO] [stderr]       Adding prost-build v0.9.0 (available: v0.13.3)
[INFO] [stderr]       Adding signature v1.4.0 (available: v1.6.4)
[INFO] [stderr]       Adding subtle v2.4.1 (available: v2.6.1)
[INFO] [stderr]       Adding unsigned-varint v0.7.2 (available: v0.8.0)
[INFO] [stderr]       Adding zeroize v1.3.0 (available: v1.8.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded multiaddr v0.13.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.33.0
[INFO] [stderr]   Downloaded sec1 v0.2.1
[INFO] [stderr]   Downloaded rw-stream-sink v0.2.1
[INFO] [stderr]   Downloaded multihash-derive v0.7.2
[INFO] [stderr]   Downloaded rfc6979 v0.1.0
[INFO] [stderr]   Downloaded ff v0.11.1
[INFO] [stderr]   Downloaded multistream-select v0.11.0
[INFO] [stderr]   Downloaded multihash v0.14.0
[INFO] [stderr]   Downloaded elliptic-curve v0.11.12
[INFO] [stderr]   Downloaded signature v1.4.0
[INFO] [stderr]   Downloaded libp2p-core v0.31.1
[INFO] [stderr]   Downloaded ecdsa v0.13.4
[INFO] [stderr]   Downloaded group v0.11.0
[INFO] [stderr]   Downloaded p256 v0.10.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 64d6c41d2df2396babd800cd29972cad3ce2c2d18988bf9c4b8b22de07b7c8fa
[INFO] running `Command { std: "docker" "start" "-a" "64d6c41d2df2396babd800cd29972cad3ce2c2d18988bf9c4b8b22de07b7c8fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64d6c41d2df2396babd800cd29972cad3ce2c2d18988bf9c4b8b22de07b7c8fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64d6c41d2df2396babd800cd29972cad3ce2c2d18988bf9c4b8b22de07b7c8fa", kill_on_drop: false }`
[INFO] [stdout] 64d6c41d2df2396babd800cd29972cad3ce2c2d18988bf9c4b8b22de07b7c8fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0581ed8e3699c87b9d0e9a9c53c5707d250efb1860f60c0475d18de95962bd7b
[INFO] running `Command { std: "docker" "start" "-a" "0581ed8e3699c87b9d0e9a9c53c5707d250efb1860f60c0475d18de95962bd7b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling ff v0.11.1
[INFO] [stderr]    Compiling signature v1.4.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling group v0.11.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling asn1_der v0.7.6
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling sec1 v0.2.1
[INFO] [stderr]    Compiling multihash-derive v0.7.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling elliptic-curve v0.11.12
[INFO] [stderr]    Compiling rfc6979 v0.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]    Compiling ecdsa v0.13.4
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling p256 v0.10.1
[INFO] [stderr]    Compiling prost-types v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pin-project v0.4.30
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling libp2p-core v0.31.1
[INFO] [stderr]    Compiling libp2p-episub v0.1.13 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling asynchronous-codec v0.6.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling unsigned-varint v0.7.2
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling rw-stream-sink v0.2.1
[INFO] [stderr]    Compiling multihash v0.14.0
[INFO] [stderr]    Compiling multistream-select v0.11.0
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling multiaddr v0.13.0
[INFO] [stderr]    Compiling libp2p-swarm v0.33.0
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.81s
[INFO] running `Command { std: "docker" "inspect" "0581ed8e3699c87b9d0e9a9c53c5707d250efb1860f60c0475d18de95962bd7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0581ed8e3699c87b9d0e9a9c53c5707d250efb1860f60c0475d18de95962bd7b", kill_on_drop: false }`
[INFO] [stdout] 0581ed8e3699c87b9d0e9a9c53c5707d250efb1860f60c0475d18de95962bd7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc6c36408acddf03bda0befaed7e3a9064136483a2803ecaef08d6fa1cc494c2
[INFO] running `Command { std: "docker" "start" "-a" "cc6c36408acddf03bda0befaed7e3a9064136483a2803ecaef08d6fa1cc494c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libp2p-episub v0.1.13 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s
[INFO] running `Command { std: "docker" "inspect" "cc6c36408acddf03bda0befaed7e3a9064136483a2803ecaef08d6fa1cc494c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc6c36408acddf03bda0befaed7e3a9064136483a2803ecaef08d6fa1cc494c2", kill_on_drop: false }`
[INFO] [stdout] cc6c36408acddf03bda0befaed7e3a9064136483a2803ecaef08d6fa1cc494c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 675bf458117adb51fba7d4dc66d51dc3372b282cd5e6de28bbe9f6dcdfb8b497
[INFO] running `Command { std: "docker" "start" "-a" "675bf458117adb51fba7d4dc66d51dc3372b282cd5e6de28bbe9f6dcdfb8b497", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libp2p_episub-53acebe4c1bc97a6)
[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] [stderr]    Doc-tests libp2p_episub
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 18) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 18) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `while`
[INFO] [stdout]   --> src/lib.rs:33:31
[INFO] [stdout]    |
[INFO] [stdout] 17 | swarm.dial(bootstrap).unwrap()
[INFO] [stdout]    |                               ^ help: add `;` here
[INFO] [stdout] 18 |
[INFO] [stdout] 19 | while let Some(event) = swarm.next().await {
[INFO] [stdout]    | ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity`
[INFO] [stdout]  --> src/lib.rs:19:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let local_key = identity::Keypair::generate_ed25519();
[INFO] [stdout]   |                 ^^^^^^^^ use of undeclared crate or module `identity`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libp2p_core::identity::Keypair;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libp2p_core::identity::ecdsa::Keypair;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libp2p_core::identity::ed25519::Keypair;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libp2p_core::identity::rsa::Keypair;
[INFO] [stdout]   |
[INFO] [stdout]     and 1 other candidate
[INFO] [stdout] help: if you import `Keypair`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let local_key = identity::Keypair::generate_ed25519();
[INFO] [stdout] 3 + let local_key = Keypair::generate_ed25519();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId`
[INFO] [stdout]  --> src/lib.rs:20:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | let local_peer_id = PeerId::from(local_key.public());
[INFO] [stdout]   |                     ^^^^^^ use of undeclared type `PeerId`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libp2p_core::PeerId;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]  --> src/lib.rs:24:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut swarm = libp2p::Swarm::new(transport, Episub::new(), local_peer_id);
[INFO] [stdout]   |                 ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libp2p_swarm::Swarm;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Swarm`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 8 - let mut swarm = libp2p::Swarm::new(transport, Episub::new(), local_peer_id);
[INFO] [stdout] 8 + let mut swarm = Swarm::new(transport, Episub::new(), local_peer_id);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Episub`
[INFO] [stdout]  --> src/lib.rs:24:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut swarm = libp2p::Swarm::new(transport, Episub::new(), local_peer_id);
[INFO] [stdout]   |                                               ^^^^^^ use of undeclared type `Episub`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libp2p_episub::Episub;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `opts` in this scope
[INFO] [stdout]   --> src/lib.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 16 | swarm.behaviour_mut().subscribe(opts.topic);
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent`
[INFO] [stdout]   --> src/lib.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 21 |      SwarmEvent::Behaviour(EpisubEvent::Message(m, t)) => {
[INFO] [stdout]    |      ^^^^^^^^^^ use of undeclared type `SwarmEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_swarm::SwarmEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpisubEvent`
[INFO] [stdout]   --> src/lib.rs:37:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |      SwarmEvent::Behaviour(EpisubEvent::Message(m, t)) => {
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `EpisubEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_episub::EpisubEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent`
[INFO] [stdout]   --> src/lib.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 24 |      SwarmEvent::Behaviour(EpisubEvent::Subscribed(t)) => {}
[INFO] [stdout]    |      ^^^^^^^^^^ use of undeclared type `SwarmEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_swarm::SwarmEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpisubEvent`
[INFO] [stdout]   --> src/lib.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |      SwarmEvent::Behaviour(EpisubEvent::Subscribed(t)) => {}
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `EpisubEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_episub::EpisubEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent`
[INFO] [stdout]   --> src/lib.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 25 |      SwarmEvent::Behaviour(EpisubEvent::Unsubscribed(t)) => {}
[INFO] [stdout]    |      ^^^^^^^^^^ use of undeclared type `SwarmEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_swarm::SwarmEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpisubEvent`
[INFO] [stdout]   --> src/lib.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |      SwarmEvent::Behaviour(EpisubEvent::Unsubscribed(t)) => {}
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `EpisubEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_episub::EpisubEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent`
[INFO] [stdout]   --> src/lib.rs:42:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |      SwarmEvent::Behaviour(EpisubEvent::ActivePeerAdded(p)) => {}
[INFO] [stdout]    |      ^^^^^^^^^^ use of undeclared type `SwarmEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_swarm::SwarmEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpisubEvent`
[INFO] [stdout]   --> src/lib.rs:42:28
[INFO] [stdout]    |
[INFO] [stdout] 26 |      SwarmEvent::Behaviour(EpisubEvent::ActivePeerAdded(p)) => {}
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `EpisubEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_episub::EpisubEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent`
[INFO] [stdout]   --> src/lib.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |      SwarmEvent::Behaviour(EpisubEvent::ActivePeerRemoved(p)) => {}
[INFO] [stdout]    |      ^^^^^^^^^^ use of undeclared type `SwarmEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_swarm::SwarmEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpisubEvent`
[INFO] [stdout]   --> src/lib.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |      SwarmEvent::Behaviour(EpisubEvent::ActivePeerRemoved(p)) => {}
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `EpisubEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libp2p_episub::EpisubEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:21:66
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_18_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let transport = libp2p::development_transport(local_key.clone()).await?;
[INFO] [stdout]   |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_18_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 | while let Some(event) = swarm.next().await {
[INFO] [stdout]    |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]  --> src/lib.rs:21:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | let transport = libp2p::development_transport(local_key.clone()).await?;
[INFO] [stdout]   |                 ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 18)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "675bf458117adb51fba7d4dc66d51dc3372b282cd5e6de28bbe9f6dcdfb8b497", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "675bf458117adb51fba7d4dc66d51dc3372b282cd5e6de28bbe9f6dcdfb8b497", kill_on_drop: false }`
[INFO] [stdout] 675bf458117adb51fba7d4dc66d51dc3372b282cd5e6de28bbe9f6dcdfb8b497
