[INFO] fetching crate libp2p-secio 0.26.0... [INFO] testing libp2p-secio-0.26.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate libp2p-secio 0.26.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate libp2p-secio 0.26.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-secio 0.26.0 [INFO] finished tweaking crates.io crate libp2p-secio 0.26.0 [INFO] tweaked toml for crates.io crate libp2p-secio 0.26.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", 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] f5328385103040a6348b9e7cf9a45de870956bdc9e7fb0d90e10496e0ccb9be4 [INFO] running `Command { std: "docker" "start" "-a" "f5328385103040a6348b9e7cf9a45de870956bdc9e7fb0d90e10496e0ccb9be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5328385103040a6348b9e7cf9a45de870956bdc9e7fb0d90e10496e0ccb9be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5328385103040a6348b9e7cf9a45de870956bdc9e7fb0d90e10496e0ccb9be4", kill_on_drop: false }` [INFO] [stdout] f5328385103040a6348b9e7cf9a45de870956bdc9e7fb0d90e10496e0ccb9be4 [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 8bc804e83cae812d30bb1717291149450bb7604a7594277cba799daf67f69741 [INFO] running `Command { std: "docker" "start" "-a" "8bc804e83cae812d30bb1717291149450bb7604a7594277cba799daf67f69741", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling parity-multiaddr v0.10.1 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling twofish v0.2.0 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling aes-ctr v0.3.0 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling multistream-select v0.9.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling libp2p-core v0.26.0 [INFO] [stderr] Compiling libp2p-secio v0.26.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.23s [INFO] running `Command { std: "docker" "inspect" "8bc804e83cae812d30bb1717291149450bb7604a7594277cba799daf67f69741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc804e83cae812d30bb1717291149450bb7604a7594277cba799daf67f69741", kill_on_drop: false }` [INFO] [stdout] 8bc804e83cae812d30bb1717291149450bb7604a7594277cba799daf67f69741 [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6901cd73eb1df27bc0b04832b5f13a3ff4c9484c4f1361ad078341113fe1e474 [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" "6901cd73eb1df27bc0b04832b5f13a3ff4c9484c4f1361ad078341113fe1e474", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling libp2p-secio v0.26.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 59.50s [INFO] running `Command { std: "docker" "inspect" "6901cd73eb1df27bc0b04832b5f13a3ff4c9484c4f1361ad078341113fe1e474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6901cd73eb1df27bc0b04832b5f13a3ff4c9484c4f1361ad078341113fe1e474", kill_on_drop: false }` [INFO] [stdout] 6901cd73eb1df27bc0b04832b5f13a3ff4c9484c4f1361ad078341113fe1e474 [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8cadabe6f5a4fd1fc31234d344fff2d50041fee5b5f3cd760c0d1c20057a734 [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" "b8cadabe6f5a4fd1fc31234d344fff2d50041fee5b5f3cd760c0d1c20057a734", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libp2p_secio-aa99d83e3cf652d7) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test algo_support::tests::cipher_non_null ... ok [INFO] [stdout] test handshake::tests::stretch ... ok [INFO] [stdout] test codec::tests::raw_encode_then_decode ... ok [INFO] [stdout] test codec::tests::full_codec_encode_then_decode_twofish ... ok [INFO] [stdout] test codec::tests::full_codec_encode_then_decode_aes256 ... ok [INFO] [stdout] test codec::tests::full_codec_encode_then_decode_aes128 ... ok [INFO] [stdout] test handshake::tests::handshake_with_self_succeeds_ed25519 ... ok [INFO] [stdout] test codec::tests::full_codec_encode_then_decode_null ... ok [INFO] [stdout] test handshake::tests::handshake_with_self_succeeds_rsa ... ok [INFO] [stdout] test handshake::tests::handshake_with_self_succeeds_secp256k1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests libp2p-secio [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `libp2p_mplex` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libp2p_mplex::MplexConfig; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_mplex` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_tcp` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libp2p_tcp::TcpConfig; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b8cadabe6f5a4fd1fc31234d344fff2d50041fee5b5f3cd760c0d1c20057a734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8cadabe6f5a4fd1fc31234d344fff2d50041fee5b5f3cd760c0d1c20057a734", kill_on_drop: false }` [INFO] [stdout] b8cadabe6f5a4fd1fc31234d344fff2d50041fee5b5f3cd760c0d1c20057a734