[INFO] fetching crate libp2p-swarm 0.32.0... [INFO] testing libp2p-swarm-0.32.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate libp2p-swarm 0.32.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate libp2p-swarm 0.32.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-swarm 0.32.0 [INFO] finished tweaking crates.io crate libp2p-swarm 0.32.0 [INFO] tweaked toml for crates.io crate libp2p-swarm 0.32.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a5c9b8f1121b64493d86227eeded4377cd4c5e230902f815481486e90f3ede5 [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" "3a5c9b8f1121b64493d86227eeded4377cd4c5e230902f815481486e90f3ede5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a5c9b8f1121b64493d86227eeded4377cd4c5e230902f815481486e90f3ede5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5c9b8f1121b64493d86227eeded4377cd4c5e230902f815481486e90f3ede5", kill_on_drop: false }` [INFO] [stdout] 3a5c9b8f1121b64493d86227eeded4377cd4c5e230902f815481486e90f3ede5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] ba91037f2be9af0ff40c0f28d926846d79628439ddb837157a19ee00717674c2 [INFO] running `Command { std: "docker" "start" "-a" "ba91037f2be9af0ff40c0f28d926846d79628439ddb837157a19ee00717674c2", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling asn1_der v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ed25519 v1.3.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.3 [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 syn v1.0.81 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling prost v0.9.0 [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 multihash v0.14.0 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling multiaddr v0.13.0 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling libp2p-core v0.30.0 [INFO] [stderr] Compiling libp2p-swarm v0.32.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "ba91037f2be9af0ff40c0f28d926846d79628439ddb837157a19ee00717674c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba91037f2be9af0ff40c0f28d926846d79628439ddb837157a19ee00717674c2", kill_on_drop: false }` [INFO] [stdout] ba91037f2be9af0ff40c0f28d926846d79628439ddb837157a19ee00717674c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6d8b690d9ac724d0aeba3b54b0fbb1374bc2cf79a6c9ddfc7c4f5e1ca59cfdb [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" "e6d8b690d9ac724d0aeba3b54b0fbb1374bc2cf79a6c9ddfc7c4f5e1ca59cfdb", kill_on_drop: false }` [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling libp2p-core v0.30.0 [INFO] [stderr] Compiling libp2p-swarm v0.32.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> src/lib.rs:1414:9 [INFO] [stdout] | [INFO] [stdout] 1414 | use libp2p::core::{identity, multiaddr, transport, upgrade}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> src/lib.rs:1415:9 [INFO] [stdout] | [INFO] [stdout] 1415 | use libp2p::plaintext; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> src/lib.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | use libp2p::yamux; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Version` in `upgrade` [INFO] [stdout] --> src/lib.rs:1434:31 [INFO] [stdout] | [INFO] [stdout] 1434 | .upgrade(upgrade::Version::V1) [INFO] [stdout] | ^^^^^^^ could not find `Version` in `upgrade` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1505:32 [INFO] [stdout] | [INFO] [stdout] 1505 | let addr1: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1506:32 [INFO] [stdout] | [INFO] [stdout] 1506 | let addr2: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1582:32 [INFO] [stdout] | [INFO] [stdout] 1582 | let addr1: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1583:32 [INFO] [stdout] | [INFO] [stdout] 1583 | let addr2: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1655:32 [INFO] [stdout] | [INFO] [stdout] 1655 | let addr1: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1656:32 [INFO] [stdout] | [INFO] [stdout] 1656 | let addr2: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1731:32 [INFO] [stdout] | [INFO] [stdout] 1731 | let addr1: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `multiaddr` [INFO] [stdout] --> src/lib.rs:1732:32 [INFO] [stdout] | [INFO] [stdout] 1732 | let addr2: Multiaddr = multiaddr::Protocol::Memory(rand::random::()).into(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `multiaddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> src/lib.rs:1431:33 [INFO] [stdout] | [INFO] [stdout] 1431 | let id_keys = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1410 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 1410 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 1410 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-swarm` due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "e6d8b690d9ac724d0aeba3b54b0fbb1374bc2cf79a6c9ddfc7c4f5e1ca59cfdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d8b690d9ac724d0aeba3b54b0fbb1374bc2cf79a6c9ddfc7c4f5e1ca59cfdb", kill_on_drop: false }` [INFO] [stdout] e6d8b690d9ac724d0aeba3b54b0fbb1374bc2cf79a6c9ddfc7c4f5e1ca59cfdb