[INFO] fetching crate embedrs-bytes 0.4.6... [INFO] checking embedrs-bytes-0.4.6 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate embedrs-bytes 0.4.6 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate embedrs-bytes 0.4.6 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 9d0e2ce4edc9655789777f2d2f01fb89870251f180de3dd91662e35e183d3dd5 [INFO] running `Command { std: "docker" "start" "-a" "9d0e2ce4edc9655789777f2d2f01fb89870251f180de3dd91662e35e183d3dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d0e2ce4edc9655789777f2d2f01fb89870251f180de3dd91662e35e183d3dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0e2ce4edc9655789777f2d2f01fb89870251f180de3dd91662e35e183d3dd5", kill_on_drop: false }` [INFO] [stdout] 9d0e2ce4edc9655789777f2d2f01fb89870251f180de3dd91662e35e183d3dd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 1178feaa39d6f9382649130676271287b57e47bcd25dd2bd2da9d3be41321e69 [INFO] running `Command { std: "docker" "start" "-a" "1178feaa39d6f9382649130676271287b57e47bcd25dd2bd2da9d3be41321e69", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking embedrs-bytes v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_test v1.0.124 [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] 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 `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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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 E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedrs-bytes` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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 E0463`. [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: 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: 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 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[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[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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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: 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]: 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] 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 `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] = note: `buf` is a function, perhaps you wish to call it [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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1178feaa39d6f9382649130676271287b57e47bcd25dd2bd2da9d3be41321e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1178feaa39d6f9382649130676271287b57e47bcd25dd2bd2da9d3be41321e69", kill_on_drop: false }` [INFO] [stdout] 1178feaa39d6f9382649130676271287b57e47bcd25dd2bd2da9d3be41321e69