[INFO] fetching crate libp2p-metrics 0.12.0...
[INFO] testing libp2p-metrics-0.12.0 against 1.69.0 for beta-1.70-1
[INFO] extracting crate libp2p-metrics 0.12.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate libp2p-metrics 0.12.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-metrics 0.12.0
[INFO] removed 1 missing examples
[INFO] finished tweaking crates.io crate libp2p-metrics 0.12.0
[INFO] tweaked toml for crates.io crate libp2p-metrics 0.12.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate libp2p-metrics 0.12.0 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.69.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 asynchronous-codec v0.6.1
[INFO] [stderr]   Downloaded zeroize_derive v1.3.3
[INFO] [stderr]   Downloaded rw-stream-sink v0.3.0
[INFO] [stderr]   Downloaded multistream-select v0.12.1
[INFO] [stderr]   Downloaded libp2p-ping v0.42.0
[INFO] [stderr]   Downloaded lru v0.9.0
[INFO] [stderr]   Downloaded dtoa v1.0.5
[INFO] [stderr]   Downloaded prost-codec v0.3.0
[INFO] [stderr]   Downloaded multiaddr v0.17.0
[INFO] [stderr]   Downloaded multihash v0.17.0
[INFO] [stderr]   Downloaded asn1_der v0.7.5
[INFO] [stderr]   Downloaded prettyplease v0.1.23
[INFO] [stderr]   Downloaded libp2p-core v0.39.0
[INFO] [stderr]   Downloaded prometheus-client v0.19.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.42.0
[INFO] [stderr]   Downloaded prost-types v0.11.7
[INFO] [stderr]   Downloaded prometheus-client-derive-encode v0.4.1
[INFO] [stderr]   Downloaded prost-build v0.11.7
[INFO] [stderr]   Downloaded prost v0.11.7
[INFO] [stderr]   Downloaded const-oid v0.9.1
[INFO] [stderr]   Downloaded prost-derive v0.11.7
[INFO] [stderr]   Downloaded libp2p-relay v0.15.0
[INFO] [stderr]   Downloaded libp2p-gossipsub v0.44.0
[INFO] [stderr]   Downloaded libp2p-identify v0.42.0
[INFO] [stderr]   Downloaded libp2p-dcutr v0.9.0
[INFO] [stderr]   Downloaded libp2p-kad v0.43.0
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 197ccf9aa1d37eac780dc1481e097aaaf5401d37b89ee5a6f1889d5d5aa0cc88
[INFO] running `Command { std: "docker" "start" "-a" "197ccf9aa1d37eac780dc1481e097aaaf5401d37b89ee5a6f1889d5d5aa0cc88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "197ccf9aa1d37eac780dc1481e097aaaf5401d37b89ee5a6f1889d5d5aa0cc88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "197ccf9aa1d37eac780dc1481e097aaaf5401d37b89ee5a6f1889d5d5aa0cc88", kill_on_drop: false }`
[INFO] [stdout] 197ccf9aa1d37eac780dc1481e097aaaf5401d37b89ee5a6f1889d5d5aa0cc88
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e8c363deb34d63be244e0f83dca27bf4eb2791ca556c2c64ae5cccd9df6ce02
[INFO] running `Command { std: "docker" "start" "-a" "9e8c363deb34d63be244e0f83dca27bf4eb2791ca556c2c64ae5cccd9df6ce02", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling anyhow v1.0.69
[INFO] [stderr]    Compiling futures-core v0.3.26
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling futures-task v0.3.26
[INFO] [stderr]    Compiling futures-channel v0.3.26
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling futures-util v0.3.26
[INFO] [stderr]    Compiling futures-sink v0.3.26
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling prettyplease v0.1.23
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling futures-io v0.3.26
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling const-oid v0.9.1
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling data-encoding v2.3.3
[INFO] [stderr]    Compiling unsigned-varint v0.7.1
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling base64ct v1.5.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling core2 v0.4.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling asn1_der v0.7.5
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling prometheus-client v0.19.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling dtoa v1.0.5
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling zeroize_derive v1.3.3
[INFO] [stderr]    Compiling prost-derive v0.11.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling futures-macro v0.3.26
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.10
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.1
[INFO] [stderr]    Compiling data-encoding-macro v0.1.12
[INFO] [stderr]    Compiling multibase v0.9.1
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling der v0.6.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling multihash-derive v0.8.1
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling prost v0.11.7
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling prost-types v0.11.7
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling multihash v0.17.0
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling multiaddr v0.17.0
[INFO] [stderr]    Compiling prost-build v0.11.7
[INFO] [stderr]    Compiling futures-executor v0.3.26
[INFO] [stderr]    Compiling libp2p-core v0.39.0
[INFO] [stderr]    Compiling futures v0.3.26
[INFO] [stderr]    Compiling multistream-select v0.12.1
[INFO] [stderr]    Compiling rw-stream-sink v0.3.0
[INFO] [stderr]    Compiling libp2p-swarm v0.42.0
[INFO] [stderr]    Compiling libp2p-metrics v0.12.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "9e8c363deb34d63be244e0f83dca27bf4eb2791ca556c2c64ae5cccd9df6ce02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e8c363deb34d63be244e0f83dca27bf4eb2791ca556c2c64ae5cccd9df6ce02", kill_on_drop: false }`
[INFO] [stdout] 9e8c363deb34d63be244e0f83dca27bf4eb2791ca556c2c64ae5cccd9df6ce02
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1242bc261f7717228c383d0610174f793a8743c765b04e530f02db2fc7eef8e2
[INFO] running `Command { std: "docker" "start" "-a" "1242bc261f7717228c383d0610174f793a8743c765b04e530f02db2fc7eef8e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling futures-channel v0.3.26
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling io-lifetimes v1.0.5
[INFO] [stderr]    Compiling rustix v0.36.8
[INFO] [stderr]    Compiling tokio v1.25.0
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling futures-util v0.3.26
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling prost-build v0.11.7
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling libp2p-core v0.39.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling futures-executor v0.3.26
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures v0.3.26
[INFO] [stderr]    Compiling multistream-select v0.12.1
[INFO] [stderr]    Compiling rw-stream-sink v0.3.0
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling prometheus-client v0.19.0
[INFO] [stderr]    Compiling is-terminal v0.4.4
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling libp2p-swarm v0.42.0
[INFO] [stderr]    Compiling hyper v0.14.24
[INFO] [stderr]    Compiling libp2p-metrics v0.12.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `libp2p_identify`
[INFO] [stdout]   --> examples/metrics/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use libp2p_identify as identify;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `libp2p_identify`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_noise`
[INFO] [stdout]   --> examples/metrics/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | use libp2p_noise as noise;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no external crate `libp2p_noise`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_ping`
[INFO] [stdout]   --> examples/metrics/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | use libp2p_ping as ping;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ no external crate `libp2p_ping`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_tcp`
[INFO] [stdout]   --> examples/metrics/main.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | use libp2p_tcp as tcp;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ no external crate `libp2p_tcp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_yamux`
[INFO] [stdout]   --> examples/metrics/main.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | use libp2p_yamux as yamux;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no external crate `libp2p_yamux`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `NetworkBehaviour` in this scope
[INFO] [stdout]    --> examples/metrics/main.rs:127:10
[INFO] [stdout]     |
[INFO] [stdout] 127 | #[derive(NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `NetworkBehaviour` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> examples/metrics/main.rs:60:5
[INFO] [stdout]     |
[INFO] [stdout] 60  | use libp2p_swarm::NetworkBehaviour;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]    --> examples/metrics/main.rs:128:3
[INFO] [stdout]     |
[INFO] [stdout] 128 | #[behaviour(prelude = "libp2p_swarm::derive_prelude")]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BehaviourEvent`
[INFO] [stdout]    --> examples/metrics/main.rs:105:39
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 SwarmEvent::Behaviour(BehaviourEvent::Ping(ping_event)) => {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^ use of undeclared type `BehaviourEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BehaviourEvent`
[INFO] [stdout]    --> examples/metrics/main.rs:109:39
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 SwarmEvent::Behaviour(BehaviourEvent::Identify(identify_event)) => {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^ use of undeclared type `BehaviourEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Behaviour: NetworkBehaviour` is not satisfied
[INFO] [stdout]    --> examples/metrics/main.rs:86:9
[INFO] [stdout]     |
[INFO] [stdout] 80  |     let mut swarm = Swarm::without_executor(
[INFO] [stdout]     |                     ----------------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 86  |         Behaviour::new(local_pub_key),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Behaviour`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `NetworkBehaviour`:
[INFO] [stdout]               Toggle<TBehaviour>
[INFO] [stdout]               libp2p_swarm::derive_prelude::Either<L, R>
[INFO] [stdout]               libp2p_swarm::dummy::Behaviour
[INFO] [stdout]               libp2p_swarm::keep_alive::Behaviour
[INFO] [stdout] note: required by a bound in `Swarm::<TBehaviour>::without_executor`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.42.0/src/lib.rs:343:17
[INFO] [stdout]     |
[INFO] [stdout] 343 |     TBehaviour: NetworkBehaviour,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ required by this bound in `Swarm::<TBehaviour>::without_executor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Behaviour: NetworkBehaviour` is not satisfied
[INFO] [stdout]    --> examples/metrics/main.rs:80:21
[INFO] [stdout]     |
[INFO] [stdout] 80  |       let mut swarm = Swarm::without_executor(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 81  | |         tcp::async_io::Transport::default()
[INFO] [stdout] 82  | |             .upgrade(Version::V1)
[INFO] [stdout] 83  | |             .authenticate(noise::NoiseAuthenticated::xx(&local_key)?)
[INFO] [stdout] ...   |
[INFO] [stdout] 87  | |         local_peer_id,
[INFO] [stdout] 88  | |     );
[INFO] [stdout]     | |_____^ the trait `NetworkBehaviour` is not implemented for `Behaviour`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `NetworkBehaviour`:
[INFO] [stdout]               Toggle<TBehaviour>
[INFO] [stdout]               libp2p_swarm::derive_prelude::Either<L, R>
[INFO] [stdout]               libp2p_swarm::dummy::Behaviour
[INFO] [stdout]               libp2p_swarm::keep_alive::Behaviour
[INFO] [stdout] note: required by a bound in `Swarm`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.42.0/src/lib.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |     TBehaviour: NetworkBehaviour,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ required by this bound in `Swarm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `listen_on` exists for struct `Swarm<Behaviour>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> examples/metrics/main.rs:90:11
[INFO] [stdout]     |
[INFO] [stdout] 90  |     swarm.listen_on("/ip4/0.0.0.0/tcp/0".parse()?)?;
[INFO] [stdout]     |           ^^^^^^^^^ method cannot be called on `Swarm<Behaviour>` due to unsatisfied trait bounds
[INFO] [stdout] ...
[INFO] [stdout] 129 | struct Behaviour {
[INFO] [stdout]     | ---------------- doesn't satisfy `Behaviour: NetworkBehaviour`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Behaviour: NetworkBehaviour`
[INFO] [stdout] note: the trait `NetworkBehaviour` must be implemented
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.42.0/src/behaviour.rs:122:1
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub trait NetworkBehaviour: 'static {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `dial` exists for struct `Swarm<Behaviour>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> examples/metrics/main.rs:94:15
[INFO] [stdout]     |
[INFO] [stdout] 94  |         swarm.dial(remote)?;
[INFO] [stdout]     |               ^^^^ method cannot be called on `Swarm<Behaviour>` due to unsatisfied trait bounds
[INFO] [stdout] ...
[INFO] [stdout] 129 | struct Behaviour {
[INFO] [stdout]     | ---------------- doesn't satisfy `Behaviour: NetworkBehaviour`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Behaviour: NetworkBehaviour`
[INFO] [stdout] note: the trait `NetworkBehaviour` must be implemented
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.42.0/src/behaviour.rs:122:1
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub trait NetworkBehaviour: 'static {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `select_next_some` exists for struct `Swarm<Behaviour>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> examples/metrics/main.rs:104:25
[INFO] [stdout]     |
[INFO] [stdout] 104 |             match swarm.select_next_some().await {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ method cannot be called on `Swarm<Behaviour>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.42.0/src/lib.rs:303:1
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub struct Swarm<TBehaviour>
[INFO] [stdout]     | ----------------------------
[INFO] [stdout]     | |
[INFO] [stdout]     | doesn't satisfy `Swarm<Behaviour>: StreamExt`
[INFO] [stdout]     | doesn't satisfy `Swarm<Behaviour>: Stream`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Swarm<Behaviour>: Stream`
[INFO] [stdout]             which is required by `Swarm<Behaviour>: StreamExt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]   --> examples/metrics/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use futures::stream::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transport`
[INFO] [stdout]   --> examples/metrics/main.rs:54:66
[INFO] [stdout]    |
[INFO] [stdout] 54 | use libp2p_core::{identity, upgrade::Version, Multiaddr, PeerId, Transport};
[INFO] [stdout]    |                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-metrics` due to 15 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "1242bc261f7717228c383d0610174f793a8743c765b04e530f02db2fc7eef8e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1242bc261f7717228c383d0610174f793a8743c765b04e530f02db2fc7eef8e2", kill_on_drop: false }`
[INFO] [stdout] 1242bc261f7717228c383d0610174f793a8743c765b04e530f02db2fc7eef8e2
