[INFO] updating cached repository https://github.com/dvc94ch/rust-ipld [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/dvc94ch/rust-ipld [INFO] [stderr] ea3f5c5..baf7eb8 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] baf7eb8c54f7ed349dc6c0d631cb39efcd4174aa [INFO] checking dvc94ch/rust-ipld against master#fe6d05a8b32f5c66c427ca524dbcce5a7145f87e for pr-64327 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Frust-ipld" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dvc94ch/rust-ipld on toolchain fe6d05a8b32f5c66c427ca524dbcce5a7145f87e-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+fe6d05a8b32f5c66c427ca524dbcce5a7145f87e-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dvc94ch/rust-ipld [INFO] removed workspace from git repo https://github.com/dvc94ch/rust-ipld [INFO] finished tweaking git repo https://github.com/dvc94ch/rust-ipld [INFO] tweaked toml for git repo https://github.com/dvc94ch/rust-ipld written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/dvc94ch/rust-ipld already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+fe6d05a8b32f5c66c427ca524dbcce5a7145f87e-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /mnt/big/crater/work/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+fe6d05a8b32f5c66c427ca524dbcce5a7145f87e-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/dvc94ch/rust-cid` [INFO] [stderr] Updating git repository `https://github.com/multiformats/rust-multibase` [INFO] [stderr] Updating git repository `https://github.com/dvc94ch/rust-multihash` [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+fe6d05a8b32f5c66c427ca524dbcce5a7145f87e-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+fe6d05a8b32f5c66c427ca524dbcce5a7145f87e-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] cd789078a78f5a19d85a5db3457137a050e14c3d128dc4c8bc689751ff114b7b [INFO] running `"docker" "start" "-a" "cd789078a78f5a19d85a5db3457137a050e14c3d128dc4c8bc689751ff114b7b"` [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking seahash v3.0.6 [INFO] [stderr] Compiling integer-encoding v1.0.7 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Checking async-macros v1.0.0 [INFO] [stderr] Checking async-task v1.0.0 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking xoroshiro128 v0.3.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking multibase v0.6.0 (https://github.com/multiformats/rust-multibase#f22326bc) [INFO] [stderr] Compiling multihash_derive v0.1.0 (https://github.com/dvc94ch/rust-multihash?branch=cli#5ac35cd7) [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking proptest v0.8.7 [INFO] [stderr] Checking fasthash v0.4.0 [INFO] [stderr] Checking multihash v0.8.1-pre (https://github.com/dvc94ch/rust-multihash?branch=cli#5ac35cd7) [INFO] [stderr] Checking cid v0.3.1 (https://github.com/dvc94ch/rust-cid?branch=cli#52c079b2) [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling async-trait v0.1.13 [INFO] [stderr] Checking model v0.1.2 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] Checking futures-timer v0.4.0 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.18 [INFO] [stderr] Checking async-std v0.99.7 [INFO] [stderr] Checking libipld v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: unused import: `async_std::io::Read as _` [INFO] [stderr] --> src/codec/cbor/decode.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use async_std::io::Read as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: unused import: `async_std::io::Write as _` [INFO] [stderr] --> src/codec/cbor/encode.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use async_std::io::Write as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:23:7 [INFO] [stderr] | [INFO] [stderr] 23 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:30:7 [INFO] [stderr] | [INFO] [stderr] 30 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:44:7 [INFO] [stderr] | [INFO] [stderr] 44 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:51:7 [INFO] [stderr] | [INFO] [stderr] 51 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:58:7 [INFO] [stderr] | [INFO] [stderr] 58 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:48:11 [INFO] [stderr] | [INFO] [stderr] 48 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let buf = if *self { [0xf5] } else { [0xf4] }; [INFO] [stderr] | ^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:157:19 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:159:19 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:162:15 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:166:15 [INFO] [stderr] | [INFO] [stderr] 166 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:31 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:37 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:43 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:30 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:29 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:31 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:37 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:43 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:30 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:29 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:27 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:33 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:39 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:26 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:25 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:183:15 [INFO] [stderr] | [INFO] [stderr] 183 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:194:11 [INFO] [stderr] | [INFO] [stderr] 194 | w.write_all(self).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:204:11 [INFO] [stderr] | [INFO] [stderr] 204 | w.write_all(self.as_bytes()).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 44 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `libipld`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: unused import: `async_std::io::Read as _` [INFO] [stderr] --> src/codec/cbor/decode.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use async_std::io::Read as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: unused import: `async_std::io::Write as _` [INFO] [stderr] --> src/codec/cbor/encode.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use async_std::io::Write as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:23:7 [INFO] [stderr] | [INFO] [stderr] 23 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:30:7 [INFO] [stderr] | [INFO] [stderr] 30 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:37:7 [INFO] [stderr] | [INFO] [stderr] 37 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:44:7 [INFO] [stderr] | [INFO] [stderr] 44 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:51:7 [INFO] [stderr] | [INFO] [stderr] 51 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_exact` found for type `&mut R` in the current scope [INFO] [stderr] --> src/codec/cbor/decode.rs:58:7 [INFO] [stderr] | [INFO] [stderr] 58 | r.read_exact(&mut buf).await?; [INFO] [stderr] | ^^^^^^^^^^ method not found in `&mut R` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Read;` [INFO] [stderr] candidate #2: `use async_std::io::read::ReadExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncReadExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | w.write_all(&[0xf6]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:48:11 [INFO] [stderr] | [INFO] [stderr] 48 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let buf = if *self { [0xf5] } else { [0xf4] }; [INFO] [stderr] | ^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:157:19 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:159:19 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:162:15 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:166:15 [INFO] [stderr] | [INFO] [stderr] 166 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:31 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:37 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:43 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:30 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:157:29 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w.write_all(&[0xf9, 0x7c, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:31 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:37 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:43 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:30 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:159:29 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | w.write_all(&[0xf9, 0xfc, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:27 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:33 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:39 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:26 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> src/codec/cbor/encode.rs:162:25 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> src/codec/cbor/encode.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | w.write_all(&[0xf9, 0x7e, 0x00]).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:183:15 [INFO] [stderr] | [INFO] [stderr] 183 | w.write_all(&buf).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:194:11 [INFO] [stderr] | [INFO] [stderr] 194 | w.write_all(self).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write_all` found for type `&mut W` in the current scope [INFO] [stderr] --> src/codec/cbor/encode.rs:204:11 [INFO] [stderr] | [INFO] [stderr] 204 | w.write_all(self.as_bytes()).await?; [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut W` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following traits are implemented but not in scope, perhaps add a `use` for one of them: [INFO] [stderr] candidate #1: `use std::io::Write;` [INFO] [stderr] candidate #2: `use async_std::io::write::WriteExt;` [INFO] [stderr] candidate #3: `use futures_util::io::AsyncWriteExt;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 44 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `libipld`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cd789078a78f5a19d85a5db3457137a050e14c3d128dc4c8bc689751ff114b7b"` [INFO] running `"docker" "rm" "-f" "cd789078a78f5a19d85a5db3457137a050e14c3d128dc4c8bc689751ff114b7b"` [INFO] [stdout] cd789078a78f5a19d85a5db3457137a050e14c3d128dc4c8bc689751ff114b7b