[INFO] fetching crate libp2p-metrics 0.2.0... [INFO] testing libp2p-metrics-0.2.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate libp2p-metrics 0.2.0 into /workspace/builds/worker-87/source [INFO] validating manifest of crates.io crate libp2p-metrics 0.2.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-metrics 0.2.0 [INFO] finished tweaking crates.io crate libp2p-metrics 0.2.0 [INFO] tweaked toml for crates.io crate libp2p-metrics 0.2.0 written to /workspace/builds/worker-87/source/Cargo.toml [INFO] crate crates.io crate libp2p-metrics 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-pool v0.2.3 [INFO] [stderr] Downloaded async-h1 v2.3.2 [INFO] [stderr] Downloaded tide v0.16.0 [INFO] [stderr] Downloaded libp2p-identify v0.32.0 [INFO] [stderr] Downloaded libp2p-kad v0.33.0 [INFO] [stderr] Downloaded libp2p-gossipsub v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07ae746ac9bcf457aef9705ee3348b8b7037dd93c3880abce5de3b00b0592eb2 [INFO] running `Command { std: "docker" "start" "-a" "07ae746ac9bcf457aef9705ee3348b8b7037dd93c3880abce5de3b00b0592eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07ae746ac9bcf457aef9705ee3348b8b7037dd93c3880abce5de3b00b0592eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ae746ac9bcf457aef9705ee3348b8b7037dd93c3880abce5de3b00b0592eb2", kill_on_drop: false }` [INFO] [stdout] 07ae746ac9bcf457aef9705ee3348b8b7037dd93c3880abce5de3b00b0592eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b13746d665644c940ca3bdb92a33aa43de852b8d263243a8eefc5faebdb50a3 [INFO] running `Command { std: "docker" "start" "-a" "9b13746d665644c940ca3bdb92a33aa43de852b8d263243a8eefc5faebdb50a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling asn1_der v0.7.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ed25519 v1.2.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling open-metrics-client-derive-text-encode v0.1.1 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling open-metrics-client v0.12.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multihash v0.14.0 [INFO] [stderr] Compiling libp2p-core v0.30.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling multiaddr v0.13.0 [INFO] [stderr] Compiling libp2p-swarm v0.32.0 [INFO] [stderr] Compiling libp2p-metrics v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "9b13746d665644c940ca3bdb92a33aa43de852b8d263243a8eefc5faebdb50a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b13746d665644c940ca3bdb92a33aa43de852b8d263243a8eefc5faebdb50a3", kill_on_drop: false }` [INFO] [stdout] 9b13746d665644c940ca3bdb92a33aa43de852b8d263243a8eefc5faebdb50a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30d01a37f90f78499e8ee45901528dcd1466fdb1a17214d2be8961887261792e [INFO] running `Command { std: "docker" "start" "-a" "30d01a37f90f78499e8ee45901528dcd1466fdb1a17214d2be8961887261792e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling multiaddr v0.13.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling libp2p-core v0.30.0 [INFO] [stderr] Compiling http-client v6.5.1 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling libp2p-swarm v0.32.0 [INFO] [stderr] Compiling libp2p-metrics v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/metrics.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use libp2p::core::Multiaddr; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/metrics.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2p::metrics::{Metrics, Recorder}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/metrics.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use libp2p::ping::{Ping, PingConfig}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/metrics.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use libp2p::swarm::SwarmEvent; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/metrics.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use libp2p::{identity, PeerId, Swarm}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/metrics.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | block_on(libp2p::development_transport(local_key))?, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/metrics.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | Ping::new(PingConfig::new().with_keep_alive(true)), [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/metrics.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | Ping::new(PingConfig::new().with_keep_alive(true)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PingConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/metrics.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | SwarmEvent::Behaviour(ping_event) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> examples/metrics.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let remote: Multiaddr = addr.parse()?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 51 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Metrics` [INFO] [stdout] --> examples/metrics.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let metrics = Metrics::new(&mut metric_registry); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 51 | use libp2p_metrics::Metrics; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/metrics.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-metrics` due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "30d01a37f90f78499e8ee45901528dcd1466fdb1a17214d2be8961887261792e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d01a37f90f78499e8ee45901528dcd1466fdb1a17214d2be8961887261792e", kill_on_drop: false }` [INFO] [stdout] 30d01a37f90f78499e8ee45901528dcd1466fdb1a17214d2be8961887261792e