[INFO] fetching crate buffer_sv2 0.1.0... [INFO] checking buffer_sv2-0.1.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate buffer_sv2 0.1.0 into /workspace/builds/worker-72/source [INFO] validating manifest of crates.io crate buffer_sv2 0.1.0 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate buffer_sv2 0.1.0 [INFO] finished tweaking crates.io crate buffer_sv2 0.1.0 [INFO] tweaked toml for crates.io crate buffer_sv2 0.1.0 written to /workspace/builds/worker-72/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d742f1c0715bcf7ae4fb05a28d9f1b2ed7557bf93adf1ae32be466e09d03556a [INFO] running `Command { std: "docker" "start" "-a" "d742f1c0715bcf7ae4fb05a28d9f1b2ed7557bf93adf1ae32be466e09d03556a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d742f1c0715bcf7ae4fb05a28d9f1b2ed7557bf93adf1ae32be466e09d03556a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d742f1c0715bcf7ae4fb05a28d9f1b2ed7557bf93adf1ae32be466e09d03556a", kill_on_drop: false }` [INFO] [stdout] d742f1c0715bcf7ae4fb05a28d9f1b2ed7557bf93adf1ae32be466e09d03556a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1007d40d1aafcdaa900bdfb563d5a724d8906a91e0c35ff63a405e3aab12be11 [INFO] running `Command { std: "docker" "start" "-a" "1007d40d1aafcdaa900bdfb563d5a724d8906a91e0c35ff63a405e3aab12be11", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking buffer_sv2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stdout] error: couldn't read benches/../fuzz/random: No such file or directory (os error 2) [INFO] [stdout] --> benches/control_struct.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DATA: &[u8; FILE_LEN] = include_bytes!("../fuzz/random"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/../fuzz/random: No such file or directory (os error 2) [INFO] [stdout] --> benches/control_struct.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DATA: &[u8; FILE_LEN] = include_bytes!("../fuzz/random"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/../fuzz/random: No such file or directory (os error 2) [INFO] [stdout] --> benches/control_struct.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DATA: &[u8; FILE_LEN] = include_bytes!("../fuzz/random"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/pool_iai.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use buffer::BufferFromSystemMemory as BufferFromMemory; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/control_struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use buffer::{Buffer, Slice}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/pool_iai.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use buffer::BufferPool as Pool; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/pool_iai.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use buffer::{Buffer, Slice}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/control_struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use buffer::{Buffer, Slice}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/pool_benchmark.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/pool_benchmark.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use buffer::BufferFromSystemMemory as BufferFromMemory; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::sync::atomic::Ordering` [INFO] [stdout] --> benches/pool_iai.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `black_box`, `main` [INFO] [stdout] --> benches/pool_iai.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use iai::{black_box, main}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/pool_benchmark.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use buffer::BufferPool as Pool; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Load` [INFO] [stdout] --> benches/pool_iai.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | use control_struct::{add_random_bytes, bench_no_thread, keep_slice, Load, DATA}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/pool_benchmark.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use buffer::{Buffer, Slice}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `buffer` [INFO] [stdout] --> benches/control_struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use buffer::{Buffer, Slice}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaxESlice`, `SSlice` [INFO] [stdout] --> benches/pool_iai.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use control_struct::{MaxESlice, MaxEfficeincy, PPool, SSlice}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> benches/pool_benchmark.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | criterion_group!(benches, criterion_benchmark); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/pool_benchmark.rs:310:1 [INFO] [stdout] | [INFO] [stdout] 310 | criterion_main!(benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::sync::atomic::Ordering` [INFO] [stdout] --> benches/pool_benchmark.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Load` [INFO] [stdout] --> benches/pool_benchmark.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | use control_struct::{add_random_bytes, bench_no_thread, keep_slice, Load, DATA}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaxESlice`, `SSlice` [INFO] [stdout] --> benches/pool_benchmark.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use control_struct::{MaxESlice, MaxEfficeincy, PPool, SSlice}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `pool_benchmark` [INFO] [stdout] --> benches/pool_benchmark.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use core::sync::atomic::Ordering; [INFO] [stdout] 2 | | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use buffer::BufferFromSystemMemory as BufferFromMemory; [INFO] [stdout] ... | [INFO] [stdout] 309 | | criterion_group!(benches, criterion_benchmark); [INFO] [stdout] 310 | | criterion_main!(benches); [INFO] [stdout] | |_________________________^ consider adding a `main` function to `benches/pool_benchmark.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error: aborting due to 5 previous errors; 4 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 `buffer_sv2` due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1007d40d1aafcdaa900bdfb563d5a724d8906a91e0c35ff63a405e3aab12be11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1007d40d1aafcdaa900bdfb563d5a724d8906a91e0c35ff63a405e3aab12be11", kill_on_drop: false }` [INFO] [stdout] 1007d40d1aafcdaa900bdfb563d5a724d8906a91e0c35ff63a405e3aab12be11