[INFO] fetching crate buffer_sv2 0.1.0... [INFO] checking buffer_sv2-0.1.0 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate buffer_sv2 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate buffer_sv2 0.1.0 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c27b05e5fc0cfa3f74c8e6d59c141d3f8cbe99910d830239b66b5cab3186797 [INFO] running `Command { std: "docker" "start" "-a" "0c27b05e5fc0cfa3f74c8e6d59c141d3f8cbe99910d830239b66b5cab3186797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c27b05e5fc0cfa3f74c8e6d59c141d3f8cbe99910d830239b66b5cab3186797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c27b05e5fc0cfa3f74c8e6d59c141d3f8cbe99910d830239b66b5cab3186797", kill_on_drop: false }` [INFO] [stdout] 0c27b05e5fc0cfa3f74c8e6d59c141d3f8cbe99910d830239b66b5cab3186797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34b3be3cce03fbd7599d54201e79c66366a35ef9e6f8e064403ca4513c52664e [INFO] running `Command { std: "docker" "start" "-a" "34b3be3cce03fbd7599d54201e79c66366a35ef9e6f8e064403ca4513c52664e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [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[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] 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] 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] 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] [stderr] error: could not compile `buffer_sv2` [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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] 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] 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] 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: 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: 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] [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: 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: build failed [INFO] running `Command { std: "docker" "inspect" "34b3be3cce03fbd7599d54201e79c66366a35ef9e6f8e064403ca4513c52664e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b3be3cce03fbd7599d54201e79c66366a35ef9e6f8e064403ca4513c52664e", kill_on_drop: false }` [INFO] [stdout] 34b3be3cce03fbd7599d54201e79c66366a35ef9e6f8e064403ca4513c52664e