[INFO] fetching crate embedrs-bytes 0.4.6...
[INFO] checking embedrs-bytes-0.4.6 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate embedrs-bytes 0.4.6 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate embedrs-bytes 0.4.6 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate embedrs-bytes 0.4.6
[INFO] finished tweaking crates.io crate embedrs-bytes 0.4.6
[INFO] tweaked toml for crates.io crate embedrs-bytes 0.4.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 219666966b229ff6dcfe1f0a67a07f13bd262322fe36132a452fcc323cdab658
[INFO] running `Command { std: "docker" "start" "-a" "219666966b229ff6dcfe1f0a67a07f13bd262322fe36132a452fcc323cdab658", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "219666966b229ff6dcfe1f0a67a07f13bd262322fe36132a452fcc323cdab658", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "219666966b229ff6dcfe1f0a67a07f13bd262322fe36132a452fcc323cdab658", kill_on_drop: false }`
[INFO] [stdout] 219666966b229ff6dcfe1f0a67a07f13bd262322fe36132a452fcc323cdab658
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fdc73c7c893a5b63f694afa710ae04658e469f3dbd64563c17b91e9a7cdad133
[INFO] running `Command { std: "docker" "start" "-a" "fdc73c7c893a5b63f694afa710ae04658e469f3dbd64563c17b91e9a7cdad133", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking embedrs-bytes v0.4.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking serde_test v1.0.176
[INFO] [stdout] error[E0463]: can't find crate for `iovec`
[INFO] [stdout]  --> tests/test_buf.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate iovec;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `iovec`
[INFO] [stdout]  --> tests/test_chain.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate iovec;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `bytes`
[INFO] [stdout]  --> benches/bytes.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate bytes;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `iovec`
[INFO] [stdout]  --> tests/test_buf_mut.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate iovec;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `embedrs_bytes::Bytes`
[INFO] [stdout]    --> tests/test_debug.rs:3:5
[INFO] [stdout]     |
[INFO] [stdout] 3   | use embedrs_bytes::Bytes;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ no `Bytes` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]     |
[INFO] [stdout] 3   | use std::io::Bytes;
[INFO] [stdout]     |     ~~~~~~~~~~~~~~
[INFO] [stdout] 3   | use std::str::Bytes;
[INFO] [stdout]     |     ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `embedrs_bytes::Bytes`
[INFO] [stdout]    --> tests/test_iter.rs:3:35
[INFO] [stdout]     |
[INFO] [stdout] 3   | use embedrs_bytes::{Buf, IntoBuf, Bytes};
[INFO] [stdout]     |                                   ^^^^^ no `Bytes` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider importing one of these items instead:
[INFO] [stdout]             std::io::Bytes
[INFO] [stdout]             std::str::Bytes
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `embedrs_bytes::Bytes`, `embedrs_bytes::BytesMut`
[INFO] [stdout]    --> tests/test_from_buf.rs:3:26
[INFO] [stdout]     |
[INFO] [stdout] 3   | use embedrs_bytes::{Buf, Bytes, BytesMut};
[INFO] [stdout]     |                          ^^^^^  ^^^^^^^^ no `BytesMut` in the root
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          no `Bytes` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider importing one of these items instead:
[INFO] [stdout]             std::io::Bytes
[INFO] [stdout]             std::str::Bytes
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoBuf`
[INFO] [stdout]  --> tests/test_iter.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use embedrs_bytes::{Buf, IntoBuf, Bytes};
[INFO] [stdout]   |                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> tests/test_iter.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use embedrs_bytes::{Buf, IntoBuf, Bytes};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> tests/test_from_buf.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use embedrs_bytes::{Buf, Bytes, BytesMut};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `embedrs_bytes::Bytes`, `embedrs_bytes::BytesMut`
[INFO] [stdout]    --> tests/test_chain.rs:4:34
[INFO] [stdout]     |
[INFO] [stdout] 4   | use embedrs_bytes::{Buf, BufMut, Bytes, BytesMut};
[INFO] [stdout]     |                                  ^^^^^  ^^^^^^^^ no `BytesMut` in the root
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  no `Bytes` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider importing one of these items instead:
[INFO] [stdout]             std::io::Bytes
[INFO] [stdout]             std::str::Bytes
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_iter") due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_debug") due to 2 previous errors
[INFO] [stdout] error[E0432]: unresolved import `embedrs_bytes::BytesMut`
[INFO] [stdout]    --> tests/test_buf_mut.rs:5:29
[INFO] [stdout]     |
[INFO] [stdout] 5   | use embedrs_bytes::{BufMut, BytesMut};
[INFO] [stdout]     |                             ^^^^^^^^ no `BytesMut` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `take` exists for struct `Cursor<&[u8; 11]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/test_take.rs:10:43
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let buf = Cursor::new(b"hello world").take(100);
[INFO] [stdout]    |                                           ^^^^ method cannot be called on `Cursor<&[u8; 11]>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8; 11]>: Buf`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8; 11]>: Buf`
[INFO] [stdout]            `std::io::Cursor<&[u8; 11]>: Iterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8; 11]>: Iterator`
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `take` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `embedrs_bytes::Buf`
[INFO] [stdout]  --> tests/test_take.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use embedrs_bytes::Buf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]   --> tests/test_from_buf.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let buf: Vec<u8> = Cursor::new(SHORT).collect();
[INFO] [stdout]    |                                           ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `embedrs_bytes::Bytes`, `embedrs_bytes::BytesMut`
[INFO] [stdout]    --> tests/test_bytes.rs:3:21
[INFO] [stdout]     |
[INFO] [stdout] 3   | use embedrs_bytes::{Bytes, BytesMut, BufMut};
[INFO] [stdout]     |                     ^^^^^  ^^^^^^^^ no `BytesMut` in the root
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     no `Bytes` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider importing one of these items instead:
[INFO] [stdout]             std::io::Bytes
[INFO] [stdout]             std::str::Bytes
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:106:24
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `alloc` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]   --> tests/test_from_buf.rs:14:42
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buf: Vec<u8> = Cursor::new(LONG).collect();
[INFO] [stdout]    |                                          ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_take") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]   --> tests/test_from_buf.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let buf: Bytes = Cursor::new(SHORT).collect();
[INFO] [stdout]    |                                         ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> tests/test_chain.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use embedrs_bytes::{Buf, BufMut, Bytes, BytesMut};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> tests/test_chain.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use embedrs_bytes::{Buf, BufMut, Bytes, BytesMut};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]   --> tests/test_from_buf.rs:23:40
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let buf: Bytes = Cursor::new(LONG).collect();
[INFO] [stdout]    |                                        ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]    --> benches/bytes.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |     use std::fmt::Write;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]   --> tests/test_from_buf.rs:29:44
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let buf: BytesMut = Cursor::new(SHORT).collect();
[INFO] [stdout]    |                                            ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_chain") due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]   --> tests/test_from_buf.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let buf: BytesMut = Cursor::new(LONG).collect();
[INFO] [stdout]    |                                           ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout]            which is required by `&mut std::io::Cursor<&[u8]>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embedrs-bytes` (bench "bytes") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_from_buf") due to 8 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no method named `remaining` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     assert_eq!(buf.remaining(), 5);
[INFO] [stdout]    |                    ^^^^^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bytes` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     assert_eq!(buf.bytes(), b"hello");
[INFO] [stdout]    |                    ^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/io/mod.rs:1082:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `std::io::Cursor<Vec<u8>>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `remaining_mut` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     assert_eq!(buf.remaining_mut(), usize::MAX);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `retain_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/alloc/src/vec/mod.rs:1639:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]   --> tests/test_bytes.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use std::fmt::Write;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> tests/test_bytes.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | use embedrs_bytes::{Bytes, BytesMut, BufMut};
[INFO] [stdout]   |                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `advance` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     buf.advance(2);
[INFO] [stdout]    |         ^^^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_bytes") due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0599]: no method named `bytes_mut` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |         assert!(buf.bytes_mut().len() >= 64);
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `bytes` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 17 |         assert!(buf.bytes().len() >= 64);
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `remaining` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |     assert_eq!(buf.remaining(), 3);
[INFO] [stdout]    |                    ^^^^^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bytes` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     assert_eq!(buf.bytes(), b"llo");
[INFO] [stdout]    |                    ^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/io/mod.rs:1082:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `std::io::Cursor<Vec<u8>>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `put` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     buf.put(&b"zomg"[..]);
[INFO] [stdout]    |         ^^^ method not found in `Vec<_>`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `push`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     buf.push(&b"zomg"[..]);
[INFO] [stdout]    |         ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `advance` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     buf.advance(3);
[INFO] [stdout]    |         ^^^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `remaining_mut` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |     assert_eq!(buf.remaining_mut(), usize::MAX - 4);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `retain_mut` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/alloc/src/vec/mod.rs:1639:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `remaining` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |     assert_eq!(buf.remaining(), 0);
[INFO] [stdout]    |                    ^^^^^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `put` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         buf.put(&b"zomg"[..]);
[INFO] [stdout]    |             ^^^ method not found in `Vec<_>`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `push`
[INFO] [stdout]    |
[INFO] [stdout] 28 |         buf.push(&b"zomg"[..]);
[INFO] [stdout]    |             ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bytes` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |     assert_eq!(buf.bytes(), b"");
[INFO] [stdout]    |                    ^^^^^ method not found in `Cursor<Vec<u8>>`
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/io/mod.rs:1082:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `std::io::Cursor<Vec<u8>>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `put` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     buf.put::<u8>(33);
[INFO] [stdout]    |         ^^^ method not found in `Vec<_>`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `push`
[INFO] [stdout]    |
[INFO] [stdout] 37 |     buf.push::<u8>(33);
[INFO] [stdout]    |         ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_u8` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |     assert_eq!(0x21, buf.get_u8());
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `get_mut` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |     assert_eq!(0x21, buf.get_mut());
[INFO] [stdout]    |                          ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `put_u16` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     buf.put_u16::<byteorder::BigEndian>(8532);
[INFO] [stdout]    |         ^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_u16` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:36:41
[INFO] [stdout]    |
[INFO] [stdout] 36 |     assert_eq!(0x2154, Cursor::new(buf).get_u16::<byteorder::BigEndian>());
[INFO] [stdout]    |                                         ^^^^^^^ method not found in `Cursor<&[u8; 6]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `put_u16` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     buf.put_u16::<byteorder::LittleEndian>(8532);
[INFO] [stdout]    |         ^^^^^^^ method not found in `Vec<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_u16` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:37:41
[INFO] [stdout]    |
[INFO] [stdout] 37 |     assert_eq!(0x5421, Cursor::new(buf).get_u16::<byteorder::LittleEndian>());
[INFO] [stdout]    |                                         ^^^^^^^ method not found in `Cursor<&[u8; 6]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `advance_mut` found for struct `Vec<_>` in the current scope
[INFO] [stdout]   --> tests/test_buf_mut.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         buf.advance_mut(12);
[INFO] [stdout]    |             ^^^^^^^^^^^ method not found in `Vec<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> tests/test_buf_mut.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use embedrs_bytes::{BufMut, BytesMut};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> tests/test_buf_mut.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_buf_mut") due to 12 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0599]: no method named `get_u16` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     buf.get_u16::<byteorder::BigEndian>();
[INFO] [stdout]    |         ^^^^^^^ method not found in `Cursor<&[u8; 1]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bytes_vec` found for struct `std::io::Cursor` in the current scope
[INFO] [stdout]   --> tests/test_buf.rs:57:23
[INFO] [stdout]    |
[INFO] [stdout] 57 |     assert_eq!(1, buf.bytes_vec(&mut dst[..]));
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `bytes` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/io/mod.rs:1082:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `embedrs_bytes::Buf`
[INFO] [stdout]  --> tests/test_buf.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use embedrs_bytes::Buf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `embedrs-bytes` (test "test_buf") due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "fdc73c7c893a5b63f694afa710ae04658e469f3dbd64563c17b91e9a7cdad133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdc73c7c893a5b63f694afa710ae04658e469f3dbd64563c17b91e9a7cdad133", kill_on_drop: false }`
[INFO] [stdout] fdc73c7c893a5b63f694afa710ae04658e469f3dbd64563c17b91e9a7cdad133
