[INFO] fetching crate libp2p-metrics 0.5.0... [INFO] testing libp2p-metrics-0.5.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate libp2p-metrics 0.5.0 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate libp2p-metrics 0.5.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-metrics 0.5.0 [INFO] finished tweaking crates.io crate libp2p-metrics 0.5.0 [INFO] tweaked toml for crates.io crate libp2p-metrics 0.5.0 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate crates.io crate libp2p-metrics 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 const-oid v0.7.1 [INFO] [stderr] Downloaded elliptic-curve v0.11.12 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded der v0.5.1 [INFO] [stderr] Downloaded crypto-bigint v0.3.2 [INFO] [stderr] Downloaded libp2p-ping v0.35.0 [INFO] [stderr] Downloaded ecdsa v0.13.4 [INFO] [stderr] Downloaded uint v0.9.3 [INFO] [stderr] Downloaded libp2p-kad v0.36.0 [INFO] [stderr] Downloaded libp2p-gossipsub v0.37.0 [INFO] [stderr] Downloaded libp2p-identify v0.35.0 [INFO] [stderr] Downloaded libp2p-relay v0.8.0 [INFO] [stderr] Downloaded libp2p-dcutr v0.2.0 [INFO] [stderr] Downloaded rfc6979 v0.1.0 [INFO] [stderr] Downloaded libsecp256k1 v0.7.0 [INFO] [stderr] Downloaded signature v1.4.0 [INFO] [stderr] Downloaded base16ct v0.1.1 [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded p256 v0.10.1 [INFO] [stderr] Downloaded group v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33afe83fafad2c1ebb4d689f52728add9f9f6644f494e08a96c70817f145493d [INFO] running `Command { std: "docker" "start" "-a" "33afe83fafad2c1ebb4d689f52728add9f9f6644f494e08a96c70817f145493d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33afe83fafad2c1ebb4d689f52728add9f9f6644f494e08a96c70817f145493d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33afe83fafad2c1ebb4d689f52728add9f9f6644f494e08a96c70817f145493d", kill_on_drop: false }` [INFO] [stdout] 33afe83fafad2c1ebb4d689f52728add9f9f6644f494e08a96c70817f145493d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec44d9595ab4ce393f19fa483407903071d69c1bafb1e05faf9c2fe3c26056b [INFO] running `Command { std: "docker" "start" "-a" "3ec44d9595ab4ce393f19fa483407903071d69c1bafb1e05faf9c2fe3c26056b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling asn1_der v0.7.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling dtoa v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.2 [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 futures-macro v0.3.21 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling prometheus-client-derive-text-encode v0.2.0 [INFO] [stderr] Compiling prometheus-client v0.15.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling multihash-derive v0.8.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling multihash v0.16.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling multiaddr v0.14.0 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling libp2p-core v0.32.1 [INFO] [stderr] Compiling libp2p-swarm v0.35.0 [INFO] [stderr] Compiling libp2p-metrics v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.82s [INFO] running `Command { std: "docker" "inspect" "3ec44d9595ab4ce393f19fa483407903071d69c1bafb1e05faf9c2fe3c26056b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec44d9595ab4ce393f19fa483407903071d69c1bafb1e05faf9c2fe3c26056b", kill_on_drop: false }` [INFO] [stdout] 3ec44d9595ab4ce393f19fa483407903071d69c1bafb1e05faf9c2fe3c26056b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 428dd48822b6f4b7c0583ba0709ca58ed81fdaab83b68b38b50e8157ab523ee0 [INFO] running `Command { std: "docker" "start" "-a" "428dd48822b6f4b7c0583ba0709ca58ed81fdaab83b68b38b50e8157ab523ee0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling libp2p-core v0.32.1 [INFO] [stderr] Compiling libp2p-swarm v0.35.0 [INFO] [stderr] Compiling libp2p-metrics v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/metrics/main.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/main.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/main.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/main.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/main.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/main.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | 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/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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/main.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | 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/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | 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/main.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | 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/main.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | 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/main.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] running `Command { std: "docker" "inspect" "428dd48822b6f4b7c0583ba0709ca58ed81fdaab83b68b38b50e8157ab523ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428dd48822b6f4b7c0583ba0709ca58ed81fdaab83b68b38b50e8157ab523ee0", kill_on_drop: false }` [INFO] [stdout] 428dd48822b6f4b7c0583ba0709ca58ed81fdaab83b68b38b50e8157ab523ee0