[INFO] fetching crate fluence-fork-libp2p-mplex 0.27.2... [INFO] checking fluence-fork-libp2p-mplex-0.27.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate fluence-fork-libp2p-mplex 0.27.2 into /workspace/builds/worker-58/source [INFO] validating manifest of crates.io crate fluence-fork-libp2p-mplex 0.27.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fluence-fork-libp2p-mplex 0.27.2 [INFO] finished tweaking crates.io crate fluence-fork-libp2p-mplex 0.27.2 [INFO] tweaked toml for crates.io crate fluence-fork-libp2p-mplex 0.27.2 written to /workspace/builds/worker-58/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8a4102eb8aeb2d2ba0a2e212aecb7133e3a31d1bc4aff0a7270b8adf223d2ec [INFO] running `Command { std: "docker" "start" "-a" "a8a4102eb8aeb2d2ba0a2e212aecb7133e3a31d1bc4aff0a7270b8adf223d2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8a4102eb8aeb2d2ba0a2e212aecb7133e3a31d1bc4aff0a7270b8adf223d2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a4102eb8aeb2d2ba0a2e212aecb7133e3a31d1bc4aff0a7270b8adf223d2ec", kill_on_drop: false }` [INFO] [stdout] a8a4102eb8aeb2d2ba0a2e212aecb7133e3a31d1bc4aff0a7270b8adf223d2ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a17836e5f8db38299a0f94873cfaf38ac671fabf47cb41671e373fd00d60ed48 [INFO] running `Command { std: "docker" "start" "-a" "a17836e5f8db38299a0f94873cfaf38ac671fabf47cb41671e373fd00d60ed48", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] bytes v1.0.1 (as host dependency): default, std [INFO] [stderr] futures-channel v0.3.16: default [INFO] [stderr] futures-core v0.3.16: default [INFO] [stderr] futures-io v0.3.16: default [INFO] [stderr] log v0.4.14: kv_unstable, std, value-bag [INFO] [stderr] log v0.4.14 (as host dependency): kv_unstable, std, value-bag [INFO] [stderr] prost v0.7.0 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [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.9.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking fluence-fork-parity-multiaddr v0.11.2 [INFO] [stderr] Checking fluence-fork-multistream-select v0.10.3 [INFO] [stderr] Compiling fluence-fork-libp2p-core v0.27.2 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking fluence-fork-libp2p-mplex v0.27.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/split_send_size.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/async_write.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/two_peers.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `libp2p_plaintext` [INFO] [stdout] --> benches/split_send_size.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p_plaintext::PlainText2Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_plaintext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_tcp` [INFO] [stdout] --> benches/split_send_size.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | libp2p_tcp::TcpConfig::new().nodelay(true) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluence-fork-libp2p-mplex` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `libp2p_tcp` [INFO] [stdout] --> tests/async_write.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p_tcp::TcpConfig; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/async_write.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(s) = muxing::event_from_ref_and_wrap(client.clone()).await.unwrap() [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> tests/async_write.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::{muxing, upgrade, Transport}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_tcp` [INFO] [stdout] --> tests/two_peers.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p_tcp::TcpConfig; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/two_peers.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(s) = muxing::event_from_ref_and_wrap(client.clone()).await.unwrap() [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/two_peers.rs:113:69 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(s) = muxing::event_from_ref_and_wrap(client.clone()).await.unwrap() [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> tests/two_peers.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::{muxing, upgrade, Transport}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a17836e5f8db38299a0f94873cfaf38ac671fabf47cb41671e373fd00d60ed48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a17836e5f8db38299a0f94873cfaf38ac671fabf47cb41671e373fd00d60ed48", kill_on_drop: false }` [INFO] [stdout] a17836e5f8db38299a0f94873cfaf38ac671fabf47cb41671e373fd00d60ed48