[INFO] fetching crate tiny-artnet-bytes-no-atomic 1.2.2... [INFO] checking tiny-artnet-bytes-no-atomic-1.2.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tiny-artnet-bytes-no-atomic 1.2.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 [INFO] finished tweaking crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 [INFO] tweaked toml for crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages [INFO] [stderr] Adding generator v0.7.5 (latest: v0.8.1) [INFO] [stderr] Adding loom v0.5.6 (latest: v0.7.1) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.6) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.3) [INFO] [stderr] Adding windows v0.48.0 (latest: v0.54.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a64365407acff17cb920663ca55b8439162a8f9d116987760722395ae7b9c234 [INFO] running `Command { std: "docker" "start" "-a" "a64365407acff17cb920663ca55b8439162a8f9d116987760722395ae7b9c234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a64365407acff17cb920663ca55b8439162a8f9d116987760722395ae7b9c234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64365407acff17cb920663ca55b8439162a8f9d116987760722395ae7b9c234", kill_on_drop: false }` [INFO] [stdout] a64365407acff17cb920663ca55b8439162a8f9d116987760722395ae7b9c234 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e127bdad64374b89897be8e6f90195ae5e38ccecd2fb1ede50f567b2b755042 [INFO] running `Command { std: "docker" "start" "-a" "7e127bdad64374b89897be8e6f90195ae5e38ccecd2fb1ede50f567b2b755042", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tiny-artnet-bytes-no-atomic v1.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/bytes_mut.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/bytes.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1082 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/bytes_mut.rs:1234:5 [INFO] [stdout] | [INFO] [stdout] 1234 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1234 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bytes` [INFO] [stdout] --> tests/test_take.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::buf::Buf; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_take.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_debug.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `&'static [u8; 11]` is not an iterator [INFO] [stdout] --> tests/test_take.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let buf = b"hello world".take(100); [INFO] [stdout] | ^^^^ `&'static [u8; 11]` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&'static [u8; 11]: Iterator` [INFO] [stdout] which is required by `&mut &'static [u8; 11]: Iterator` [INFO] [stdout] `[u8; 11]: Iterator` [INFO] [stdout] which is required by `&mut [u8; 11]: Iterator` [INFO] [stdout] `[u8]: Iterator` [INFO] [stdout] which is required by `&mut [u8]: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `take` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] 3 + use std::iter::Iterator; [INFO] [stdout] | [INFO] [stdout] 3 + use tiny_artnet_bytes_no_atomic::Buf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> benches/bytes_mut.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_take") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_chain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BufMut, Bytes}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [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] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_reader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::Buf; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_debug") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> tests/test_reader.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> tests/test_reader.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> benches/buf.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::Buf; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [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[E0599]: no method named `chain_mut` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> tests/test_chain.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let mut buf = (&mut a[..]).chain_mut(&mut b[..]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `chunk_mut` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/buf/buf_mut.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | fn chunk_mut(&mut self) -> &mut UninitSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `BufMut` which provides `chain_mut` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use tiny_artnet_bytes_no_atomic::BufMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_reader") due to 2 previous errors; 2 warnings emitted [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] [stdout] error: aborting due to 2 previous errors [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 `tiny-artnet-bytes-no-atomic` (bench "buf") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_chain") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `put_slice` found for struct `Vec` in the current scope [INFO] [stdout] --> benches/bytes_mut.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | buf.put_slice(&data); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/buf/buf_mut.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | fn put_slice(&mut self, src: &[u8]) { [INFO] [stdout] | --------- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `as_slice` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/vec/mod.rs:1227:5 [INFO] [stdout] help: trait `BufMut` which provides `put_slice` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use tiny_artnet_bytes_no_atomic::BufMut; [INFO] [stdout] | [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] [stdout] error[E0599]: no method named `put_u8` found for struct `Vec` in the current scope [INFO] [stdout] --> benches/bytes_mut.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | buf.put_u8(b'x'); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/buf/buf_mut.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn put_u8(&mut self, n: u8) { [INFO] [stdout] | ------ the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BufMut` which provides `put_u8` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use tiny_artnet_bytes_no_atomic::BufMut; [INFO] [stdout] | [INFO] [stdout] help: there is a method `put_i8` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 | buf.put_i8(b'x'); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_iter") due to 2 previous errors [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> benches/bytes_mut.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `tiny-artnet-bytes-no-atomic` (bench "bytes_mut") due to 4 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> tests/test_bytes.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning 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 `tiny-artnet-bytes-no-atomic` (test "test_bytes") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7e127bdad64374b89897be8e6f90195ae5e38ccecd2fb1ede50f567b2b755042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e127bdad64374b89897be8e6f90195ae5e38ccecd2fb1ede50f567b2b755042", kill_on_drop: false }` [INFO] [stdout] 7e127bdad64374b89897be8e6f90195ae5e38ccecd2fb1ede50f567b2b755042