[INFO] fetching crate buffer_sv2 0.1.0... [INFO] checking buffer_sv2-0.1.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate buffer_sv2 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate buffer_sv2 0.1.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f935942743fc49ae8ac160587a1162d38cd7d1c14916a2f08a909450e132f1d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1f935942743fc49ae8ac160587a1162d38cd7d1c14916a2f08a909450e132f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f935942743fc49ae8ac160587a1162d38cd7d1c14916a2f08a909450e132f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f935942743fc49ae8ac160587a1162d38cd7d1c14916a2f08a909450e132f1d", kill_on_drop: false }` [INFO] [stdout] 1f935942743fc49ae8ac160587a1162d38cd7d1c14916a2f08a909450e132f1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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] 157c1a94716edf843c91dc1e8577957241cdb5c984c79326412f9d032bdb3f57 [INFO] running `Command { std: "docker" "start" "-a" "157c1a94716edf843c91dc1e8577957241cdb5c984c79326412f9d032bdb3f57", kill_on_drop: false }` [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 `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: 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: 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] [stderr] error: could not compile `buffer_sv2` [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] 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] 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] 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] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "157c1a94716edf843c91dc1e8577957241cdb5c984c79326412f9d032bdb3f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157c1a94716edf843c91dc1e8577957241cdb5c984c79326412f9d032bdb3f57", kill_on_drop: false }` [INFO] [stdout] 157c1a94716edf843c91dc1e8577957241cdb5c984c79326412f9d032bdb3f57