[INFO] crate libp2p-core 0.17.1 is already in cache [INFO] checking libp2p-core-0.17.1 against try#3ae4c050387df9f7fbb379ee90ce8bf05e566870 for pr-70872 [INFO] extracting crate libp2p-core 0.17.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate libp2p-core 0.17.1 on toolchain 3ae4c050387df9f7fbb379ee90ce8bf05e566870 [INFO] running `"/workspace/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate libp2p-core 0.17.1 [INFO] finished tweaking crates.io crate libp2p-core 0.17.1 [INFO] tweaked toml for crates.io crate libp2p-core 0.17.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "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] 89b720dc92fb573a06a574e783e6a3a61d338fdee70c300e9dd5cbb93cd1ca85 [INFO] running `"docker" "start" "-a" "89b720dc92fb573a06a574e783e6a3a61d338fdee70c300e9dd5cbb93cd1ca85"` [INFO] [stderr] Checking futures_codec v0.3.4 [INFO] [stderr] Compiling libp2p-core v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking unsigned-varint v0.3.2 [INFO] [stderr] Checking multihash v0.10.1 [INFO] [stderr] Checking multistream-select v0.8.0 [INFO] [stderr] Checking parity-multiaddr v0.8.0 [INFO] [stderr] Checking libp2p-core v0.17.1 [INFO] [stderr] Checking libp2p-mplex v0.17.0 [INFO] [stderr] Checking libp2p-tcp v0.17.0 [INFO] [stderr] Checking libp2p-secio v0.17.0 [INFO] [stderr] error[E0599]: no method named `upgrade` found for struct `libp2p_tcp::TcpConfig` in the current scope [INFO] [stderr] --> tests/network_dial_error.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | .upgrade(upgrade::Version::V1) [INFO] [stderr] | ^^^^^^^ method not found in `libp2p_tcp::TcpConfig` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.17.1/src/transport.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | fn upgrade(self, version: upgrade::Version) -> upgrade::Builder [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 23 | use libp2p_core::transport::Transport; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/network_dial_error.rs:50:58 [INFO] [stderr] | [INFO] [stderr] 50 | .authenticate(libp2p_secio::SecioConfig::new(local_key)) [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[E0308]: mismatched types [INFO] [stderr] --> tests/transport_upgrade.rs:86:40 [INFO] [stderr] | [INFO] [stderr] 86 | .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[E0599]: no method named `upgrade` found for struct `libp2p_tcp::TcpConfig` in the current scope [INFO] [stderr] --> tests/network_dial_error.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | .upgrade(upgrade::Version::V1) [INFO] [stderr] | ^^^^^^^ method not found in `libp2p_tcp::TcpConfig` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.17.1/src/transport.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | fn upgrade(self, version: upgrade::Version) -> upgrade::Builder [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 23 | use libp2p_core::transport::Transport; [INFO] [stderr] | [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:86:23 [INFO] [stderr] | [INFO] [stderr] 86 | .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.17.0/src/lib.rs:179:1 [INFO] [stderr] | [INFO] [stderr] 179 | / impl InboundUpgrade for SecioConfig [INFO] [stderr] 180 | | where [INFO] [stderr] 181 | | T: AsyncRead + AsyncWrite + Unpin + Send + 'static [INFO] [stderr] 182 | | { [INFO] [stderr] ... | [INFO] [stderr] 189 | | } [INFO] [stderr] 190 | | } [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:86:23 [INFO] [stderr] | [INFO] [stderr] 86 | .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.17.0/src/lib.rs:192:1 [INFO] [stderr] | [INFO] [stderr] 192 | / impl OutboundUpgrade for SecioConfig [INFO] [stderr] 193 | | where [INFO] [stderr] 194 | | T: AsyncRead + AsyncWrite + Unpin + Send + 'static [INFO] [stderr] 195 | | { [INFO] [stderr] ... | [INFO] [stderr] 202 | | } [INFO] [stderr] 203 | | } [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 struct `libp2p_core::transport::upgrade::Builder, libp2p_core::connection::ConnectedPoint)>>>` in the current scope [INFO] [stderr] --> tests/transport_upgrade.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | .apply(HelloUpgrade {}) [INFO] [stderr] | ^^^^^ method not found in `libp2p_core::transport::upgrade::Builder, libp2p_core::connection::ConnectedPoint)>>>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/workdir/src/transport/and_then.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct AndThen { transport: T, fun: C } [INFO] [stderr] | ------------------------ doesn't satisfy `_: libp2p_core::transport::Transport` [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::connection::ConnectedPoint)>>: libp2p_core::transport::Transport` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/network_dial_error.rs:61:58 [INFO] [stderr] | [INFO] [stderr] 61 | .authenticate(libp2p_secio::SecioConfig::new(local_key)) [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[E0599]: no method named `upgrade` found for struct `libp2p_tcp::TcpConfig` in the current scope [INFO] [stderr] --> tests/network_dial_error.rs:126:14 [INFO] [stderr] | [INFO] [stderr] 126 | .upgrade(upgrade::Version::V1) [INFO] [stderr] | ^^^^^^^ method not found in `libp2p_tcp::TcpConfig` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.17.1/src/transport.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | fn upgrade(self, version: upgrade::Version) -> upgrade::Builder [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 23 | use libp2p_core::transport::Transport; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/transport_upgrade.rs:101:40 [INFO] [stderr] | [INFO] [stderr] 101 | .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:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | .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.17.0/src/lib.rs:179:1 [INFO] [stderr] | [INFO] [stderr] 179 | / impl InboundUpgrade for SecioConfig [INFO] [stderr] 180 | | where [INFO] [stderr] 181 | | T: AsyncRead + AsyncWrite + Unpin + Send + 'static [INFO] [stderr] 182 | | { [INFO] [stderr] ... | [INFO] [stderr] 189 | | } [INFO] [stderr] 190 | | } [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:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | .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.17.0/src/lib.rs:192:1 [INFO] [stderr] | [INFO] [stderr] 192 | / impl OutboundUpgrade for SecioConfig [INFO] [stderr] 193 | | where [INFO] [stderr] 194 | | T: AsyncRead + AsyncWrite + Unpin + Send + 'static [INFO] [stderr] 195 | | { [INFO] [stderr] ... | [INFO] [stderr] 202 | | } [INFO] [stderr] 203 | | } [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 struct `libp2p_core::transport::upgrade::Builder, libp2p_core::connection::ConnectedPoint)>>>` in the current scope [INFO] [stderr] --> tests/transport_upgrade.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | .apply(HelloUpgrade {}) [INFO] [stderr] | ^^^^^ method not found in `libp2p_core::transport::upgrade::Builder, libp2p_core::connection::ConnectedPoint)>>>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/workdir/src/transport/and_then.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct AndThen { transport: T, fun: C } [INFO] [stderr] | ------------------------ doesn't satisfy `_: libp2p_core::transport::Transport` [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::connection::ConnectedPoint)>>: libp2p_core::transport::Transport` [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/network_dial_error.rs:127:58 [INFO] [stderr] | [INFO] [stderr] 127 | .authenticate(libp2p_secio::SecioConfig::new(local_key)) [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[E0599]: no method named `upgrade` found for struct `libp2p_tcp::TcpConfig` in the current scope [INFO] [stderr] --> tests/network_dial_error.rs:201:14 [INFO] [stderr] | [INFO] [stderr] 201 | .upgrade(upgrade::Version::V1) [INFO] [stderr] | ^^^^^^^ method not found in `libp2p_tcp::TcpConfig` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.17.1/src/transport.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | fn upgrade(self, version: upgrade::Version) -> upgrade::Builder [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 23 | use libp2p_core::transport::Transport; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/network_dial_error.rs:202:58 [INFO] [stderr] | [INFO] [stderr] 202 | .authenticate(libp2p_secio::SecioConfig::new(local_key)) [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[E0599]: no method named `upgrade` found for struct `libp2p_tcp::TcpConfig` in the current scope [INFO] [stderr] --> tests/network_dial_error.rs:220:14 [INFO] [stderr] | [INFO] [stderr] 220 | .upgrade(upgrade::Version::V1) [INFO] [stderr] | ^^^^^^^ method not found in `libp2p_tcp::TcpConfig` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.17.1/src/transport.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | fn upgrade(self, version: upgrade::Version) -> upgrade::Builder [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 23 | use libp2p_core::transport::Transport; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/network_dial_error.rs:221:58 [INFO] [stderr] | [INFO] [stderr] 221 | .authenticate(libp2p_secio::SecioConfig::new(local_key)) [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] warning: unused import: `Transport` [INFO] [stderr] --> tests/network_dial_error.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Transport, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `libp2p-core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "89b720dc92fb573a06a574e783e6a3a61d338fdee70c300e9dd5cbb93cd1ca85"` [INFO] running `"docker" "rm" "-f" "89b720dc92fb573a06a574e783e6a3a61d338fdee70c300e9dd5cbb93cd1ca85"` [INFO] [stdout] 89b720dc92fb573a06a574e783e6a3a61d338fdee70c300e9dd5cbb93cd1ca85