[INFO] crate libp2p-secio 0.16.1 is already in cache [INFO] checking libp2p-secio-0.16.1 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate libp2p-secio 0.16.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate libp2p-secio 0.16.1 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate libp2p-secio 0.16.1 [INFO] finished tweaking crates.io crate libp2p-secio 0.16.1 [INFO] tweaked toml for crates.io crate libp2p-secio 0.16.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "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] 73c57914ecee8728cb07768fe87866f3dc7f9d1ab9c6570b81409f25682ce087 [INFO] running `"docker" "start" "-a" "73c57914ecee8728cb07768fe87866f3dc7f9d1ab9c6570b81409f25682ce087"` [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling multimap v0.8.0 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking bs58 v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking ipnet v2.2.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Checking quicksink v0.1.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking futures_codec v0.3.4 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking unsigned-varint v0.3.2 [INFO] [stderr] Checking parity-multihash v0.2.3 [INFO] [stderr] Checking multistream-select v0.7.0 [INFO] [stderr] Checking parity-multiaddr v0.7.3 [INFO] [stderr] Compiling libp2p-core v0.16.0 [INFO] [stderr] Compiling libp2p-secio v0.16.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking libp2p-tcp v0.16.0 [INFO] [stderr] Checking libp2p-mplex v0.16.0 [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> benches/bench.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use tokio::{ [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio` [INFO] [stderr] --> benches/bench.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use tokio::{ [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SecioKeyPair` in `libp2p_secio` [INFO] [stderr] --> benches/bench.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | let key = libp2p_secio::SecioKeyPair::ed25519_generated().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ could not find `SecioKeyPair` in `libp2p_secio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Runtime` [INFO] [stderr] --> benches/bench.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let mut rt = Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Runtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Runtime` [INFO] [stderr] --> benches/bench.rs:101:22 [INFO] [stderr] | [INFO] [stderr] 101 | let mut rt = Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Runtime` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_upgrade` found for struct `libp2p_tcp::TcpConfig` in the current scope [INFO] [stderr] --> benches/bench.rs:32:38 [INFO] [stderr] | [INFO] [stderr] 32 | libp2p_tcp::TcpConfig::new().with_upgrade(libp2p_secio::SecioConfig::new(key)); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `libp2p_tcp::TcpConfig` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> benches/bench.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | let (listener, addr) = transport [INFO] [stderr] | _____________^^^^^^^^^^^^^^^^___- [INFO] [stderr] | | | [INFO] [stderr] | | expected struct `std::pin::Pin`, found tuple [INFO] [stderr] 75 | | .clone() [INFO] [stderr] 76 | | .listen_on("/ip4/127.0.0.1/tcp/0".parse().unwrap()) [INFO] [stderr] 77 | | .unwrap(); [INFO] [stderr] | |_____________________- this expression has type `std::pin::Pin>, std::io::Error>, std::io::Error>> + std::marker::Send>>` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::pin::Pin>, std::io::Error>, std::io::Error>> + std::marker::Send>>` [INFO] [stderr] found tuple `(_, _)` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `libp2p-secio`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "73c57914ecee8728cb07768fe87866f3dc7f9d1ab9c6570b81409f25682ce087"` [INFO] running `"docker" "rm" "-f" "73c57914ecee8728cb07768fe87866f3dc7f9d1ab9c6570b81409f25682ce087"` [INFO] [stdout] 73c57914ecee8728cb07768fe87866f3dc7f9d1ab9c6570b81409f25682ce087