[INFO] crate libp2p-core 0.13.1 is already in cache [INFO] checking libp2p-core-0.13.1 against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] extracting crate libp2p-core 0.13.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate libp2p-core 0.13.1 on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate libp2p-core 0.13.1 [INFO] finished tweaking crates.io crate libp2p-core 0.13.1 [INFO] tweaked toml for crates.io crate libp2p-core 0.13.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97cdb8056ec97b9ffd1e4a8e77bf0108fe58dddde3dcb052e707971d31f8311d [INFO] running `"docker" "start" "-a" "97cdb8056ec97b9ffd1e4a8e77bf0108fe58dddde3dcb052e707971d31f8311d"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking tokio-mock-task v0.1.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking unsigned-varint v0.2.3 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking multistream-select v0.6.0 [INFO] [stderr] Checking parity-multihash v0.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.2 [INFO] [stderr] Checking parking_lot_core v0.5.0 [INFO] [stderr] Checking parking_lot v0.8.0 [INFO] [stderr] Checking parity-multiaddr v0.6.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.2 [INFO] [stderr] Checking libp2p-core v0.13.1 [INFO] [stderr] Checking libp2p-core v0.13.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: constant item is never used: `MAX_INLINE_KEY_LENGTH` [INFO] [stderr] --> src/peer_id.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | const MAX_INLINE_KEY_LENGTH: usize = 42; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] Checking libp2p-tcp v0.13.0 [INFO] [stderr] Checking libp2p-mplex v0.13.0 [INFO] [stderr] Checking libp2p-swarm v0.3.0 [INFO] [stderr] Checking libp2p-secio v0.13.0 [INFO] [stderr] error[E0277]: the trait bound `libp2p_core::upgrade::denied::DeniedUpgrade: libp2p_core::upgrade::OutboundUpgrade` is not satisfied [INFO] [stderr] --> tests/network_dial_error.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 48 | / impl ProtocolsHandler for TestHandler [INFO] [stderr] 49 | | where [INFO] [stderr] 50 | | TSubstream: tokio_io::AsyncRead + tokio_io::AsyncWrite [INFO] [stderr] 51 | | { [INFO] [stderr] ... | [INFO] [stderr] 57 | | type OutboundProtocol = upgrade::DeniedUpgrade; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::OutboundUpgrade` is not implemented for `libp2p_core::upgrade::denied::DeniedUpgrade` [INFO] [stderr] ... | [INFO] [stderr] 87 | | } [INFO] [stderr] 88 | | } [INFO] [stderr] | |_- in this `impl` item [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/workdir/src/upgrade/denied.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / impl OutboundUpgrade for DeniedUpgrade { [INFO] [stderr] 52 | | type Output = Void; [INFO] [stderr] 53 | | type Error = Void; [INFO] [stderr] 54 | | type Future = future::Empty; [INFO] [stderr] ... | [INFO] [stderr] 58 | | } [INFO] [stderr] 59 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `libp2p_core::upgrade::denied::DeniedUpgrade: libp2p_core::upgrade::InboundUpgrade` is not satisfied [INFO] [stderr] --> tests/network_dial_error.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 48 | / impl ProtocolsHandler for TestHandler [INFO] [stderr] 49 | | where [INFO] [stderr] 50 | | TSubstream: tokio_io::AsyncRead + tokio_io::AsyncWrite [INFO] [stderr] 51 | | { [INFO] [stderr] ... | [INFO] [stderr] 56 | | type InboundProtocol = upgrade::DeniedUpgrade; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::InboundUpgrade` is not implemented for `libp2p_core::upgrade::denied::DeniedUpgrade` [INFO] [stderr] ... | [INFO] [stderr] 87 | | } [INFO] [stderr] 88 | | } [INFO] [stderr] | |_- in this `impl` item [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/workdir/src/upgrade/denied.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / impl InboundUpgrade for DeniedUpgrade { [INFO] [stderr] 42 | | type Output = Void; [INFO] [stderr] 43 | | type Error = Void; [INFO] [stderr] 44 | | type Future = future::Empty; [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `libp2p-core`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the trait bound `libp2p_core::upgrade::denied::DeniedUpgrade: libp2p_core::upgrade::OutboundUpgrade` is not satisfied [INFO] [stderr] --> tests/network_simult.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 46 | / impl ProtocolsHandler for TestHandler [INFO] [stderr] 47 | | where [INFO] [stderr] 48 | | TSubstream: tokio_io::AsyncRead + tokio_io::AsyncWrite [INFO] [stderr] 49 | | { [INFO] [stderr] ... | [INFO] [stderr] 55 | | type OutboundProtocol = upgrade::DeniedUpgrade; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::OutboundUpgrade` is not implemented for `libp2p_core::upgrade::denied::DeniedUpgrade` [INFO] [stderr] ... | [INFO] [stderr] 85 | | } [INFO] [stderr] 86 | | } [INFO] [stderr] | |_- in this `impl` item [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/workdir/src/upgrade/denied.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / impl OutboundUpgrade for DeniedUpgrade { [INFO] [stderr] 52 | | type Output = Void; [INFO] [stderr] 53 | | type Error = Void; [INFO] [stderr] 54 | | type Future = future::Empty; [INFO] [stderr] ... | [INFO] [stderr] 58 | | } [INFO] [stderr] 59 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `libp2p_core::upgrade::denied::DeniedUpgrade: libp2p_core::upgrade::InboundUpgrade` is not satisfied [INFO] [stderr] --> tests/network_simult.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 46 | / impl ProtocolsHandler for TestHandler [INFO] [stderr] 47 | | where [INFO] [stderr] 48 | | TSubstream: tokio_io::AsyncRead + tokio_io::AsyncWrite [INFO] [stderr] 49 | | { [INFO] [stderr] ... | [INFO] [stderr] 54 | | type InboundProtocol = upgrade::DeniedUpgrade; [INFO] [stderr] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::InboundUpgrade` is not implemented for `libp2p_core::upgrade::denied::DeniedUpgrade` [INFO] [stderr] ... | [INFO] [stderr] 85 | | } [INFO] [stderr] 86 | | } [INFO] [stderr] | |_- in this `impl` item [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/workdir/src/upgrade/denied.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / impl InboundUpgrade for DeniedUpgrade { [INFO] [stderr] 42 | | type Output = Void; [INFO] [stderr] 43 | | type Error = Void; [INFO] [stderr] 44 | | type Future = future::Empty; [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `libp2p-core`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/transport_upgrade.rs:82:40 [INFO] [stderr] | [INFO] [stderr] 82 | .authenticate(SecioConfig::new(listener_keys)) [INFO] [stderr] | ^^^^^^^^^^^^^ expected enum `libp2p_core::identity::Keypair`, found a different enum `libp2p_core::identity::Keypair` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `libp2p_secio::SecioConfig: libp2p_core::upgrade::InboundUpgrade>` is not satisfied [INFO] [stderr] --> tests/transport_upgrade.rs:82:23 [INFO] [stderr] | [INFO] [stderr] 82 | .authenticate(SecioConfig::new(listener_keys)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::InboundUpgrade>` is not implemented for `libp2p_secio::SecioConfig` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-secio-0.13.0/src/lib.rs:178:1 [INFO] [stderr] | [INFO] [stderr] 178 | / impl InboundUpgrade for SecioConfig [INFO] [stderr] 179 | | where [INFO] [stderr] 180 | | T: AsyncRead + AsyncWrite + Send + 'static [INFO] [stderr] 181 | | { [INFO] [stderr] ... | [INFO] [stderr] 188 | | } [INFO] [stderr] 189 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `libp2p_secio::SecioConfig: libp2p_core::upgrade::OutboundUpgrade>` is not satisfied [INFO] [stderr] --> tests/transport_upgrade.rs:82:23 [INFO] [stderr] | [INFO] [stderr] 82 | .authenticate(SecioConfig::new(listener_keys)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::OutboundUpgrade>` is not implemented for `libp2p_secio::SecioConfig` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-secio-0.13.0/src/lib.rs:191:1 [INFO] [stderr] | [INFO] [stderr] 191 | / impl OutboundUpgrade for SecioConfig [INFO] [stderr] 192 | | where [INFO] [stderr] 193 | | T: AsyncRead + AsyncWrite + Send + 'static [INFO] [stderr] 194 | | { [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `apply` found for type `libp2p_core::transport::upgrade::Builder, libp2p_core::ConnectedPoint)>+std::clone::Clone>>` in the current scope [INFO] [stderr] --> tests/transport_upgrade.rs:83:10 [INFO] [stderr] | [INFO] [stderr] 83 | .apply(HelloUpgrade {}) [INFO] [stderr] | ^^^^^ method not found in `libp2p_core::transport::upgrade::Builder, libp2p_core::ConnectedPoint)>+std::clone::Clone>>` [INFO] [stderr] | [INFO] [stderr] = note: the method `apply` exists but the following trait bounds were not satisfied: [INFO] [stderr] `libp2p_core::transport::and_then::AndThen, libp2p_core::ConnectedPoint)>+std::clone::Clone> : libp2p_core::transport::Transport` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/transport_upgrade.rs:97:40 [INFO] [stderr] | [INFO] [stderr] 97 | .authenticate(SecioConfig::new(dialer_keys)) [INFO] [stderr] | ^^^^^^^^^^^ expected enum `libp2p_core::identity::Keypair`, found a different enum `libp2p_core::identity::Keypair` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `libp2p_secio::SecioConfig: libp2p_core::upgrade::InboundUpgrade>` is not satisfied [INFO] [stderr] --> tests/transport_upgrade.rs:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | .authenticate(SecioConfig::new(dialer_keys)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::InboundUpgrade>` is not implemented for `libp2p_secio::SecioConfig` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-secio-0.13.0/src/lib.rs:178:1 [INFO] [stderr] | [INFO] [stderr] 178 | / impl InboundUpgrade for SecioConfig [INFO] [stderr] 179 | | where [INFO] [stderr] 180 | | T: AsyncRead + AsyncWrite + Send + 'static [INFO] [stderr] 181 | | { [INFO] [stderr] ... | [INFO] [stderr] 188 | | } [INFO] [stderr] 189 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `libp2p_secio::SecioConfig: libp2p_core::upgrade::OutboundUpgrade>` is not satisfied [INFO] [stderr] --> tests/transport_upgrade.rs:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | .authenticate(SecioConfig::new(dialer_keys)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libp2p_core::upgrade::OutboundUpgrade>` is not implemented for `libp2p_secio::SecioConfig` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-secio-0.13.0/src/lib.rs:191:1 [INFO] [stderr] | [INFO] [stderr] 191 | / impl OutboundUpgrade for SecioConfig [INFO] [stderr] 192 | | where [INFO] [stderr] 193 | | T: AsyncRead + AsyncWrite + Send + 'static [INFO] [stderr] 194 | | { [INFO] [stderr] ... | [INFO] [stderr] 201 | | } [INFO] [stderr] 202 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: Perhaps two different versions of crate `libp2p_core` are being used? [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `apply` found for type `libp2p_core::transport::upgrade::Builder, libp2p_core::ConnectedPoint)>+std::clone::Clone>>` in the current scope [INFO] [stderr] --> tests/transport_upgrade.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | .apply(HelloUpgrade {}) [INFO] [stderr] | ^^^^^ method not found in `libp2p_core::transport::upgrade::Builder, libp2p_core::ConnectedPoint)>+std::clone::Clone>>` [INFO] [stderr] | [INFO] [stderr] = note: the method `apply` exists but the following trait bounds were not satisfied: [INFO] [stderr] `libp2p_core::transport::and_then::AndThen, libp2p_core::ConnectedPoint)>+std::clone::Clone> : libp2p_core::transport::Transport` [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::stream::Stream` [INFO] [stderr] --> tests/transport_upgrade.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use futures::stream::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `libp2p-core`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: constant item is never used: `MAX_INLINE_KEY_LENGTH` [INFO] [stderr] --> src/peer_id.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | const MAX_INLINE_KEY_LENGTH: usize = 42; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "97cdb8056ec97b9ffd1e4a8e77bf0108fe58dddde3dcb052e707971d31f8311d"` [INFO] running `"docker" "rm" "-f" "97cdb8056ec97b9ffd1e4a8e77bf0108fe58dddde3dcb052e707971d31f8311d"` [INFO] [stdout] 97cdb8056ec97b9ffd1e4a8e77bf0108fe58dddde3dcb052e707971d31f8311d