[INFO] fetching crate libp2p 0.23.0... [INFO] testing libp2p-0.23.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate libp2p 0.23.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate libp2p 0.23.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p 0.23.0 [INFO] finished tweaking crates.io crate libp2p 0.23.0 [INFO] tweaked toml for crates.io crate libp2p 0.23.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate libp2p 0.23.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ba113a31bd211cf7c544f4c5d7a096a98aaad3bfa19252e8c1a8469da551949 [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" "7ba113a31bd211cf7c544f4c5d7a096a98aaad3bfa19252e8c1a8469da551949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ba113a31bd211cf7c544f4c5d7a096a98aaad3bfa19252e8c1a8469da551949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba113a31bd211cf7c544f4c5d7a096a98aaad3bfa19252e8c1a8469da551949", kill_on_drop: false }` [INFO] [stdout] 7ba113a31bd211cf7c544f4c5d7a096a98aaad3bfa19252e8c1a8469da551949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e053a7d7e31ca44274c8226b77583e058c5f7e54284b970f140eaa5647495c2 [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" "6e053a7d7e31ca44274c8226b77583e058c5f7e54284b970f140eaa5647495c2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling signature v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.65 [INFO] [stderr] Compiling parking v1.0.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.65 [INFO] [stderr] Compiling cpuid-bool v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling parity-send-wrapper v0.1.0 [INFO] [stderr] Compiling atomic v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling ed25519 v1.0.1 [INFO] [stderr] Compiling snow v0.7.1 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling cuckoofilter v0.3.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling salsa20-core v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling salsa20 v0.3.0 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling stream-cipher v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling polyval v0.4.0 [INFO] [stderr] Compiling poly1305 v0.6.0 [INFO] [stderr] Compiling blake2 v0.9.0 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling aes-gcm v0.6.0 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling chacha20 v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling chacha20poly1305 v0.5.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling x25519-dalek v0.6.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling js-sys v0.3.42 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling libp2p-gossipsub v0.20.0 [INFO] [stderr] Compiling libp2p-plaintext v0.20.0 [INFO] [stderr] Compiling libp2p-floodsub v0.20.0 [INFO] [stderr] Compiling libp2p-secio v0.20.0 [INFO] [stderr] Compiling libp2p-noise v0.22.0 [INFO] [stderr] Compiling libp2p-kad v0.21.0 [INFO] [stderr] Compiling libp2p-identify v0.20.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.15 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling futures_codec v0.4.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling yamux v0.4.7 [INFO] [stderr] Compiling async-tls v0.8.0 [INFO] [stderr] Compiling soketto v0.4.1 [INFO] [stderr] Compiling libp2p-pnet v0.19.1 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-mplex v0.20.0 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [INFO] [stderr] Compiling libp2p-deflate v0.20.0 [INFO] [stderr] Compiling libp2p-yamux v0.20.0 [INFO] [stderr] Compiling libp2p-uds v0.20.0 [INFO] [stderr] Compiling libp2p-tcp v0.20.0 [INFO] [stderr] Compiling libp2p-request-response v0.1.1 [INFO] [stderr] Compiling libp2p-ping v0.20.0 [INFO] [stderr] Compiling libp2p-mdns v0.20.0 [INFO] [stderr] Compiling libp2p v0.23.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "6e053a7d7e31ca44274c8226b77583e058c5f7e54284b970f140eaa5647495c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e053a7d7e31ca44274c8226b77583e058c5f7e54284b970f140eaa5647495c2", kill_on_drop: false }` [INFO] [stdout] 6e053a7d7e31ca44274c8226b77583e058c5f7e54284b970f140eaa5647495c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 786fdc0ea48d63821adb14246bfe58b6783df79af0c4cf413716234717716acc [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" "786fdc0ea48d63821adb14246bfe58b6783df79af0c4cf413716234717716acc", kill_on_drop: false }` [INFO] [stderr] Compiling libp2p v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `libp2p::gossipsub::MessageAuthenticity` [INFO] [stdout] --> examples/ipfs-private.rs:38:74 [INFO] [stdout] | [INFO] [stdout] 38 | gossipsub::{self, Gossipsub, GossipsubConfigBuilder, GossipsubEvent, MessageAuthenticity}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `MessageAuthenticity` in `gossipsub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p::gossipsub::MessageAuthenticity` [INFO] [stdout] --> examples/gossipsub-chat.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | use libp2p::gossipsub::{GossipsubEvent, GossipsubMessage, MessageAuthenticity, Topic}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `MessageAuthenticity` in `gossipsub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/ipfs-private.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | if let Err(e) = match stdin.try_poll_next_unpin(cx)? { [INFO] [stdout] | ____________________^^^^^^___- [INFO] [stdout] | | | [INFO] [stdout] | | expected `()`, found enum `std::result::Result` [INFO] [stdout] 278 | | Poll::Ready(Some(line)) => { [INFO] [stdout] 279 | | swarm.gossipsub.publish(&gossipsub_topic, line.as_bytes()) [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | Poll::Ready(None) => panic!("Stdin closed"), [INFO] [stdout] 282 | | Poll::Pending => break, [INFO] [stdout] 283 | | } { [INFO] [stdout] | |_____________- this expression has type `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p`. [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/gossipsub-chat.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | MessageId::from(s.finish().to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `libp2p_gossipsub::protocol::MessageId`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/gossipsub-chat.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | if let Err(e) = match stdin.try_poll_next_unpin(cx)? { [INFO] [stdout] | ____________________^^^^^^___- [INFO] [stdout] | | | [INFO] [stdout] | | expected `()`, found enum `std::result::Result` [INFO] [stdout] 125 | | Poll::Ready(Some(line)) => swarm.publish(&topic, line.as_bytes()), [INFO] [stdout] 126 | | Poll::Ready(None) => panic!("Stdin closed"), [INFO] [stdout] 127 | | Poll::Pending => break, [INFO] [stdout] 128 | | } { [INFO] [stdout] | |_____________- this expression has type `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "786fdc0ea48d63821adb14246bfe58b6783df79af0c4cf413716234717716acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786fdc0ea48d63821adb14246bfe58b6783df79af0c4cf413716234717716acc", kill_on_drop: false }` [INFO] [stdout] 786fdc0ea48d63821adb14246bfe58b6783df79af0c4cf413716234717716acc