[INFO] fetching crate libp2p-episub 0.1.13...
[INFO] testing libp2p-episub-0.1.13 against 1.75.0 for beta-1.76-1
[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 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded elliptic-curve v0.11.12
[INFO] [stderr]   Downloaded ff v0.11.1
[INFO] [stderr]   Downloaded rfc6979 v0.1.0
[INFO] [stderr]   Downloaded rw-stream-sink v0.2.1
[INFO] [stderr]   Downloaded ecdsa v0.13.4
[INFO] [stderr]   Downloaded sec1 v0.2.1
[INFO] [stderr]   Downloaded multistream-select v0.11.0
[INFO] [stderr]   Downloaded prost-types v0.9.0
[INFO] [stderr]   Downloaded p256 v0.10.1
[INFO] [stderr]   Downloaded asn1_der v0.7.6
[INFO] [stderr]   Downloaded group v0.11.0
[INFO] [stderr]   Downloaded signature v1.4.0
[INFO] [stderr]   Downloaded prost-build v0.9.0
[INFO] [stderr]   Downloaded multiaddr v0.13.0
[INFO] [stderr]   Downloaded multihash v0.14.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.33.0
[INFO] [stderr]   Downloaded libp2p-core v0.31.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dfea7744eb8eed36f0200f66f4b59a409956a483cd59c03487457e8377da032b
[INFO] running `Command { std: "docker" "start" "-a" "dfea7744eb8eed36f0200f66f4b59a409956a483cd59c03487457e8377da032b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfea7744eb8eed36f0200f66f4b59a409956a483cd59c03487457e8377da032b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfea7744eb8eed36f0200f66f4b59a409956a483cd59c03487457e8377da032b", kill_on_drop: false }`
[INFO] [stdout] dfea7744eb8eed36f0200f66f4b59a409956a483cd59c03487457e8377da032b
[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=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.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0c28d8341915c348df3537c075e768859dc12d38a57bb7a06ea71f7432a88f2
[INFO] running `Command { std: "docker" "start" "-a" "e0c28d8341915c348df3537c075e768859dc12d38a57bb7a06ea71f7432a88f2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling ff v0.11.1
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling group v0.11.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling signature v1.4.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling asn1_der v0.7.6
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling multihash-derive v0.7.2
[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 curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling rfc6979 v0.1.0
[INFO] [stderr]    Compiling elliptic-curve v0.11.12
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling ecdsa v0.13.4
[INFO] [stderr]    Compiling pin-project v0.4.30
[INFO] [stderr]    Compiling p256 v0.10.1
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]    Compiling prost-types v0.9.0
[INFO] [stderr]    Compiling asynchronous-codec v0.6.2
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling libp2p-core v0.31.1
[INFO] [stderr]    Compiling libp2p-episub v0.1.13 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling rw-stream-sink v0.2.1
[INFO] [stderr]    Compiling unsigned-varint v0.7.2
[INFO] [stderr]    Compiling multihash v0.14.0
[INFO] [stderr]    Compiling multistream-select v0.11.0
[INFO] [stderr]    Compiling multiaddr v0.13.0
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling libp2p-swarm v0.33.0
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 34.29s
[INFO] running `Command { std: "docker" "inspect" "e0c28d8341915c348df3537c075e768859dc12d38a57bb7a06ea71f7432a88f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0c28d8341915c348df3537c075e768859dc12d38a57bb7a06ea71f7432a88f2", kill_on_drop: false }`
[INFO] [stdout] e0c28d8341915c348df3537c075e768859dc12d38a57bb7a06ea71f7432a88f2
[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=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.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfdda282c1cc288be6f67e45e54ee4d4c7815cf17ea27c61bc38a856488bf682
[INFO] running `Command { std: "docker" "start" "-a" "bfdda282c1cc288be6f67e45e54ee4d4c7815cf17ea27c61bc38a856488bf682", kill_on_drop: false }`
[INFO] [stderr]    Compiling libp2p-episub v0.1.13 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.47s
[INFO] running `Command { std: "docker" "inspect" "bfdda282c1cc288be6f67e45e54ee4d4c7815cf17ea27c61bc38a856488bf682", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfdda282c1cc288be6f67e45e54ee4d4c7815cf17ea27c61bc38a856488bf682", kill_on_drop: false }`
[INFO] [stdout] bfdda282c1cc288be6f67e45e54ee4d4c7815cf17ea27c61bc38a856488bf682
[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=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.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ca1a3120c5e62e799cecd918e6847194b16ad32c911b4e75f65d00b9979acbe6
[INFO] running `Command { std: "docker" "start" "-a" "ca1a3120c5e62e799cecd918e6847194b16ad32c911b4e75f65d00b9979acbe6", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libp2p_episub-05682ffae08246db)
[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] [stderr] error: doctest failed, to rerun pass `--doc`
[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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:21:71
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_18_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 5 | let transport = libp2p::development_transport(local_key.clone()).await?;
[INFO] [stdout]   |                                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[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.22s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ca1a3120c5e62e799cecd918e6847194b16ad32c911b4e75f65d00b9979acbe6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca1a3120c5e62e799cecd918e6847194b16ad32c911b4e75f65d00b9979acbe6", kill_on_drop: false }`
[INFO] [stdout] ca1a3120c5e62e799cecd918e6847194b16ad32c911b4e75f65d00b9979acbe6
