[INFO] fetching crate libp2p-metrics 0.4.0... [INFO] testing libp2p-metrics-0.4.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate libp2p-metrics 0.4.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate libp2p-metrics 0.4.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-metrics 0.4.0 [INFO] finished tweaking crates.io crate libp2p-metrics 0.4.0 [INFO] tweaked toml for crates.io crate libp2p-metrics 0.4.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate libp2p-metrics 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b66980023fc68bc83ebda9a877cdcfd963caffcf0a5b87b874dbf0524032fa6 [INFO] running `Command { std: "docker" "start" "-a" "7b66980023fc68bc83ebda9a877cdcfd963caffcf0a5b87b874dbf0524032fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b66980023fc68bc83ebda9a877cdcfd963caffcf0a5b87b874dbf0524032fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b66980023fc68bc83ebda9a877cdcfd963caffcf0a5b87b874dbf0524032fa6", kill_on_drop: false }` [INFO] [stdout] 7b66980023fc68bc83ebda9a877cdcfd963caffcf0a5b87b874dbf0524032fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 51d6ee9cdc4f494368741df7f9d80c6a871f521aa2171b85793a1612f3b1a725 [INFO] running `Command { std: "docker" "start" "-a" "51d6ee9cdc4f494368741df7f9d80c6a871f521aa2171b85793a1612f3b1a725", kill_on_drop: false }` [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling dtoa v1.0.2 [INFO] [stderr] Compiling prometheus-client-derive-text-encode v0.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.2 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling multihash-derive v0.8.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling prometheus-client v0.15.1 [INFO] [stderr] Compiling multihash v0.16.1 [INFO] [stderr] Compiling multiaddr v0.14.0 [INFO] [stderr] Compiling libp2p-core v0.32.0 [INFO] [stderr] Compiling libp2p-swarm v0.34.0 [INFO] [stderr] Compiling libp2p-metrics v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.67s [INFO] running `Command { std: "docker" "inspect" "51d6ee9cdc4f494368741df7f9d80c6a871f521aa2171b85793a1612f3b1a725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d6ee9cdc4f494368741df7f9d80c6a871f521aa2171b85793a1612f3b1a725", kill_on_drop: false }` [INFO] [stdout] 51d6ee9cdc4f494368741df7f9d80c6a871f521aa2171b85793a1612f3b1a725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bd6593ea27b8af971f6df68d84ed6594d0c1bce8182bd5ea7eba723896c1675 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7bd6593ea27b8af971f6df68d84ed6594d0c1bce8182bd5ea7eba723896c1675", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling blake3 v0.3.8 [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 crypto-mac v0.8.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [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 time-macros v0.1.1 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling multiaddr v0.14.0 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling libp2p-core v0.32.0 [INFO] [stderr] Compiling libp2p-swarm v0.34.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling libp2p-metrics v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-client v6.5.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling async-h1 v2.3.3 [INFO] [stderr] Compiling tide v0.16.0 [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" "7bd6593ea27b8af971f6df68d84ed6594d0c1bce8182bd5ea7eba723896c1675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd6593ea27b8af971f6df68d84ed6594d0c1bce8182bd5ea7eba723896c1675", kill_on_drop: false }` [INFO] [stdout] 7bd6593ea27b8af971f6df68d84ed6594d0c1bce8182bd5ea7eba723896c1675