[INFO] cloning repository https://github.com/hwchen/example-wrap-stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hwchen/example-wrap-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Fexample-wrap-stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Fexample-wrap-stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5096fbe05b89a3df201efe37048f62b034865139 [INFO] checking hwchen/example-wrap-stream against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Fexample-wrap-stream" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hwchen/example-wrap-stream 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 git repo https://github.com/hwchen/example-wrap-stream [INFO] finished tweaking git repo https://github.com/hwchen/example-wrap-stream [INFO] tweaked toml for git repo https://github.com/hwchen/example-wrap-stream written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/hwchen/example-wrap-stream already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] f502f2746eb80a757a652413ab88f3760a3a79e74cc6899a64bd6de6b21ff2ca [INFO] running `Command { std: "docker" "start" "-a" "f502f2746eb80a757a652413ab88f3760a3a79e74cc6899a64bd6de6b21ff2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f502f2746eb80a757a652413ab88f3760a3a79e74cc6899a64bd6de6b21ff2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f502f2746eb80a757a652413ab88f3760a3a79e74cc6899a64bd6de6b21ff2ca", kill_on_drop: false }` [INFO] [stdout] f502f2746eb80a757a652413ab88f3760a3a79e74cc6899a64bd6de6b21ff2ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 6333970823a50f4534528a0d6c7f182dc5855ddcc06d3e8ee69854e28d1e1009 [INFO] running `Command { std: "docker" "start" "-a" "6333970823a50f4534528a0d6c7f182dc5855ddcc06d3e8ee69854e28d1e1009", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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] tokio v0.2.18: winapi [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking example-wrap-stream v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `Tokio02AsyncWriteCompatExt` [INFO] [stdout] --> src/main.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::compat::{Compat, Tokio02AsyncReadCompatExt, Tokio02AsyncWriteCompatExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Compat` in the current scope [INFO] [stdout] --> src/main.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | (*self.0).poll_read(cx, buf) [INFO] [stdout] | ^^^^^^^^^ method not found in `Compat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-io-0.3.4/src/lib.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut [u8]) [INFO] [stdout] | --------- the method is available for `Pin<&mut Compat>` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 39 | Pin::new(&mut (*self.0)).poll_read(cx, buf) [INFO] [stdout] | +++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_write` found for struct `Pin<&mut &Compat>` in the current scope [INFO] [stdout] --> src/main.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | Pin::new(&mut &*self.0).poll_write(cx, buf) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut &Compat>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_flush` found for struct `Pin<&mut &Compat>` in the current scope [INFO] [stdout] --> src/main.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | Pin::new(&mut &*self.0).poll_flush(cx) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut &Compat>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_close` found for struct `Pin<&mut &Compat>` in the current scope [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | Pin::new(&mut &*self.0).poll_close(cx) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut &Compat>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example-wrap-stream` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Tokio02AsyncWriteCompatExt` [INFO] [stdout] --> src/main.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::compat::{Compat, Tokio02AsyncReadCompatExt, Tokio02AsyncWriteCompatExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Compat` in the current scope [INFO] [stdout] --> src/main.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | (*self.0).poll_read(cx, buf) [INFO] [stdout] | ^^^^^^^^^ method not found in `Compat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-io-0.3.4/src/lib.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut [u8]) [INFO] [stdout] | --------- the method is available for `Pin<&mut Compat>` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 39 | Pin::new(&mut (*self.0)).poll_read(cx, buf) [INFO] [stdout] | +++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_write` found for struct `Pin<&mut &Compat>` in the current scope [INFO] [stdout] --> src/main.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | Pin::new(&mut &*self.0).poll_write(cx, buf) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut &Compat>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_flush` found for struct `Pin<&mut &Compat>` in the current scope [INFO] [stdout] --> src/main.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | Pin::new(&mut &*self.0).poll_flush(cx) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut &Compat>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_close` found for struct `Pin<&mut &Compat>` in the current scope [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | Pin::new(&mut &*self.0).poll_close(cx) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut &Compat>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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" "6333970823a50f4534528a0d6c7f182dc5855ddcc06d3e8ee69854e28d1e1009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6333970823a50f4534528a0d6c7f182dc5855ddcc06d3e8ee69854e28d1e1009", kill_on_drop: false }` [INFO] [stdout] 6333970823a50f4534528a0d6c7f182dc5855ddcc06d3e8ee69854e28d1e1009