[INFO] fetching crate tiny-artnet-bytes-no-atomic 1.2.2... [INFO] checking tiny-artnet-bytes-no-atomic-1.2.2 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate tiny-artnet-bytes-no-atomic 1.2.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding generator v0.7.5 (latest: v0.8.1) [INFO] [stderr] Adding loom v0.5.6 (latest: v0.7.2) [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.56.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d904147ed45ab802bd7116ecf001ead9539876f84c1b36a8dabdf073e46f9687 [INFO] running `Command { std: "docker" "start" "-a" "d904147ed45ab802bd7116ecf001ead9539876f84c1b36a8dabdf073e46f9687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d904147ed45ab802bd7116ecf001ead9539876f84c1b36a8dabdf073e46f9687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d904147ed45ab802bd7116ecf001ead9539876f84c1b36a8dabdf073e46f9687", kill_on_drop: false }` [INFO] [stdout] d904147ed45ab802bd7116ecf001ead9539876f84c1b36a8dabdf073e46f9687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfeae6676c92a0645cae41e46106a63aad64281447b3ede3211b5e30ad973201 [INFO] running `Command { std: "docker" "start" "-a" "dfeae6676c92a0645cae41e46106a63aad64281447b3ede3211b5e30ad973201", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling tiny-artnet-bytes-no-atomic v1.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_test v1.0.176 [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[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes_vec_alloc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [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[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[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_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] [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_bytes_odd_alloc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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_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_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] 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] [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[E0433]: failed to resolve: use of undeclared crate or module `bytes` [INFO] [stdout] --> tests/test_buf_mut.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::buf::UninitSlice; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_buf_mut.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> benches/bytes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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_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] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_debug") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (bench "buf") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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_buf.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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_buf_mut") due to 3 previous errors [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_iter") due to 2 previous errors [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_reader") due to 2 previous errors [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_bytes_vec_alloc") due to 2 previous errors [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] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_bytes_odd_alloc") due to 2 previous errors [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 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_buf") due to 2 previous errors [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_take") due to 4 previous errors [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 `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` (bench "bytes") due to 2 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/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/vec/mod.rs:1254: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 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] [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_chain") due to 3 previous errors [INFO] [stdout] error: aborting due to 3 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 "bytes_mut") due to 4 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [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 [INFO] running `Command { std: "docker" "inspect" "dfeae6676c92a0645cae41e46106a63aad64281447b3ede3211b5e30ad973201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfeae6676c92a0645cae41e46106a63aad64281447b3ede3211b5e30ad973201", kill_on_drop: false }` [INFO] [stdout] dfeae6676c92a0645cae41e46106a63aad64281447b3ede3211b5e30ad973201