[INFO] cloning repository https://github.com/arnaudpoullet/deser_async_json_array_stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arnaudpoullet/deser_async_json_array_stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnaudpoullet%2Fdeser_async_json_array_stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnaudpoullet%2Fdeser_async_json_array_stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6a9eda64f2dfc2a0b7c0dde90406fb525d11155 [INFO] checking arnaudpoullet/deser_async_json_array_stream against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnaudpoullet%2Fdeser_async_json_array_stream" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arnaudpoullet/deser_async_json_array_stream on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arnaudpoullet/deser_async_json_array_stream [INFO] finished tweaking git repo https://github.com/arnaudpoullet/deser_async_json_array_stream [INFO] tweaked toml for git repo https://github.com/arnaudpoullet/deser_async_json_array_stream written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/arnaudpoullet/deser_async_json_array_stream already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 149cd3c23e8dc22a4718c37c743aa47b7388716add1c15e7560e24ae88853360 [INFO] running `Command { std: "docker" "start" "-a" "149cd3c23e8dc22a4718c37c743aa47b7388716add1c15e7560e24ae88853360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "149cd3c23e8dc22a4718c37c743aa47b7388716add1c15e7560e24ae88853360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149cd3c23e8dc22a4718c37c743aa47b7388716add1c15e7560e24ae88853360", kill_on_drop: false }` [INFO] [stdout] 149cd3c23e8dc22a4718c37c743aa47b7388716add1c15e7560e24ae88853360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70c8dd2e702ba16fe45067a5abced5e2b83874ae72843236609ff160af317b3e [INFO] running `Command { std: "docker" "start" "-a" "70c8dd2e702ba16fe45067a5abced5e2b83874ae72843236609ff160af317b3e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Checking vec-arena v1.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling curl v0.4.36 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling http-types v2.11.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking spinning_top v0.2.3 [INFO] [stderr] Checking sluice v0.5.4 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking flume v0.9.2 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-futures-byteorder v0.2.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.42+curl-7.76.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-ordinalize v3.1.10 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling educe v0.4.15 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking async-io v1.4.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compat v0.2.1 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_qs v0.7.2 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking http-client v6.3.5 [INFO] [stderr] Checking surf v2.2.0 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking json-stream-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncSeek` [INFO] [stdout] --> src/stream/deser_json.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, Future, io, Stream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Deserializer` [INFO] [stdout] --> src/stream/deser_json.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncSeek` [INFO] [stdout] --> src/stream/deser_json.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, Future, io, Stream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Deserializer` [INFO] [stdout] --> src/stream/deser_json.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_u8` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | let result = self.rdr.read_u8().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: AsyncReadBytesExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncRead` [INFO] [stdout] which is required by `futures::io::Cursor>: AsyncReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_u8` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | let result = self.rdr.read_u8().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: AsyncReadBytesExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncRead` [INFO] [stdout] which is required by `futures::io::Cursor>: AsyncReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `seek` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | self.rdr.seek(SeekFrom::Current(-1))?; [INFO] [stdout] | ^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: futures::AsyncSeekExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncSeek` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncSeek` [INFO] [stdout] which is required by `futures::io::Cursor>: futures::AsyncSeekExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `seek` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | self.rdr.seek(SeekFrom::Current(-1))?; [INFO] [stdout] | ^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: futures::AsyncSeekExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncSeek` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncSeek` [INFO] [stdout] which is required by `futures::io::Cursor>: futures::AsyncSeekExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_u8` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | self.rdr.read_u8().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: AsyncReadBytesExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncRead` [INFO] [stdout] which is required by `futures::io::Cursor>: AsyncReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_u8` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let c = self.rdr.read_u8().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: AsyncReadBytesExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncRead` [INFO] [stdout] which is required by `futures::io::Cursor>: AsyncReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_u8` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | self.rdr.read_u8().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: AsyncReadBytesExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncRead` [INFO] [stdout] which is required by `futures::io::Cursor>: AsyncReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_u8` exists for struct `futures::io::Cursor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let c = self.rdr.read_u8().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `futures::io::Cursor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.14/src/io/cursor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Cursor { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: AsyncReadBytesExt` [INFO] [stdout] | doesn't satisfy `_: futures::AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `futures::io::Cursor>: futures::AsyncRead` [INFO] [stdout] which is required by `futures::io::Cursor>: AsyncReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Compat>>: tokio::io::AsyncRead` is not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let ll = FramedRead::new(&self.rdr.compat(),LengthDelimitedCodec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `&Compat>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as tokio::io::AsyncRead> [INFO] [stdout] = note: required by `FramedRead::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Compat>>: tokio::io::AsyncRead` is not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let ll = FramedRead::new(&self.rdr.compat(),LengthDelimitedCodec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `&Compat>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as tokio::io::AsyncRead> [INFO] [stdout] = note: required by `FramedRead::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `try_next` exists for struct `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, tokio_serde::formats::Json>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | match de.try_next().await.unwrap() { [INFO] [stdout] | ^^^^^^^^ method cannot be called on `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, tokio_serde::formats::Json>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-serde-0.8.0/src/lib.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Framed { [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: TryStreamExt` [INFO] [stdout] | doesn't satisfy `_: TryStream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, tokio_serde::formats::Json>: TryStream` [INFO] [stdout] which is required by `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, tokio_serde::formats::Json>: TryStreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `try_next` exists for struct `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, Json>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/stream/deser_json.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | match de.try_next().await.unwrap() { [INFO] [stdout] | ^^^^^^^^ method cannot be called on `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, Json>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-serde-0.8.0/src/lib.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct Framed { [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: TryStreamExt` [INFO] [stdout] | doesn't satisfy `_: TryStream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, Json>: TryStream` [INFO] [stdout] which is required by `tokio_serde::Framed>>, LengthDelimitedCodec>, _, _, Json>: TryStreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncSeekExt` [INFO] [stdout] --> src/stream/deser_json.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, Future, io, Stream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/stream/deser_json.rs:6:85 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, Future, io, Stream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_futures_byteorder::AsyncReadBytesExt` [INFO] [stdout] --> src/stream/deser_json.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_futures_byteorder::AsyncReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-stream-test` due to 7 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused import: `AsyncSeekExt` [INFO] [stdout] --> src/stream/deser_json.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, Future, io, Stream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/stream/deser_json.rs:6:85 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, Future, io, Stream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_futures_byteorder::AsyncReadBytesExt` [INFO] [stdout] --> src/stream/deser_json.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_futures_byteorder::AsyncReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "70c8dd2e702ba16fe45067a5abced5e2b83874ae72843236609ff160af317b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c8dd2e702ba16fe45067a5abced5e2b83874ae72843236609ff160af317b3e", kill_on_drop: false }` [INFO] [stdout] 70c8dd2e702ba16fe45067a5abced5e2b83874ae72843236609ff160af317b3e