[INFO] fetching crate libp2p-memory-connection-limits 0.2.0...
[INFO] checking libp2p-memory-connection-limits-0.2.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate libp2p-memory-connection-limits 0.2.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate libp2p-memory-connection-limits 0.2.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-memory-connection-limits 0.2.0
[INFO] finished tweaking crates.io crate libp2p-memory-connection-limits 0.2.0
[INFO] tweaked toml for crates.io crate libp2p-memory-connection-limits 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7cefca1524cd6d6618239ca7e6bb1c3e07d279ed082e48a1075486c800ff4d64
[INFO] running `Command { std: "docker" "start" "-a" "7cefca1524cd6d6618239ca7e6bb1c3e07d279ed082e48a1075486c800ff4d64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cefca1524cd6d6618239ca7e6bb1c3e07d279ed082e48a1075486c800ff4d64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cefca1524cd6d6618239ca7e6bb1c3e07d279ed082e48a1075486c800ff4d64", kill_on_drop: false }`
[INFO] [stdout] 7cefca1524cd6d6618239ca7e6bb1c3e07d279ed082e48a1075486c800ff4d64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3c892589c6c6691d8added73e858da0dc6db44a0db0dc56e3f68183068b9a3e
[INFO] running `Command { std: "docker" "start" "-a" "b3c892589c6c6691d8added73e858da0dc6db44a0db0dc56e3f68183068b9a3e", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]     Checking quick-protobuf v0.8.1
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.12
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking futures-lite v2.3.0
[INFO] [stderr]     Checking event-listener v5.2.0
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking unsigned-varint v0.8.0
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking multihash v0.19.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.1
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking io-lifetimes v1.0.11
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking sysinfo v0.29.11
[INFO] [stderr]     Checking async-executor v1.9.1
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]     Checking memory-stats v1.1.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]     Checking data-encoding-macro v0.1.14
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking lru v0.12.3
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking libp2p-identity v0.2.8
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking multiaddr v0.18.1
[INFO] [stderr]     Checking asynchronous-codec v0.7.0
[INFO] [stderr]     Checking futures-bounded v0.2.3
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking quick-protobuf-codec v0.3.1
[INFO] [stderr]     Checking rw-stream-sink v0.4.0
[INFO] [stderr]     Checking multistream-select v0.13.0
[INFO] [stderr]     Checking libp2p-core v0.41.2
[INFO] [stderr]     Checking polling v3.6.0
[INFO] [stderr]     Checking async-io v2.3.2
[INFO] [stderr]     Checking libp2p-swarm v0.44.1
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking libp2p-identify v0.44.1
[INFO] [stderr]     Checking libp2p-memory-connection-limits v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_swarm_derive`
[INFO] [stdout]   --> tests/util.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(libp2p_swarm_derive::NetworkBehaviour)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_derive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_swarm_test`
[INFO] [stdout]   --> tests/max_bytes.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use libp2p_swarm_test::SwarmExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_test`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 | use libp2p_swarm::SwarmExt;
[INFO] [stdout]    |     ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_swarm_derive`
[INFO] [stdout]   --> tests/util.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(libp2p_swarm_derive::NetworkBehaviour)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_derive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p_swarm_test`
[INFO] [stdout]   --> tests/max_percentage.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use libp2p_swarm_test::SwarmExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_test`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 | use libp2p_swarm::SwarmExt;
[INFO] [stdout]    |     ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_swarm_derive`
[INFO] [stdout]   --> tests/util.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(libp2p_swarm_derive::NetworkBehaviour)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_swarm_derive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]   --> tests/util.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[behaviour(prelude = "libp2p_swarm::derive_prelude")]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]   --> tests/util.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[behaviour(prelude = "libp2p_swarm::derive_prelude")]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]   --> tests/util.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[behaviour(prelude = "libp2p_swarm::derive_prelude")]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-memory-connection-limits` (test "util") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/max_bytes.rs:37:30
[INFO] [stdout]     |
[INFO] [stdout] 37  |     let mut network = Swarm::new_ephemeral(|_| TestBehaviour {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5
[INFO] [stdout]     |
[INFO] [stdout] 359 | /     pub fn new(
[INFO] [stdout] 360 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 361 | |         behaviour: TBehaviour,
[INFO] [stdout] 362 | |         local_peer_id: PeerId,
[INFO] [stdout] 363 | |         config: Config,
[INFO] [stdout] 364 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `PeerId` in the current scope
[INFO] [stdout]   --> tests/max_bytes.rs:43:26
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let target = PeerId::random();
[INFO] [stdout]    |                          ^^^^^^ function or associated item not found in `PeerId`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `PeerId` consider using one of the following associated functions:
[INFO] [stdout]       PeerId::from_public_key
[INFO] [stdout]       PeerId::from_bytes
[INFO] [stdout]       PeerId::from_multihash
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-identity-0.2.8/src/peer_id.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn from_bytes(data: &[u8]) -> Result<PeerId, ParseError> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn from_multihash(multihash: Multihash) -> Result<PeerId, Multihash> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_ephemeral` found for struct `Swarm` in the current scope
[INFO] [stdout]    --> tests/max_percentage.rs:41:30
[INFO] [stdout]     |
[INFO] [stdout] 41  |     let mut network = Swarm::new_ephemeral(|_| TestBehaviour {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ function or associated item not found in `Swarm<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Swarm<_>`, consider using `Swarm::<TBehaviour>::new` which returns `Swarm<_>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-swarm-0.44.1/src/lib.rs:359:5
[INFO] [stdout]     |
[INFO] [stdout] 359 | /     pub fn new(
[INFO] [stdout] 360 | |         transport: transport::Boxed<(PeerId, StreamMuxerBox)>,
[INFO] [stdout] 361 | |         behaviour: TBehaviour,
[INFO] [stdout] 362 | |         local_peer_id: PeerId,
[INFO] [stdout] 363 | |         config: Config,
[INFO] [stdout] 364 | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `PeerId` in the current scope
[INFO] [stdout]   --> tests/max_percentage.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let target = PeerId::random();
[INFO] [stdout]    |                          ^^^^^^ function or associated item not found in `PeerId`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `PeerId` consider using one of the following associated functions:
[INFO] [stdout]       PeerId::from_public_key
[INFO] [stdout]       PeerId::from_bytes
[INFO] [stdout]       PeerId::from_multihash
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libp2p-identity-0.2.8/src/peer_id.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn from_public_key(key: &crate::keypair::PublicKey) -> PeerId {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn from_bytes(data: &[u8]) -> Result<PeerId, ParseError> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn from_multihash(multihash: Multihash) -> Result<PeerId, Multihash> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-memory-connection-limits` (test "max_bytes") due to 6 previous errors
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-memory-connection-limits` (test "max_percentage") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "b3c892589c6c6691d8added73e858da0dc6db44a0db0dc56e3f68183068b9a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3c892589c6c6691d8added73e858da0dc6db44a0db0dc56e3f68183068b9a3e", kill_on_drop: false }`
[INFO] [stdout] b3c892589c6c6691d8added73e858da0dc6db44a0db0dc56e3f68183068b9a3e
