[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 master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Fexample-wrap-stream" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hwchen/example-wrap-stream on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc59645fb86f26474e55be588f4d55208a31c2d3943255a3cc403779679f1206 [INFO] running `Command { std: "docker" "start" "-a" "fc59645fb86f26474e55be588f4d55208a31c2d3943255a3cc403779679f1206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc59645fb86f26474e55be588f4d55208a31c2d3943255a3cc403779679f1206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc59645fb86f26474e55be588f4d55208a31c2d3943255a3cc403779679f1206", kill_on_drop: false }` [INFO] [stdout] fc59645fb86f26474e55be588f4d55208a31c2d3943255a3cc403779679f1206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53b04f30ca9099813eb6e2c93e1962cb5d2462b51e40644ed9796f5e395e8ab5 [INFO] running `Command { std: "docker" "start" "-a" "53b04f30ca9099813eb6e2c93e1962cb5d2462b51e40644ed9796f5e395e8ab5", 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] Compiling syn v1.0.17 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.3 [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 (/opt/rustwide/workdir) [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] 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] 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] running `Command { std: "docker" "inspect" "53b04f30ca9099813eb6e2c93e1962cb5d2462b51e40644ed9796f5e395e8ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b04f30ca9099813eb6e2c93e1962cb5d2462b51e40644ed9796f5e395e8ab5", kill_on_drop: false }` [INFO] [stdout] 53b04f30ca9099813eb6e2c93e1962cb5d2462b51e40644ed9796f5e395e8ab5