[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#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Fexample-wrap-stream" "/workspace/builds/worker-79/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-79/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hwchen/example-wrap-stream on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-79/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68d75728c59f1d4099bac8b2642a841e98e46bc0cb88e830a759e96c5f338ed7 [INFO] running `Command { std: "docker" "start" "-a" "68d75728c59f1d4099bac8b2642a841e98e46bc0cb88e830a759e96c5f338ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68d75728c59f1d4099bac8b2642a841e98e46bc0cb88e830a759e96c5f338ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d75728c59f1d4099bac8b2642a841e98e46bc0cb88e830a759e96c5f338ed7", kill_on_drop: false }` [INFO] [stdout] 68d75728c59f1d4099bac8b2642a841e98e46bc0cb88e830a759e96c5f338ed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 145fb67cb0d7a2aa34ee03e556be46b9e1e6a5e224fd10696336ecdbe9084e54 [INFO] running `Command { std: "docker" "start" "-a" "145fb67cb0d7a2aa34ee03e556be46b9e1e6a5e224fd10696336ecdbe9084e54", kill_on_drop: false }` [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] Compiling syn v1.0.17 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.3 [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 (/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_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_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[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: 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] [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] [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: 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" "145fb67cb0d7a2aa34ee03e556be46b9e1e6a5e224fd10696336ecdbe9084e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145fb67cb0d7a2aa34ee03e556be46b9e1e6a5e224fd10696336ecdbe9084e54", kill_on_drop: false }` [INFO] [stdout] 145fb67cb0d7a2aa34ee03e556be46b9e1e6a5e224fd10696336ecdbe9084e54