[INFO] fetching crate embedrs-bytes 0.4.6... [INFO] testing embedrs-bytes-0.4.6 against 1.60.0 for beta-1.61-1 [INFO] extracting crate embedrs-bytes 0.4.6 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate embedrs-bytes 0.4.6 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 86fb20ec68519bd78705f38c694090aad8a245083b53113906f3cffe8f2ec738 [INFO] running `Command { std: "docker" "start" "-a" "86fb20ec68519bd78705f38c694090aad8a245083b53113906f3cffe8f2ec738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86fb20ec68519bd78705f38c694090aad8a245083b53113906f3cffe8f2ec738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fb20ec68519bd78705f38c694090aad8a245083b53113906f3cffe8f2ec738", kill_on_drop: false }` [INFO] [stdout] 86fb20ec68519bd78705f38c694090aad8a245083b53113906f3cffe8f2ec738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22663d5246281261991eae8443b210712ef627cb0c97a866ab9ed7e6c7fdb271 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "22663d5246281261991eae8443b210712ef627cb0c97a866ab9ed7e6c7fdb271", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling embedrs-bytes v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "22663d5246281261991eae8443b210712ef627cb0c97a866ab9ed7e6c7fdb271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22663d5246281261991eae8443b210712ef627cb0c97a866ab9ed7e6c7fdb271", kill_on_drop: false }` [INFO] [stdout] 22663d5246281261991eae8443b210712ef627cb0c97a866ab9ed7e6c7fdb271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db055ce0a91237de626bcd7deb70f02a6a5f98fc48f7ead083bb0d88398cbb43 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db055ce0a91237de626bcd7deb70f02a6a5f98fc48f7ead083bb0d88398cbb43", kill_on_drop: false }` [INFO] [stderr] Compiling serde_test v1.0.136 [INFO] [stderr] Compiling embedrs-bytes v0.4.6 (/opt/rustwide/workdir) [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[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] [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] [INFO] [stdout] error[E0412]: cannot find type `IoVec` in this scope [INFO] [stdout] --> tests/test_chain.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let mut iovecs: [&IoVec; 4] = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoVec` in this scope [INFO] [stdout] --> tests/test_chain.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | let mut iovecs: [&IoVec; 4] = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoVec` in this scope [INFO] [stdout] --> tests/test_chain.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | let mut iovecs: [&IoVec; 4] = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoVec` in this scope [INFO] [stdout] --> tests/test_chain.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | let mut iovecs: [&IoVec; 4] = [INFO] [stdout] | ^^^^^ not found in this scope [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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] [INFO] [stdout] error[E0599]: the method `chain` exists for struct `std::io::Cursor<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_chain.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let res: Vec = a.chain(b).collect(); [INFO] [stdout] | ^^^^^ method cannot be called on `std::io::Cursor<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<_>: Buf` [INFO] [stdout] which is required by `&mut std::io::Cursor<_>: Buf` [INFO] [stdout] `std::io::Cursor<_>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<_>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `chain` exists for struct `std::io::Cursor<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_chain.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let res: Vec = a.chain(b).iter().collect(); [INFO] [stdout] | ^^^^^ method cannot be called on `std::io::Cursor<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<_>: Buf` [INFO] [stdout] which is required by `&mut std::io::Cursor<_>: Buf` [INFO] [stdout] `std::io::Cursor<_>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<_>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embedrs-bytes` due to 2 previous errors [INFO] [stdout] error[E0599]: the method `chain` exists for struct `std::io::Cursor<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_chain.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut buf = a.chain(b); [INFO] [stdout] | ^^^^^ method cannot be called on `std::io::Cursor<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<_>: Buf` [INFO] [stdout] which is required by `&mut std::io::Cursor<_>: Buf` [INFO] [stdout] `std::io::Cursor<_>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<_>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `IoVec` in this scope [INFO] [stdout] --> tests/test_buf_mut.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | let mut dst: [&mut IoVec; 2] = mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [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] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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[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] [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[E0412]: cannot find type `IoVec` in this scope [INFO] [stdout] --> tests/test_buf.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | let mut dst: [&IoVec; 2] = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [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] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `std::io::Cursor<&[u8]>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_from_buf.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | let buf: Vec = Cursor::new(SHORT).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::io::Cursor<&[u8]>` due to unsatisfied trait bounds [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[E0599]: the method `collect` exists for struct `std::io::Cursor<&[u8]>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_from_buf.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | let buf: Vec = Cursor::new(LONG).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::io::Cursor<&[u8]>` due to unsatisfied trait bounds [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[E0599]: the method `collect` exists for struct `std::io::Cursor<&[u8]>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_from_buf.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let buf: Bytes = Cursor::new(SHORT).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::io::Cursor<&[u8]>` due to unsatisfied trait bounds [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[E0599]: the method `collect` exists for struct `std::io::Cursor<&[u8]>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_from_buf.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | let buf: Bytes = Cursor::new(LONG).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::io::Cursor<&[u8]>` due to unsatisfied trait bounds [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[E0599]: the method `collect` exists for struct `std::io::Cursor<&[u8]>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_from_buf.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | let buf: BytesMut = Cursor::new(SHORT).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::io::Cursor<&[u8]>` due to unsatisfied trait bounds [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[E0599]: the method `collect` exists for struct `std::io::Cursor<&[u8]>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/test_from_buf.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | let buf: BytesMut = Cursor::new(LONG).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::io::Cursor<&[u8]>` due to unsatisfied trait bounds [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] 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] [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] [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 `std::io::Cursor>` [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 `std::io::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | [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] = note: `#[warn(unused_imports)]` on by default [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] [INFO] [stdout] error: aborting due to 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[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] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `retain_mut` [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 `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^ help: there is an associated function with a similar name: `iter_mut` [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 `std::io::Cursor>` [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 `std::io::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | 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] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/test_bytes.rs:528:27 [INFO] [stdout] | [INFO] [stdout] 528 | let buf = buf.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [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 `std::io::Cursor>` [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] = note: `#[warn(unused_imports)]` on by default [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] [INFO] [stdout] error[E0599]: the method `take` exists for struct `std::io::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 `std::io::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: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | 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]: 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 `std::io::Cursor>` [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, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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 `std::io::Cursor>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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[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] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `retain_mut` [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] [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] | ^^^^^^ help: there is an associated function with a similar name: `get_mut` [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::(33); [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::()); [INFO] [stdout] | ^^^^^^^ method not found in `std::io::Cursor<&[u8; 6]>` [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::(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:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(0x5421, Cursor::new(buf).get_u16::()); [INFO] [stdout] | ^^^^^^^ method not found in `std::io::Cursor<&[u8; 6]>` [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:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | buf.put_u16::(8532); [INFO] [stdout] | ^^^^^^^ method not found in `Vec` [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 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | buf.get_u16::(); [INFO] [stdout] | ^^^^^^^ method not found in `std::io::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] | ^^^^^^^^^ method not found in `std::io::Cursor<&[u8; 11]>` [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 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "db055ce0a91237de626bcd7deb70f02a6a5f98fc48f7ead083bb0d88398cbb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db055ce0a91237de626bcd7deb70f02a6a5f98fc48f7ead083bb0d88398cbb43", kill_on_drop: false }` [INFO] [stdout] db055ce0a91237de626bcd7deb70f02a6a5f98fc48f7ead083bb0d88398cbb43