[INFO] fetching crate libp2p-websocket 0.30.0... [INFO] checking libp2p-websocket-0.30.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate libp2p-websocket 0.30.0 into /workspace/builds/worker-39/source [INFO] validating manifest of crates.io crate libp2p-websocket 0.30.0 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 libp2p-websocket 0.30.0 [INFO] finished tweaking crates.io crate libp2p-websocket 0.30.0 [INFO] tweaked toml for crates.io crate libp2p-websocket 0.30.0 written to /workspace/builds/worker-39/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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-rustls v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] 5e4b36bd52a98dff6433a477cf52afc7fa6e92c6033e077606b6844d23cab5c9 [INFO] running `Command { std: "docker" "start" "-a" "5e4b36bd52a98dff6433a477cf52afc7fa6e92c6033e077606b6844d23cab5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e4b36bd52a98dff6433a477cf52afc7fa6e92c6033e077606b6844d23cab5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4b36bd52a98dff6433a477cf52afc7fa6e92c6033e077606b6844d23cab5c9", kill_on_drop: false }` [INFO] [stdout] 5e4b36bd52a98dff6433a477cf52afc7fa6e92c6033e077606b6844d23cab5c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] b90aff2723eefee117620c13c25f6d1d8b3a5e135da2463a75dd393aa72f42c0 [INFO] running `Command { std: "docker" "start" "-a" "b90aff2723eefee117620c13c25f6d1d8b3a5e135da2463a75dd393aa72f42c0", 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] 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] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking asn1_der v0.7.4 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking lock_api v0.4.4 [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] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking futures-rustls v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Checking multihash v0.14.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Compiling libp2p-core v0.29.0 [INFO] [stderr] Checking multiaddr v0.13.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking libp2p-websocket v0.30.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `libp2p_tcp` [INFO] [stdout] --> src/lib.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use libp2p_tcp as tcp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no external crate `libp2p_tcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/framed.rs:159:46 [INFO] [stdout] | [INFO] [stdout] 159 | let upgrade = async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 160 | | let stream = upgrade.map_err(Error::Transport).await?; [INFO] [stdout] 161 | | trace!("incoming connection from {}", remote1); [INFO] [stdout] 162 | | [INFO] [stdout] ... | [INFO] [stdout] 165 | | let server = tls_config [INFO] [stdout] | |______________________________________________- [INFO] [stdout] 166 | || .server [INFO] [stdout] | ||___________________________________________- in Rust 2018, this closure captures all of `tls_config`, but in Rust 2021, it will only capture `tls_config.server` [INFO] [stdout] ... | [INFO] [stdout] 220 | | Ok(conn) [INFO] [stdout] 221 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | } [INFO] [stdout] | - in Rust 2018, `tls_config` is dropped here, but in Rust 2021, only `tls_config.server` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `tls_config` to be fully captured [INFO] [stdout] | [INFO] [stdout] 159 ~ let upgrade = async move { [INFO] [stdout] 160 + let _ = &tls_config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-websocket` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/framed.rs (1 fix) [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" "b90aff2723eefee117620c13c25f6d1d8b3a5e135da2463a75dd393aa72f42c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b90aff2723eefee117620c13c25f6d1d8b3a5e135da2463a75dd393aa72f42c0", kill_on_drop: false }` [INFO] [stdout] b90aff2723eefee117620c13c25f6d1d8b3a5e135da2463a75dd393aa72f42c0